Documentation
¶
Index ¶
- Constants
- Variables
- func Handler(api string, req interface{}, resp interface{}, p base.Client) (int, error)
- func HandlerJson(api string, req interface{}, resp interface{}, p base.Client) (int, error)
- type AddQualificationData
- type AddQualificationRequest
- type AddQualificationResponse
- type AddQualificationSceneRequest
- type AddQualificationSceneResponse
- type BindAXBForAXNERequest
- type BindAXBRequest
- type BindAXNERequest
- type BindAXNRequest
- type BindAxybRequest
- type BindYbForAxybRequest
- type CancelClick2CallRequest
- type CancelClick2CallResponse
- type Click2CallLiteRequest
- type Click2CallLiteResponse
- type Click2CallLiteResult
- type Click2CallRequest
- type Click2CallResponse
- type Click2CallResult
- type ConfigService
- func (p *ConfigService) AddQualification(req *AddQualificationRequest) (*AddQualificationResponse, int, error)
- func (p *ConfigService) AddQualificationScene(req *AddQualificationSceneRequest) (*AddQualificationSceneResponse, int, error)
- func (p *ConfigService) QueryQualification(req *QueryQualificationRequest) (*QueryQualificationResponse, int, error)
- func (p *ConfigService) UpdateQualification(req *UpdateQualificationRequest) (*UpdateQualificationResponse, int, error)
- func (p *ConfigService) UpdateQualificationScene(req *UpdateQualificationSceneRequest) (*UpdateQualificationSceneResponse, int, error)
- type CreateNumberApplicationData
- type CreateNumberApplicationRequest
- type CreateNumberApplicationResponse
- type CreateNumberPoolData
- type CreateNumberPoolRequest
- type CreateNumberPoolResponse
- type DataCenter
- func (p *DataCenter) Handler(api string, req interface{}, resp interface{}) (int, error)
- func (p *DataCenter) QueryAudioRecordFileUrl(req *QueryAudioRecordFileUrlRequest) (*QueryAudioRecordFileUrlResponse, int, error)
- func (p *DataCenter) QueryAudioRecordToTextFileUrl(req *QueryAudioRecordToTextFileRequest) (*QueryAudioRecordToTextFileResponse, int, error)
- func (p *DataCenter) QueryCallRecordMsg(req *QueryCallRecordMsgRequest) (*QueryCallRecordMsgResponse, int, error)
- func (p *DataCenter) QueryCallRecordMsgNew(req *QueryCallRecordMsgRequest) (*QueryCallRecordMsgNewResponse, int, error)
- type EnableOrDisableNumberRequest
- type EnableOrDisableNumberResponse
- type MercService
- type NumberApplicationCityItem
- type NumberApplyRecordData
- type NumberApplyRecordDetail
- type NumberData
- type NumberListPagedResponse
- type NumberListRequest
- type NumberListResponse
- type NumberPool
- func (p *NumberPool) CreateNumberPool(req *CreateNumberPoolRequest) (*CreateNumberPoolResponse, int, error)
- func (p *NumberPool) EnableOrDisableNumber(req *EnableOrDisableNumberRequest) (*EnableOrDisableNumberResponse, int, error)
- func (p *NumberPool) NumberList(req *NumberListRequest) (*NumberListResponse, int, error)
- func (p *NumberPool) NumberPoolList(req *NumberPoolListRequest) (*NumberPoolListResponse, int, error)
- func (p *NumberPool) QueryNumberApplyRecordList(req *QueryNumberApplyRecordListRequest) (*QueryNumberApplyRecordListResponse, int, error)
- func (p *NumberPool) UpdateNumberPool(req *UpdateNumberPoolRequest) (*UpdateNumberPoolResponse, int, error)
- type NumberPoolData
- type NumberPoolListPagedResponse
- type NumberPoolListRequest
- type NumberPoolListResponse
- type OperationResponse
- type QualificationAdminInfoFormDO
- type QualificationAdminInfoVO
- type QualificationMainInfoFormDO
- type QualificationMainInfoVO
- type QualificationScenarioInfoFormDO
- type QualificationScenarioInfoVO
- type QueryAudioRecordFileUrlData
- type QueryAudioRecordFileUrlRequest
- type QueryAudioRecordFileUrlResponse
- type QueryAudioRecordToTextFile
- type QueryAudioRecordToTextFileRequest
- type QueryAudioRecordToTextFileResponse
- type QueryCallRecordMsg
- type QueryCallRecordMsgNew
- type QueryCallRecordMsgNewResponse
- type QueryCallRecordMsgRequest
- type QueryCallRecordMsgResponse
- type QueryNumberApplyRecordListPagedResponse
- type QueryNumberApplyRecordListRequest
- type QueryNumberApplyRecordListResponse
- type QueryQualificationData
- type QueryQualificationRequest
- type QueryQualificationResponse
- type QueryQualificationVO
- type QuerySubscriptionForListRequest
- type QuerySubscriptionForListResponse
- type QuerySubscriptionResponse
- type SecretBindResponse
- type SecretBindResult
- type SecretNumber
- func (p *SecretNumber) BindAXB(req *BindAXBRequest) (*SecretBindResponse, int, error)
- func (p *SecretNumber) BindAXBForAXNE(req *BindAXBForAXNERequest) (*SecretBindResponse, int, error)
- func (p *SecretNumber) BindAXN(req *BindAXNRequest) (*SecretBindResponse, int, error)
- func (p *SecretNumber) BindAXNE(req *BindAXNERequest) (*SecretBindResponse, int, error)
- func (p *SecretNumber) BindAxyb(req *BindAxybRequest) (*SecretBindResponse, int, error)
- func (p *SecretNumber) BindYbForAxyb(req *BindYbForAxybRequest) (*SecretBindResponse, int, error)
- func (p *SecretNumber) CancelClick2Call(req *CancelClick2CallRequest) (*CancelClick2CallResponse, int, error)
- func (p *SecretNumber) Click2Call(req *Click2CallRequest) (*Click2CallResponse, int, error)
- func (p *SecretNumber) Click2CallLite(req *Click2CallLiteRequest) (*Click2CallLiteResponse, int, error)
- func (p *SecretNumber) Handler(api string, req interface{}, resp interface{}) (int, error)
- func (p *SecretNumber) QuerySubscription(req *SpecificSubIdRequest) (*QuerySubscriptionResponse, int, error)
- func (p *SecretNumber) QuerySubscriptionForList(req *QuerySubscriptionForListRequest) (*QuerySubscriptionForListResponse, int, error)
- func (p *SecretNumber) SelectNumberAndBindAXB(req *SelectNumberAndBindAXBRequest) (*SecretBindResponse, int, error)
- func (p *SecretNumber) SelectNumberAndBindAXN(req *SelectNumberAndBindAXNRequest) (*SecretBindResponse, int, error)
- func (p *SecretNumber) UnbindAXB(req *SpecificSubIdRequest) (*OperationResponse, int, error)
- func (p *SecretNumber) UnbindAXN(req *SpecificSubIdRequest) (*OperationResponse, int, error)
- func (p *SecretNumber) UnbindAXNE(req *SpecificSubIdRequest) (*OperationResponse, int, error)
- func (p *SecretNumber) UnbindAxyb(req *SpecificSubIdRequest) (*OperationResponse, int, error)
- func (p *SecretNumber) UpdateAXB(req *UpdateAXBRequest) (*OperationResponse, int, error)
- func (p *SecretNumber) UpdateAXN(req *UpdateAXNRequest) (*OperationResponse, int, error)
- func (p *SecretNumber) UpdateAXNE(req *UpdateAXNERequest) (*OperationResponse, int, error)
- func (p *SecretNumber) UpdateAxyb(req *UpdateAxybRequest) (*OperationResponse, int, error)
- func (p *SecretNumber) UpgradeAXToAXB(req *UpgradeAXToAXBRequest) (*SecretBindResponse, int, error)
- type SelectNumberAndBindAXBRequest
- type SelectNumberAndBindAXNRequest
- type SpecificSubIdRequest
- type Subscription
- type SubscriptionList
- type UpdateAXBRequest
- type UpdateAXNERequest
- type UpdateAXNRequest
- type UpdateAxybRequest
- type UpdateNumberPoolRequest
- type UpdateNumberPoolResponse
- type UpdateQualificationRequest
- type UpdateQualificationResponse
- type UpdateQualificationSceneRequest
- type UpdateQualificationSceneResponse
- type UpgradeAXToAXBRequest
Constants ¶
View Source
const (
DefaultTimeout = 10 * time.Second
)
Variables ¶
View Source
var ( ServiceInfoMap = map[string]*base.ServiceInfo{ base.RegionCnNorth1: { Timeout: DefaultTimeout, Host: "cloud-vms.volcengineapi.com", Header: http.Header{ "Accept": []string{"application/json"}, }, Credentials: base.Credentials{ Region: base.RegionCnNorth1, Service: "volc_secret_number", }, }, } DataCenterServiceInfoMap = map[string]*base.ServiceInfo{ base.RegionCnNorth1: { Timeout: DefaultTimeout, Host: "cloud-vms.volcengineapi.com", Header: http.Header{ "Accept": []string{"application/json"}, }, Credentials: base.Credentials{ Region: base.RegionCnNorth1, Service: "volc_datacenter_http", }, }, } NumberPoolServiceInfoMap = map[string]*base.ServiceInfo{ base.RegionCnNorth1: { Timeout: DefaultTimeout, Host: "cloud-vms.volcengineapi.com", Header: http.Header{ "Accept": []string{"application/json"}, }, Credentials: base.Credentials{ Region: base.RegionCnNorth1, Service: "comm_number_pool", }, }, } MercServiceInfoMap = map[string]*base.ServiceInfo{ base.RegionCnNorth1: { Timeout: DefaultTimeout, Host: "cloud-vms.volcengineapi.com", Header: http.Header{ "Accept": []string{"application/json"}, }, Credentials: base.Credentials{ Region: base.RegionCnNorth1, Service: "volc_merchandise_http", }, }, } ConfigServiceInfoMap = map[string]*base.ServiceInfo{ base.RegionCnNorth1: { Timeout: DefaultTimeout, Host: "cloud-vms.volcengineapi.com", Header: http.Header{ "Accept": []string{"application/json"}, }, Credentials: base.Credentials{ Region: base.RegionCnNorth1, Service: "volc_common_configure", }, }, } ConfigApiInfoList = map[string]*base.ApiInfo{ "AddQualification": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"AddQualification"}, "Version": []string{"2021-01-01"}, }, }, "UpdateQualification": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"UpdateQualification"}, "Version": []string{"2021-01-01"}, }, }, "AddQualificationScene": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"AddQualificationScene"}, "Version": []string{"2021-01-01"}, }, }, "UpdateQualificationScene": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"UpdateQualificationScene"}, "Version": []string{"2021-01-01"}, }, }, "QueryQualification": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"QueryQualification"}, "Version": []string{"2021-01-01"}, }, }, "UploadQualificationFile": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"UploadQualificationFile"}, "Version": []string{"2021-01-01"}, }, }, } MercApiInfoList = map[string]*base.ApiInfo{ "CreateNumberApplication": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"CreateNumberApplication"}, "Version": []string{"2021-01-01"}, }, }, } NumberPoolApiInfoList = map[string]*base.ApiInfo{ "CreateNumberPool": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"CreateNumberPool"}, "Version": []string{"2020-09-01"}, }, }, "UpdateNumberPool": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"UpdateNumberPool"}, "Version": []string{"2020-09-01"}, }, }, "NumberPoolList": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"NumberPoolList"}, "Version": []string{"2020-09-01"}, }, }, "NumberList": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"NumberList"}, "Version": []string{"2020-09-01"}, }, }, "EnableOrDisableNumber": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"EnableOrDisableNumber"}, "Version": []string{"2021-01-01"}, }, }, "QueryNumberApplyRecordList": { Method: http.MethodGet, Path: "/", Query: url.Values{ "Action": []string{"QueryNumberApplyRecordList"}, "Version": []string{"2020-09-01"}, }, }, } DataCenterApiInfoList = map[string]*base.ApiInfo{ "QueryAudioRecordFileUrl": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"QueryAudioRecordFileUrl"}, "Version": []string{"2020-09-01"}, }, }, "QueryAudioRecordToTextFileUrl": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"QueryAudioRecordToTextFileUrl"}, "Version": []string{"2021-01-01"}, }, }, "QueryCallRecordMsg": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"QueryCallRecordMsg"}, "Version": []string{"2021-01-01"}, }, }, "QueryCallRecordMsgNew": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"QueryCallRecordMsg"}, "Version": []string{"2022-01-01"}, }, }, } ApiInfoList = map[string]*base.ApiInfo{ "BindAXB": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"BindAXB"}, "Version": []string{"2020-09-01"}, }, }, "SelectNumberAndBindAXB": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"SelectNumberAndBindAXB"}, "Version": []string{"2020-09-01"}, }, }, "UnbindAXB": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"UnbindAXB"}, "Version": []string{"2020-09-01"}, }, }, "QuerySubscription": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"QuerySubscription"}, "Version": []string{"2020-09-01"}, }, }, "QuerySubscriptionForList": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"QuerySubscriptionForList"}, "Version": []string{"2020-09-01"}, }, }, "UpgradeAXToAXB": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"UpgradeAXToAXB"}, "Version": []string{"2020-09-01"}, }, }, "UpdateAXB": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"UpdateAXB"}, "Version": []string{"2020-09-01"}, }, }, "BindAXN": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"BindAXN"}, "Version": []string{"2020-09-01"}, }, }, "SelectNumberAndBindAXN": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"SelectNumberAndBindAXN"}, "Version": []string{"2020-09-01"}, }, }, "UpdateAXN": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"UpdateAXN"}, "Version": []string{"2020-09-01"}, }, }, "UnbindAXN": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"UnbindAXN"}, "Version": []string{"2020-09-01"}, }, }, "BindAXNE": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"BindAXNE"}, "Version": []string{"2020-09-01"}, }, }, "BindAXBForAXNE": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"BindAXBForAXNE"}, "Version": []string{"2020-09-01"}, }, }, "UnbindAXNE": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"UnbindAXNE"}, "Version": []string{"2020-09-01"}, }, }, "UpdateAXNE": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"UpdateAXNE"}, "Version": []string{"2020-09-01"}, }, }, "Click2Call": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"Click2Call"}, "Version": []string{"2021-09-01"}, }, }, "CancelClick2Call": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"CancelClick2Call"}, "Version": []string{"2021-09-01"}, }, }, "Click2CallLite": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"Click2CallLite"}, "Version": []string{"2021-09-01"}, }, }, "BindAxyb": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"BindAxyb"}, "Version": []string{"2020-09-01"}, }, }, "BindYbForAxyb": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"BindYbForAxyb"}, "Version": []string{"2020-09-01"}, }, }, "UnbindAxyb": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"UnbindAxyb"}, "Version": []string{"2020-09-01"}, }, }, "UpdateAxyb": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"UpdateAxyb"}, "Version": []string{"2020-09-01"}, }, }, } )
View Source
var DefaultConfigServiceInstance = NewConfigServiceInstance()
View Source
var DefaultDataCenterInstance = NewDataCenterInstance()
DefaultDataCenterInstance 默认的实例
View Source
var DefaultInstance = NewInstance()
DefaultInstance 默认的实例
View Source
var DefaultMercServiceInstance = NewMercServiceInstance()
DefaultMercServiceInstance 默认的实例
View Source
var DefaultNumberPoolInstance = NewNumberPoolInstance()
DefaultNumberPoolInstance 默认的实例
Functions ¶
Types ¶
type AddQualificationData ¶
type AddQualificationData struct {
QualificationNo string
}
type AddQualificationRequest ¶
type AddQualificationRequest struct {
QualificationMainInfoFormDO QualificationMainInfoFormDO
QualificationAdminInfoFormDO QualificationAdminInfoFormDO
QualificationScenarioInfoFormDOList []QualificationScenarioInfoFormDO
}
type AddQualificationResponse ¶
type AddQualificationResponse struct {
ResponseMetadata base.ResponseMetadata
Result AddQualificationData
}
type AddQualificationSceneRequest ¶
type AddQualificationSceneRequest struct {
QualificationScenarioInfoFormDOList []QualificationScenarioInfoFormDO
}
type AddQualificationSceneResponse ¶
type AddQualificationSceneResponse struct {
ResponseMetadata base.ResponseMetadata
Result string
}
type BindAXBForAXNERequest ¶
type BindAXBRequest ¶
type BindAXNERequest ¶
type BindAXNERequest struct {
PhoneNoA string
PhoneNoB string
PhoneNoX string
PhoneNoE string
NumberPoolNo string
ExpireTime int64
AudioRecordFlag int32
CityCode string
CityCodeByPhoneNo string
DegradeCityList string
UserData string
OutId string
AutoCreateFlag int32
AxbNumberPoolNo string
AxbEnableDuration int32
AxbAudioRecordFlag int32
AxbCityCode string
AxbCityCodeByPhoneNo string
AxbDegradeCityList string
}
type BindAXNRequest ¶
type BindAxybRequest ¶
type BindAxybRequest struct {
PhoneNoA string
PhoneNoX string
NumberPoolNo string
ExpireTime int64
AudioRecordFlag int32
CityCode string
CityCodeByPhoneNo string
DegradeCityList string
UserData string
AutoCreateFlag int32
PhoneNoY string
PhoneNoB string
NumberPoolNoY string
YbEnableDuration int32
YbAudioRecordFlag int32
YCityCode string
YCityCodeByPhoneNo string
YDegradeCityList string
}
type BindYbForAxybRequest ¶
type CancelClick2CallRequest ¶
type CancelClick2CallRequest struct {
CallId string
}
type CancelClick2CallResponse ¶
type CancelClick2CallResponse struct {
ResponseMetadata base.ResponseMetadata
Result bool
}
type Click2CallLiteRequest ¶
type Click2CallLiteResponse ¶
type Click2CallLiteResponse struct {
ResponseMetadata base.ResponseMetadata
Result Click2CallLiteResult
}
type Click2CallLiteResult ¶
type Click2CallLiteResult struct {
CallId string
}
type Click2CallRequest ¶
type Click2CallRequest struct {
Caller string
CallerNumber string
CallerNumberPoolNo string
CallerNumberCityCode string
CallerNumberDegradeCityList string
Callee string
CalleeNumber string
CalleeNumberPoolNo string
CalleeNumberCityCode string
CalleeNumberDegradeCityList string
MaxTime int32
PreVoice string
PreVoicePlay bool
LastMinutes int32
LastVoice string
LastVoiceTo string
UserData string
CityCodeByPhoneNo string
}
type Click2CallResponse ¶
type Click2CallResponse struct {
ResponseMetadata base.ResponseMetadata
Result Click2CallResult
}
type Click2CallResult ¶
type Click2CallResult struct {
CallId string
}
type ConfigService ¶
func NewConfigServiceInstance ¶
func NewConfigServiceInstance() *ConfigService
func (*ConfigService) AddQualification ¶
func (p *ConfigService) AddQualification(req *AddQualificationRequest) (*AddQualificationResponse, int, error)
func (*ConfigService) AddQualificationScene ¶
func (p *ConfigService) AddQualificationScene(req *AddQualificationSceneRequest) (*AddQualificationSceneResponse, int, error)
func (*ConfigService) QueryQualification ¶
func (p *ConfigService) QueryQualification(req *QueryQualificationRequest) (*QueryQualificationResponse, int, error)
func (*ConfigService) UpdateQualification ¶
func (p *ConfigService) UpdateQualification(req *UpdateQualificationRequest) (*UpdateQualificationResponse, int, error)
func (*ConfigService) UpdateQualificationScene ¶
func (p *ConfigService) UpdateQualificationScene(req *UpdateQualificationSceneRequest) (*UpdateQualificationSceneResponse, int, error)
type CreateNumberApplicationData ¶
type CreateNumberApplicationData struct {
ApplyBillId string
}
type CreateNumberApplicationResponse ¶
type CreateNumberApplicationResponse struct {
ResponseMetadata base.ResponseMetadata
Result CreateNumberApplicationData
}
type CreateNumberPoolData ¶
type CreateNumberPoolRequest ¶
type CreateNumberPoolResponse ¶
type CreateNumberPoolResponse struct {
ResponseMetadata base.ResponseMetadata
Result CreateNumberPoolData
}
type DataCenter ¶
func NewDataCenterInstance ¶
func NewDataCenterInstance() *DataCenter
func (*DataCenter) Handler ¶
func (p *DataCenter) Handler(api string, req interface{}, resp interface{}) (int, error)
func (*DataCenter) QueryAudioRecordFileUrl ¶
func (p *DataCenter) QueryAudioRecordFileUrl(req *QueryAudioRecordFileUrlRequest) (*QueryAudioRecordFileUrlResponse, int, error)
func (*DataCenter) QueryAudioRecordToTextFileUrl ¶
func (p *DataCenter) QueryAudioRecordToTextFileUrl(req *QueryAudioRecordToTextFileRequest) (*QueryAudioRecordToTextFileResponse, int, error)
func (*DataCenter) QueryCallRecordMsg ¶
func (p *DataCenter) QueryCallRecordMsg(req *QueryCallRecordMsgRequest) (*QueryCallRecordMsgResponse, int, error)
func (*DataCenter) QueryCallRecordMsgNew ¶
func (p *DataCenter) QueryCallRecordMsgNew(req *QueryCallRecordMsgRequest) (*QueryCallRecordMsgNewResponse, int, error)
type EnableOrDisableNumberResponse ¶
type EnableOrDisableNumberResponse struct {
ResponseMetadata base.ResponseMetadata
}
type MercService ¶
func NewMercServiceInstance ¶
func NewMercServiceInstance() *MercService
func (*MercService) CreateNumberApplication ¶
func (p *MercService) CreateNumberApplication(req *CreateNumberApplicationRequest) (*CreateNumberApplicationResponse, int, error)
type NumberApplyRecordData ¶
type NumberApplyRecordData struct {
Id int32
ApplyTime string
ApplyStatusCode int32
ApplyStatusDesc string
SubServiceTypeCode int32
SubServiceTypeDesc string
NumberPoolNo string
NumberPoolName string
NumberTypeCode int32
NumberTypeDesc string
ApplyUserId string
ApplyUserName string
UpdateTime string
Notes string
DetailList []NumberApplyRecordDetail
ApplyBillId string
QualificationId int32
QualificationEntity string
MobileTypeCode int32
MobileTypeDesc string
}
type NumberApplyRecordDetail ¶
type NumberData ¶
type NumberData struct {
Number string
NumberStatusCode int32
NumberStatusDesc string
NumberTypeCode int32
NumberTypeDesc string
NumberLocation string
NumberPurchaseTime string
NumberPoolNo string
NumberPoolName string
NumberPoolTypeCode int32
NumberPoolTypeDesc string
ServiceTypeCode int32
ServiceTypeDesc string
QualificationNo string
QualificationEntity string
CurrentBindCount int32
}
type NumberListPagedResponse ¶
type NumberListPagedResponse struct {
Records []NumberData
Limit int32
Offset int32
Total int32
}
type NumberListRequest ¶
type NumberListResponse ¶
type NumberListResponse struct {
ResponseMetadata base.ResponseMetadata
Result NumberListPagedResponse
}
type NumberPool ¶
func NewNumberPoolInstance ¶
func NewNumberPoolInstance() *NumberPool
func (*NumberPool) CreateNumberPool ¶
func (p *NumberPool) CreateNumberPool(req *CreateNumberPoolRequest) (*CreateNumberPoolResponse, int, error)
func (*NumberPool) EnableOrDisableNumber ¶
func (p *NumberPool) EnableOrDisableNumber(req *EnableOrDisableNumberRequest) (*EnableOrDisableNumberResponse, int, error)
func (*NumberPool) NumberList ¶
func (p *NumberPool) NumberList(req *NumberListRequest) (*NumberListResponse, int, error)
func (*NumberPool) NumberPoolList ¶
func (p *NumberPool) NumberPoolList(req *NumberPoolListRequest) (*NumberPoolListResponse, int, error)
func (*NumberPool) QueryNumberApplyRecordList ¶
func (p *NumberPool) QueryNumberApplyRecordList(req *QueryNumberApplyRecordListRequest) (*QueryNumberApplyRecordListResponse, int, error)
func (*NumberPool) UpdateNumberPool ¶
func (p *NumberPool) UpdateNumberPool(req *UpdateNumberPoolRequest) (*UpdateNumberPoolResponse, int, error)
type NumberPoolData ¶
type NumberPoolListPagedResponse ¶
type NumberPoolListPagedResponse struct {
Records []NumberPoolData
Limit int32
Offset int32
Total int32
}
type NumberPoolListRequest ¶
type NumberPoolListResponse ¶
type NumberPoolListResponse struct {
ResponseMetadata base.ResponseMetadata
Result NumberPoolListPagedResponse
}
type OperationResponse ¶
type OperationResponse struct {
ResponseMetadata base.ResponseMetadata
Result bool
}
type QualificationMainInfoFormDO ¶
type QualificationMainInfoFormDO struct {
QualificationId int32
AccountId string
QualificationEntity string
CertificateThreeInOne int32
EnterpriseAddress string
LegalRepresentativeName string
LegalRepresentativeId string
LegalRepresentativeFrontIdPhotoFileCode string
LegalRepresentativeBackIdPhotoFileCode string
DocOfNumberApplyPhotoFileCode string
CommitmentLetterOfNetAccessPhotoFileCode string
UnitSocialCreditCode string
ThreeInOneBusinessLicensePhotoFileCode string
CodeOfOrganizationCertificate string
BusinessLicensePhotoFileCode string
CertificateOfOrganizationCodesPhotoFileCode string
CertificateOfTaxationRegistrationPhotoFileCode string
QualificationNo string
}
type QualificationMainInfoVO ¶
type QualificationMainInfoVO struct {
QualificationId int32
QualificationNo string
QualificationEntity string
AccountId string
CertificateThreeInOne int32
EnterpriseAddress string
LegalRepresentativeName string
LegalRepresentativeId string
LegalRepresentativeFrontIDPhotoURL string
DocOfNumberApplyPhotoURL string
CommitmentLetterOfNetAccessPhotoURL string
UnitSocialCreditCode string
ThreeInOneBusinessLicensePhotoURL string
CodeOfOrganizationCertificateURL string
BusinessLicensePhotoURL string
CertificateOfOrganizationCodesPhotoURL string
CertificateOfTaxationRegistrationPhotoURL string
ApprovalStatus int32
CreateTime string
UpdateTime string
}
type QueryAudioRecordFileUrlRequest ¶
type QueryAudioRecordFileUrlRequest struct {
CallId string
}
type QueryAudioRecordFileUrlResponse ¶
type QueryAudioRecordFileUrlResponse struct {
ResponseMetadata base.ResponseMetadata
Result QueryAudioRecordFileUrlData
}
type QueryAudioRecordToTextFileRequest ¶
type QueryAudioRecordToTextFileRequest struct {
CallIdList string
}
type QueryAudioRecordToTextFileResponse ¶
type QueryAudioRecordToTextFileResponse struct {
ResponseMetadata base.ResponseMetadata
Result []QueryAudioRecordToTextFile
}
type QueryCallRecordMsg ¶
type QueryCallRecordMsg struct {
AccountId string
CallId string
ServiceType int32
SubServiceType int32
Caller string
CallerCountryIsoCode string
CallerProvinceCode string
CallerCityCode string
Callee string
CalleeCountryIsoCode string
CalleeProvinceCode string
CalleeCityCode string
BeginCallTime string
EndTime string
ReleaseType int32
CallDuration int32
CallResult int32
AudioRecordFlag int32
CdrCreateTime string
UserData string
CallType int32
CallerShowNumber string
CallerShowNumberPoolNo string
CalleeShowNumber string
CalleeShowNumberPoolNo string
CallerCallingTime string
CallerRingingTime string
CallerDuration int32
}
type QueryCallRecordMsgNew ¶
type QueryCallRecordMsgNew struct {
AccountId string
CallId string
ServiceType int32
SubServiceType int32
Caller string
CallerCountryIsoCode string
CallerProvinceCode string
CallerCityCode string
Callee string
CalleeCountryIsoCode string
CalleeProvinceCode string
CalleeCityCode string
BeginCallTime int64
EndTime int64
ReleaseType int32
CallDuration int32
CallResult int32
AudioRecordFlag int32
CdrCreateTime int64
UserData string
CallType int32
CallerShowNumber string
CallerShowNumberPoolNo string
CalleeShowNumber string
CalleeShowNumberPoolNo string
CallerCallingTime int64
CallerRingingTime int64
CallerDuration int32
}
type QueryCallRecordMsgNewResponse ¶
type QueryCallRecordMsgNewResponse struct {
ResponseMetadata base.ResponseMetadata
Result []QueryCallRecordMsgNew
}
type QueryCallRecordMsgRequest ¶
type QueryCallRecordMsgRequest struct {
CallIdList string
}
type QueryCallRecordMsgResponse ¶
type QueryCallRecordMsgResponse struct {
ResponseMetadata base.ResponseMetadata
Result []QueryCallRecordMsg
}
type QueryNumberApplyRecordListPagedResponse ¶
type QueryNumberApplyRecordListPagedResponse struct {
Records []NumberApplyRecordData
Limit int32
Offset int32
Total int32
}
type QueryNumberApplyRecordListResponse ¶
type QueryNumberApplyRecordListResponse struct {
ResponseMetadata base.ResponseMetadata
Result QueryNumberApplyRecordListPagedResponse
}
type QueryQualificationData ¶
type QueryQualificationData struct {
Records []QueryQualificationVO
Limit int32
Offset int32
Total int32
}
type QueryQualificationResponse ¶
type QueryQualificationResponse struct {
ResponseMetadata base.ResponseMetadata
Result QueryQualificationData
}
type QueryQualificationVO ¶
type QueryQualificationVO struct {
QualificationMainInfoVO QualificationMainInfoVO
QualificationAdminInfoVO QualificationAdminInfoVO
QualificationScenarioInfoVOList []QualificationScenarioInfoVO
}
type QuerySubscriptionForListResponse ¶
type QuerySubscriptionForListResponse struct {
ResponseMetadata base.ResponseMetadata
Result SubscriptionList
}
type QuerySubscriptionResponse ¶
type QuerySubscriptionResponse struct {
ResponseMetadata base.ResponseMetadata
Result Subscription
}
type SecretBindResponse ¶
type SecretBindResponse struct {
ResponseMetadata base.ResponseMetadata
Result SecretBindResult
}
type SecretBindResult ¶
type SecretNumber ¶
func NewInstance ¶
func NewInstance() *SecretNumber
func (*SecretNumber) BindAXB ¶
func (p *SecretNumber) BindAXB(req *BindAXBRequest) (*SecretBindResponse, int, error)
func (*SecretNumber) BindAXBForAXNE ¶
func (p *SecretNumber) BindAXBForAXNE(req *BindAXBForAXNERequest) (*SecretBindResponse, int, error)
func (*SecretNumber) BindAXN ¶
func (p *SecretNumber) BindAXN(req *BindAXNRequest) (*SecretBindResponse, int, error)
func (*SecretNumber) BindAXNE ¶
func (p *SecretNumber) BindAXNE(req *BindAXNERequest) (*SecretBindResponse, int, error)
func (*SecretNumber) BindAxyb ¶
func (p *SecretNumber) BindAxyb(req *BindAxybRequest) (*SecretBindResponse, int, error)
func (*SecretNumber) BindYbForAxyb ¶
func (p *SecretNumber) BindYbForAxyb(req *BindYbForAxybRequest) (*SecretBindResponse, int, error)
func (*SecretNumber) CancelClick2Call ¶
func (p *SecretNumber) CancelClick2Call(req *CancelClick2CallRequest) (*CancelClick2CallResponse, int, error)
func (*SecretNumber) Click2Call ¶
func (p *SecretNumber) Click2Call(req *Click2CallRequest) (*Click2CallResponse, int, error)
func (*SecretNumber) Click2CallLite ¶
func (p *SecretNumber) Click2CallLite(req *Click2CallLiteRequest) (*Click2CallLiteResponse, int, error)
func (*SecretNumber) Handler ¶
func (p *SecretNumber) Handler(api string, req interface{}, resp interface{}) (int, error)
func (*SecretNumber) QuerySubscription ¶
func (p *SecretNumber) QuerySubscription(req *SpecificSubIdRequest) (*QuerySubscriptionResponse, int, error)
func (*SecretNumber) QuerySubscriptionForList ¶
func (p *SecretNumber) QuerySubscriptionForList(req *QuerySubscriptionForListRequest) (*QuerySubscriptionForListResponse, int, error)
func (*SecretNumber) SelectNumberAndBindAXB ¶
func (p *SecretNumber) SelectNumberAndBindAXB(req *SelectNumberAndBindAXBRequest) (*SecretBindResponse, int, error)
func (*SecretNumber) SelectNumberAndBindAXN ¶
func (p *SecretNumber) SelectNumberAndBindAXN(req *SelectNumberAndBindAXNRequest) (*SecretBindResponse, int, error)
func (*SecretNumber) UnbindAXB ¶
func (p *SecretNumber) UnbindAXB(req *SpecificSubIdRequest) (*OperationResponse, int, error)
func (*SecretNumber) UnbindAXN ¶
func (p *SecretNumber) UnbindAXN(req *SpecificSubIdRequest) (*OperationResponse, int, error)
func (*SecretNumber) UnbindAXNE ¶
func (p *SecretNumber) UnbindAXNE(req *SpecificSubIdRequest) (*OperationResponse, int, error)
func (*SecretNumber) UnbindAxyb ¶
func (p *SecretNumber) UnbindAxyb(req *SpecificSubIdRequest) (*OperationResponse, int, error)
func (*SecretNumber) UpdateAXB ¶
func (p *SecretNumber) UpdateAXB(req *UpdateAXBRequest) (*OperationResponse, int, error)
func (*SecretNumber) UpdateAXN ¶
func (p *SecretNumber) UpdateAXN(req *UpdateAXNRequest) (*OperationResponse, int, error)
func (*SecretNumber) UpdateAXNE ¶
func (p *SecretNumber) UpdateAXNE(req *UpdateAXNERequest) (*OperationResponse, int, error)
func (*SecretNumber) UpdateAxyb ¶
func (p *SecretNumber) UpdateAxyb(req *UpdateAxybRequest) (*OperationResponse, int, error)
func (*SecretNumber) UpgradeAXToAXB ¶
func (p *SecretNumber) UpgradeAXToAXB(req *UpgradeAXToAXBRequest) (*SecretBindResponse, int, error)
type SelectNumberAndBindAXBRequest ¶
type SelectNumberAndBindAXBRequest struct {
PhoneNoA string
PhoneNoB string
NumberPoolNo string
ExpireTime int64
AudioRecordFlag int32
CallDisplayType int32
AxConflictAxbFlag int32
CityCode string
CityCodeByPhoneNo string
DegradeCityList string
UserData string
RandomFlag int32
IdempotentId string
OutId string
VerifyFlag int32
}
type SpecificSubIdRequest ¶
type Subscription ¶
type SubscriptionList ¶
type SubscriptionList struct {
Records []Subscription
Offset int32
Limit int32
Total int32
}
type UpdateAXBRequest ¶
type UpdateAXNERequest ¶
type UpdateAXNRequest ¶
type UpdateAxybRequest ¶
type UpdateNumberPoolRequest ¶
type UpdateNumberPoolResponse ¶
type UpdateNumberPoolResponse struct {
ResponseMetadata base.ResponseMetadata
Result bool
}
type UpdateQualificationRequest ¶
type UpdateQualificationRequest struct {
QualificationMainInfoFormDO QualificationMainInfoFormDO
QualificationAdminInfoFormDO QualificationAdminInfoFormDO
QualificationScenarioInfoFormDOList []QualificationScenarioInfoFormDO
}
type UpdateQualificationResponse ¶
type UpdateQualificationResponse struct {
ResponseMetadata base.ResponseMetadata
Result string
}
type UpdateQualificationSceneRequest ¶
type UpdateQualificationSceneRequest struct {
QualificationScenarioInfoFormDOList []QualificationScenarioInfoFormDO
}
type UpdateQualificationSceneResponse ¶
type UpdateQualificationSceneResponse struct {
ResponseMetadata base.ResponseMetadata
Result string
}
Click to show internal directories.
Click to hide internal directories.