license

package
v3.0.0-...-53ef8d3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 6, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	BaseClient *kernel.BaseClient
}

func NewClient

func NewClient(app kernel.ApplicationInterface) (*Client, error)

func RegisterProvider

func RegisterProvider(app kernel.ApplicationInterface) (*Client, error)

func (*Client) BatchTransferLicense

func (clt *Client) BatchTransferLicense(ctx context.Context, corpID string, transferList []model.TransferInfo) ([]model.TransferInfo, error)

账号继承 https://developer.work.weixin.qq.com/document/path/95673

func (*Client) CancelOrder

func (clt *Client) CancelOrder(ctx context.Context, corpID string, orderID string) error

取消订单 https://developer.work.weixin.qq.com/document/path/96106

func (*Client) GetActiveInfoByUser

func (clt *Client) GetActiveInfoByUser(ctx context.Context, corpID string, userID string) (*response.ResponseGetActiveInfoByUser, error)

获取成员的激活详情 https://developer.work.weixin.qq.com/document/path/95555

func (*Client) GetAppLicenseInfo

func (clt *Client) GetAppLicenseInfo(ctx context.Context, corpID string) (*model.LicenseInfo, error)

获取应用的接口许可状态 https://developer.work.weixin.qq.com/document/path/95844

func (*Client) GetAutoActiveStatus

func (clt *Client) GetAutoActiveStatus(ctx context.Context, corpID string) (int, error)

查询企业的许可自动激活状态 https://developer.work.weixin.qq.com/document/path/95874

func (*Client) GetOrder

func (clt *Client) GetOrder(ctx context.Context, orderID string) (*model.Order, error)

获取订单详情 https://developer.work.weixin.qq.com/document/path/95648

func (*Client) ListActivatedAccount

func (clt *Client) ListActivatedAccount(ctx context.Context, corpID string, limit int, cursor string) (*response.ResponseListActivatedAccount, error)

获取企业的账号列表 https://developer.work.weixin.qq.com/document/path/95544

func (*Client) ListOrderAccount

func (clt *Client) ListOrderAccount(ctx context.Context, orderID string, limit int, cursor string) (*response.ResponseListOrderAccount, error)

获取订单中的账号列表 https://developer.work.weixin.qq.com/document/path/95649

func (*Client) SetAutoActiveStatus

func (clt *Client) SetAutoActiveStatus(ctx context.Context, corpID string, autoActiveStatus int) error

设置企业的许可自动激活状态 https://developer.work.weixin.qq.com/document/path/95873

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL