github.com/machinefi/w3bstream@v1.6.5-rc9.0.20240426031326-b8c7c4876e72/cmd/srv-applet-mgr/tests/clients/applet_mgr/operations.go (about)

     1  // This is a generated source file. DO NOT EDIT
     2  // Source: applet_mgr/operations.go
     3  
     4  package applet_mgr
     5  
     6  import (
     7  	"context"
     8  
     9  	"github.com/machinefi/w3bstream/pkg/depends/kit/kit"
    10  	"github.com/machinefi/w3bstream/pkg/depends/kit/metax"
    11  )
    12  
    13  type BatchRemoveApplet struct {
    14  	ProjectName  string                                               `in:"path" name:"projectName" validate:"@projectName"`
    15  	AuthInHeader string                                               `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
    16  	AppletIDs    []GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID `in:"query" name:"appletID,omitempty"`
    17  	AuthInQuery  string                                               `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
    18  	LNameLike    string                                               `in:"query" name:"lName,omitempty"`
    19  	NameLike     string                                               `in:"query" name:"name,omitempty"`
    20  	Names        []string                                             `in:"query" name:"names,omitempty"`
    21  }
    22  
    23  func (o *BatchRemoveApplet) Path() string {
    24  	return "/srv-applet-mgr/v0/applet/x/:projectName"
    25  }
    26  
    27  func (o *BatchRemoveApplet) Method() string {
    28  	return "DELETE"
    29  }
    30  
    31  func (o *BatchRemoveApplet) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
    32  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.BatchRemoveApplet")
    33  	return cli.Do(ctx, o, metas...)
    34  }
    35  
    36  func (o *BatchRemoveApplet) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (kit.Metadata, error) {
    37  	meta, err := cli.Do(ctx, o, metas...).Into(nil)
    38  	return meta, err
    39  }
    40  
    41  func (o *BatchRemoveApplet) Invoke(cli kit.Client, metas ...kit.Metadata) (kit.Metadata, error) {
    42  	return o.InvokeContext(context.Background(), cli, metas...)
    43  }
    44  
    45  type BatchRemoveInstance struct {
    46  	ProjectName  string                                               `in:"path" name:"projectName" validate:"@projectName"`
    47  	AuthInHeader string                                               `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
    48  	AppletIDs    []GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID `in:"query" name:"appletID,omitempty"`
    49  	AuthInQuery  string                                               `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
    50  	InstanceIDs  []GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID `in:"query" name:"instanceID,omitempty"`
    51  	States       []GithubComMachinefiW3BstreamPkgEnumsInstanceState   `in:"query" name:"state,omitempty"`
    52  }
    53  
    54  func (o *BatchRemoveInstance) Path() string {
    55  	return "/srv-applet-mgr/v0/deploy/x/:projectName"
    56  }
    57  
    58  func (o *BatchRemoveInstance) Method() string {
    59  	return "DELETE"
    60  }
    61  
    62  func (o *BatchRemoveInstance) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
    63  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.BatchRemoveInstance")
    64  	return cli.Do(ctx, o, metas...)
    65  }
    66  
    67  func (o *BatchRemoveInstance) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (kit.Metadata, error) {
    68  	meta, err := cli.Do(ctx, o, metas...).Into(nil)
    69  	return meta, err
    70  }
    71  
    72  func (o *BatchRemoveInstance) Invoke(cli kit.Client, metas ...kit.Metadata) (kit.Metadata, error) {
    73  	return o.InvokeContext(context.Background(), cli, metas...)
    74  }
    75  
    76  type BatchRemovePublisher struct {
    77  	ProjectName  string                                               `in:"path" name:"projectName" validate:"@projectName"`
    78  	AuthInHeader string                                               `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
    79  	AuthInQuery  string                                               `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
    80  	Keys         []string                                             `in:"query" name:"key,omitempty"`
    81  	LNameLike    string                                               `in:"query" name:"lname,omitempty"`
    82  	NameLike     string                                               `in:"query" name:"name,omitempty"`
    83  	PublisherIDs []GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID `in:"query" name:"publisherIDs,omitempty"`
    84  	RNameLike    string                                               `in:"query" name:"rname,omitempty"`
    85  }
    86  
    87  func (o *BatchRemovePublisher) Path() string {
    88  	return "/srv-applet-mgr/v0/publisher/x/:projectName"
    89  }
    90  
    91  func (o *BatchRemovePublisher) Method() string {
    92  	return "DELETE"
    93  }
    94  
    95  func (o *BatchRemovePublisher) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
    96  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.BatchRemovePublisher")
    97  	return cli.Do(ctx, o, metas...)
    98  }
    99  
   100  func (o *BatchRemovePublisher) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (kit.Metadata, error) {
   101  	meta, err := cli.Do(ctx, o, metas...).Into(nil)
   102  	return meta, err
   103  }
   104  
   105  func (o *BatchRemovePublisher) Invoke(cli kit.Client, metas ...kit.Metadata) (kit.Metadata, error) {
   106  	return o.InvokeContext(context.Background(), cli, metas...)
   107  }
   108  
   109  type BatchRemoveStrategy struct {
   110  	ProjectName  string                                               `in:"path" name:"projectName" validate:"@projectName"`
   111  	AuthInHeader string                                               `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
   112  	AppletIDs    []GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID `in:"query" name:"appletID,omitempty"`
   113  	AuthInQuery  string                                               `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
   114  	EventTypes   []string                                             `in:"query" name:"eventType,omitempty"`
   115  	Handlers     []string                                             `in:"query" name:"handler,omitempty"`
   116  	StrategyIDs  []GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID `in:"query" name:"strategyID,omitempty"`
   117  }
   118  
   119  func (o *BatchRemoveStrategy) Path() string {
   120  	return "/srv-applet-mgr/v0/strategy/x/:projectName"
   121  }
   122  
   123  func (o *BatchRemoveStrategy) Method() string {
   124  	return "DELETE"
   125  }
   126  
   127  func (o *BatchRemoveStrategy) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
   128  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.BatchRemoveStrategy")
   129  	return cli.Do(ctx, o, metas...)
   130  }
   131  
   132  func (o *BatchRemoveStrategy) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (kit.Metadata, error) {
   133  	meta, err := cli.Do(ctx, o, metas...).Into(nil)
   134  	return meta, err
   135  }
   136  
   137  func (o *BatchRemoveStrategy) Invoke(cli kit.Client, metas ...kit.Metadata) (kit.Metadata, error) {
   138  	return o.InvokeContext(context.Background(), cli, metas...)
   139  }
   140  
   141  type BatchRemoveTrafficLimit struct {
   142  	ProjectName  string                                              `in:"path" name:"projectName" validate:"@projectName"`
   143  	AuthInHeader string                                              `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
   144  	ApiType      GithubComMachinefiW3BstreamPkgEnumsTrafficLimitType `in:"query" name:"apiType,omitempty"`
   145  	AuthInQuery  string                                              `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
   146  }
   147  
   148  func (o *BatchRemoveTrafficLimit) Path() string {
   149  	return "/srv-applet-mgr/v0/traffic/x/:projectName"
   150  }
   151  
   152  func (o *BatchRemoveTrafficLimit) Method() string {
   153  	return "DELETE"
   154  }
   155  
   156  func (o *BatchRemoveTrafficLimit) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
   157  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.BatchRemoveTrafficLimit")
   158  	return cli.Do(ctx, o, metas...)
   159  }
   160  
   161  func (o *BatchRemoveTrafficLimit) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (kit.Metadata, error) {
   162  	meta, err := cli.Do(ctx, o, metas...).Into(nil)
   163  	return meta, err
   164  }
   165  
   166  func (o *BatchRemoveTrafficLimit) Invoke(cli kit.Client, metas ...kit.Metadata) (kit.Metadata, error) {
   167  	return o.InvokeContext(context.Background(), cli, metas...)
   168  }
   169  
   170  type ChainConfig struct {
   171  }
   172  
   173  func (o *ChainConfig) Path() string {
   174  	return "/srv-applet-mgr/v0/configuration/chain_config"
   175  }
   176  
   177  func (o *ChainConfig) Method() string {
   178  	return "GET"
   179  }
   180  
   181  func (o *ChainConfig) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
   182  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.ChainConfig")
   183  	return cli.Do(ctx, o, metas...)
   184  }
   185  
   186  func (o *ChainConfig) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (*ChainConfigResp, kit.Metadata, error) {
   187  	rsp := new(ChainConfigResp)
   188  	meta, err := cli.Do(ctx, o, metas...).Into(rsp)
   189  	return rsp, meta, err
   190  }
   191  
   192  func (o *ChainConfig) Invoke(cli kit.Client, metas ...kit.Metadata) (*ChainConfigResp, kit.Metadata, error) {
   193  	return o.InvokeContext(context.Background(), cli, metas...)
   194  }
   195  
   196  type ControlChainHeight struct {
   197  	Cmd                   GithubComMachinefiW3BstreamPkgEnumsMonitorCmd                        `in:"path" name:"cmd"`
   198  	ProjectName           string                                                               `in:"path" name:"projectName" validate:"@projectName"`
   199  	AuthInHeader          string                                                               `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
   200  	AuthInQuery           string                                                               `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
   201  	BatchUpdateMonitorReq GithubComMachinefiW3BstreamPkgModulesBlockchainBatchUpdateMonitorReq `in:"body"`
   202  }
   203  
   204  func (o *ControlChainHeight) Path() string {
   205  	return "/srv-applet-mgr/v0/monitor/x/:projectName/chain_height/:cmd"
   206  }
   207  
   208  func (o *ControlChainHeight) Method() string {
   209  	return "PUT"
   210  }
   211  
   212  func (o *ControlChainHeight) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
   213  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.ControlChainHeight")
   214  	return cli.Do(ctx, o, metas...)
   215  }
   216  
   217  func (o *ControlChainHeight) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (kit.Metadata, error) {
   218  	meta, err := cli.Do(ctx, o, metas...).Into(nil)
   219  	return meta, err
   220  }
   221  
   222  func (o *ControlChainHeight) Invoke(cli kit.Client, metas ...kit.Metadata) (kit.Metadata, error) {
   223  	return o.InvokeContext(context.Background(), cli, metas...)
   224  }
   225  
   226  type ControlChainTx struct {
   227  	Cmd                   GithubComMachinefiW3BstreamPkgEnumsMonitorCmd                        `in:"path" name:"cmd"`
   228  	ProjectName           string                                                               `in:"path" name:"projectName" validate:"@projectName"`
   229  	AuthInHeader          string                                                               `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
   230  	AuthInQuery           string                                                               `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
   231  	BatchUpdateMonitorReq GithubComMachinefiW3BstreamPkgModulesBlockchainBatchUpdateMonitorReq `in:"body"`
   232  }
   233  
   234  func (o *ControlChainTx) Path() string {
   235  	return "/srv-applet-mgr/v0/monitor/x/:projectName/chain_tx/:cmd"
   236  }
   237  
   238  func (o *ControlChainTx) Method() string {
   239  	return "PUT"
   240  }
   241  
   242  func (o *ControlChainTx) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
   243  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.ControlChainTx")
   244  	return cli.Do(ctx, o, metas...)
   245  }
   246  
   247  func (o *ControlChainTx) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (kit.Metadata, error) {
   248  	meta, err := cli.Do(ctx, o, metas...).Into(nil)
   249  	return meta, err
   250  }
   251  
   252  func (o *ControlChainTx) Invoke(cli kit.Client, metas ...kit.Metadata) (kit.Metadata, error) {
   253  	return o.InvokeContext(context.Background(), cli, metas...)
   254  }
   255  
   256  type ControlContractLog struct {
   257  	Cmd                   GithubComMachinefiW3BstreamPkgEnumsMonitorCmd                        `in:"path" name:"cmd"`
   258  	ProjectName           string                                                               `in:"path" name:"projectName" validate:"@projectName"`
   259  	AuthInHeader          string                                                               `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
   260  	AuthInQuery           string                                                               `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
   261  	BatchUpdateMonitorReq GithubComMachinefiW3BstreamPkgModulesBlockchainBatchUpdateMonitorReq `in:"body"`
   262  }
   263  
   264  func (o *ControlContractLog) Path() string {
   265  	return "/srv-applet-mgr/v0/monitor/x/:projectName/contract_log/:cmd"
   266  }
   267  
   268  func (o *ControlContractLog) Method() string {
   269  	return "PUT"
   270  }
   271  
   272  func (o *ControlContractLog) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
   273  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.ControlContractLog")
   274  	return cli.Do(ctx, o, metas...)
   275  }
   276  
   277  func (o *ControlContractLog) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (kit.Metadata, error) {
   278  	meta, err := cli.Do(ctx, o, metas...).Into(nil)
   279  	return meta, err
   280  }
   281  
   282  func (o *ControlContractLog) Invoke(cli kit.Client, metas ...kit.Metadata) (kit.Metadata, error) {
   283  	return o.InvokeContext(context.Background(), cli, metas...)
   284  }
   285  
   286  type ControlInstance struct {
   287  	Cmd          GithubComMachinefiW3BstreamPkgEnumsDeployCmd       `in:"path" name:"cmd"`
   288  	InstanceID   GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID `in:"path" name:"instanceID"`
   289  	AuthInHeader string                                             `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
   290  	AuthInQuery  string                                             `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
   291  }
   292  
   293  func (o *ControlInstance) Path() string {
   294  	return "/srv-applet-mgr/v0/deploy/:instanceID/:cmd"
   295  }
   296  
   297  func (o *ControlInstance) Method() string {
   298  	return "PUT"
   299  }
   300  
   301  func (o *ControlInstance) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
   302  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.ControlInstance")
   303  	return cli.Do(ctx, o, metas...)
   304  }
   305  
   306  func (o *ControlInstance) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (kit.Metadata, error) {
   307  	meta, err := cli.Do(ctx, o, metas...).Into(nil)
   308  	return meta, err
   309  }
   310  
   311  func (o *ControlInstance) Invoke(cli kit.Client, metas ...kit.Metadata) (kit.Metadata, error) {
   312  	return o.InvokeContext(context.Background(), cli, metas...)
   313  }
   314  
   315  type CreateAccountAccessKey struct {
   316  	AuthInHeader              string                                                      `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
   317  	AuthInQuery               string                                                      `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
   318  	CreateAccountAccessKeyReq GithubComMachinefiW3BstreamPkgModulesAccessKeyCreateReqBase `in:"body"`
   319  }
   320  
   321  func (o *CreateAccountAccessKey) Path() string {
   322  	return "/srv-applet-mgr/v0/account_access_key"
   323  }
   324  
   325  func (o *CreateAccountAccessKey) Method() string {
   326  	return "POST"
   327  }
   328  
   329  // @StatusErr[AccessKeyNameConflict][409999020][Access Key Name Conflict]!
   330  // @StatusErr[AccountNotFound][404999017][Account Not Found]!
   331  // @StatusErr[DatabaseError][500999002][Database Error]!
   332  // @StatusErr[DatabaseError][500999002][Database Error]!
   333  // @StatusErr[InvalidAccessKeyIdentityType][400999013][Invalid Access Key Identity Type]!
   334  // @StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!
   335  // @StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!
   336  // @StatusErr[InvalidClaim][401999003][Invalid Claim]!
   337  // @StatusErr[InvalidToken][401999002][Invalid Token]!
   338  
   339  func (o *CreateAccountAccessKey) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
   340  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.CreateAccountAccessKey")
   341  	return cli.Do(ctx, o, metas...)
   342  }
   343  
   344  func (o *CreateAccountAccessKey) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModulesAccessKeyCreateRsp, kit.Metadata, error) {
   345  	rsp := new(GithubComMachinefiW3BstreamPkgModulesAccessKeyCreateRsp)
   346  	meta, err := cli.Do(ctx, o, metas...).Into(rsp)
   347  	return rsp, meta, err
   348  }
   349  
   350  func (o *CreateAccountAccessKey) Invoke(cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModulesAccessKeyCreateRsp, kit.Metadata, error) {
   351  	return o.InvokeContext(context.Background(), cli, metas...)
   352  }
   353  
   354  type CreateAccountByUsernameAndPassword struct {
   355  	CreateAccountByUsernameReq GithubComMachinefiW3BstreamPkgModulesAccountCreateAccountByUsernameReq `in:"body"`
   356  }
   357  
   358  func (o *CreateAccountByUsernameAndPassword) Path() string {
   359  	return "/srv-applet-mgr/v0/register/admin"
   360  }
   361  
   362  func (o *CreateAccountByUsernameAndPassword) Method() string {
   363  	return "POST"
   364  }
   365  
   366  // @StatusErr[AccountConflict][409999015][Account Conflict]!
   367  // @StatusErr[AccountIdentityConflict][409999014][Account Identity Conflict]!
   368  // @StatusErr[AccountPasswordConflict][409999016][Account Password Conflict]!
   369  // @StatusErr[DatabaseError][500999002][Database Error]!
   370  // @StatusErr[NoAdminPermission][401999006][No Admin Permission]!
   371  // @StatusErr[OperatorConflict][409999017][Operator Conflict]!
   372  
   373  func (o *CreateAccountByUsernameAndPassword) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
   374  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.CreateAccountByUsernameAndPassword")
   375  	return cli.Do(ctx, o, metas...)
   376  }
   377  
   378  func (o *CreateAccountByUsernameAndPassword) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModulesAccountCreateAccountByUsernameRsp, kit.Metadata, error) {
   379  	rsp := new(GithubComMachinefiW3BstreamPkgModulesAccountCreateAccountByUsernameRsp)
   380  	meta, err := cli.Do(ctx, o, metas...).Into(rsp)
   381  	return rsp, meta, err
   382  }
   383  
   384  func (o *CreateAccountByUsernameAndPassword) Invoke(cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModulesAccountCreateAccountByUsernameRsp, kit.Metadata, error) {
   385  	return o.InvokeContext(context.Background(), cli, metas...)
   386  }
   387  
   388  type CreateAndStartInstance struct {
   389  	AppletID     GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID   `in:"path" name:"appletID"`
   390  	AuthInHeader string                                               `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
   391  	AuthInQuery  string                                               `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
   392  	CreateReq    GithubComMachinefiW3BstreamPkgModulesDeployCreateReq `in:"body"`
   393  }
   394  
   395  func (o *CreateAndStartInstance) Path() string {
   396  	return "/srv-applet-mgr/v0/deploy/applet/:appletID"
   397  }
   398  
   399  func (o *CreateAndStartInstance) Method() string {
   400  	return "POST"
   401  }
   402  
   403  // @StatusErr[AccountNotFound][404999017][Account Not Found]!
   404  // @StatusErr[AppletNotFound][404999005][Applet Not Found]!
   405  // @StatusErr[ConfigConflict][409999006][Config Conflict]!
   406  // @StatusErr[ConfigInitFailed][500999005][Config Init Failed]!
   407  // @StatusErr[ConfigParseFailed][500999007][Config Parse Failed]!
   408  // @StatusErr[ConfigUninitFailed][500999006][Config Uninit Failed]!
   409  // @StatusErr[CreateInstanceFailed][500999008][Create Instance Failed]!
   410  // @StatusErr[DatabaseError][500999002][Database Error]!
   411  // @StatusErr[DatabaseError][500999002][Database Error]!
   412  // @StatusErr[FetchResourceFailed][500999004][Fetch Resource Failed]!
   413  // @StatusErr[InstanceNotFound][404999006][Instance Not Found]!
   414  // @StatusErr[InvalidAppletContext][401999016][Invalid Applet]!
   415  // @StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!
   416  // @StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!
   417  // @StatusErr[InvalidClaim][401999003][Invalid Claim]!
   418  // @StatusErr[InvalidConfigType][400999002][Invalid Config Type]!
   419  // @StatusErr[InvalidToken][401999002][Invalid Token]!
   420  // @StatusErr[InvalidVMState][400999012][Invalid VM State]!
   421  // @StatusErr[MultiInstanceDeployed][409999008][Multi Instance Deployed]!
   422  // @StatusErr[NoProjectPermission][401999004][No Project Permission]!
   423  // @StatusErr[ProjectNotFound][404999002][Project Not Found]!
   424  // @StatusErr[ProjectOperatorNotFound][404999021][Project Operator relationship Not Found]!
   425  // @StatusErr[ResourceNotFound][404999004][Resource Not Found]!
   426  // @StatusErr[UnknownDeployCommand][400999004][Unknown Deploy Command]!
   427  
   428  func (o *CreateAndStartInstance) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
   429  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.CreateAndStartInstance")
   430  	return cli.Do(ctx, o, metas...)
   431  }
   432  
   433  func (o *CreateAndStartInstance) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModelsInstance, kit.Metadata, error) {
   434  	rsp := new(GithubComMachinefiW3BstreamPkgModelsInstance)
   435  	meta, err := cli.Do(ctx, o, metas...).Into(rsp)
   436  	return rsp, meta, err
   437  }
   438  
   439  func (o *CreateAndStartInstance) Invoke(cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModelsInstance, kit.Metadata, error) {
   440  	return o.InvokeContext(context.Background(), cli, metas...)
   441  }
   442  
   443  type CreateAnonymousPublisher struct {
   444  	ProjectName  string `in:"path" name:"projectName" validate:"@projectName"`
   445  	AuthInHeader string `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
   446  	AuthInQuery  string `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
   447  }
   448  
   449  func (o *CreateAnonymousPublisher) Path() string {
   450  	return "/srv-applet-mgr/v0/publisher/x/:projectName/anonymous"
   451  }
   452  
   453  func (o *CreateAnonymousPublisher) Method() string {
   454  	return "POST"
   455  }
   456  
   457  // @StatusErr[AccessKeyNameConflict][409999020][Access Key Name Conflict]!
   458  // @StatusErr[AccountIdentityNotFound][404999009][Account Identity Not Found]!
   459  // @StatusErr[AccountNotFound][404999017][Account Not Found]!
   460  // @StatusErr[CurrentAccountAbsence][401999013][Current Account Absence]!
   461  // @StatusErr[DatabaseError][500999002][Database Error]!
   462  // @StatusErr[DatabaseError][500999002][Database Error]!
   463  // @StatusErr[DatabaseError][500999002][Database Error]!
   464  // @StatusErr[InvalidAccessKeyIdentityType][400999013][Invalid Access Key Identity Type]!
   465  // @StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!
   466  // @StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!
   467  // @StatusErr[InvalidClaim][401999003][Invalid Claim]!
   468  // @StatusErr[InvalidToken][401999002][Invalid Token]!
   469  // @StatusErr[NoProjectPermission][401999004][No Project Permission]!
   470  // @StatusErr[ProjectNameConflict][409999002][Project Name Conflict]!
   471  // @StatusErr[ProjectNotFound][404999002][Project Not Found]!
   472  
   473  func (o *CreateAnonymousPublisher) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
   474  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.CreateAnonymousPublisher")
   475  	return cli.Do(ctx, o, metas...)
   476  }
   477  
   478  func (o *CreateAnonymousPublisher) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModelsPublisher, kit.Metadata, error) {
   479  	rsp := new(GithubComMachinefiW3BstreamPkgModelsPublisher)
   480  	meta, err := cli.Do(ctx, o, metas...).Into(rsp)
   481  	return rsp, meta, err
   482  }
   483  
   484  func (o *CreateAnonymousPublisher) Invoke(cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModelsPublisher, kit.Metadata, error) {
   485  	return o.InvokeContext(context.Background(), cli, metas...)
   486  }
   487  
   488  type CreateApplet struct {
   489  	ProjectName  string                                               `in:"path" name:"projectName" validate:"@projectName"`
   490  	AuthInHeader string                                               `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
   491  	AuthInQuery  string                                               `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
   492  	CreateReq    GithubComMachinefiW3BstreamPkgModulesAppletCreateReq `in:"body" mime:"multipart"`
   493  }
   494  
   495  func (o *CreateApplet) Path() string {
   496  	return "/srv-applet-mgr/v0/applet/x/:projectName"
   497  }
   498  
   499  func (o *CreateApplet) Method() string {
   500  	return "POST"
   501  }
   502  
   503  // @StatusErr[AccountIdentityNotFound][404999009][Account Identity Not Found]!
   504  // @StatusErr[AccountNotFound][404999017][Account Not Found]!
   505  // @StatusErr[AppletNameConflict][409999009][Applet Name Conflict]!
   506  // @StatusErr[ConfigConflict][409999006][Config Conflict]!
   507  // @StatusErr[ConfigInitFailed][500999005][Config Init Failed]!
   508  // @StatusErr[ConfigParseFailed][500999007][Config Parse Failed]!
   509  // @StatusErr[ConfigUninitFailed][500999006][Config Uninit Failed]!
   510  // @StatusErr[CreateInstanceFailed][500999008][Create Instance Failed]!
   511  // @StatusErr[CurrentAccountAbsence][401999013][Current Account Absence]!
   512  // @StatusErr[DatabaseError][500999002][Database Error]!
   513  // @StatusErr[DatabaseError][500999002][Database Error]!
   514  // @StatusErr[DatabaseError][500999002][Database Error]!
   515  // @StatusErr[InvalidAppletContext][401999016][Invalid Applet]!
   516  // @StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!
   517  // @StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!
   518  // @StatusErr[InvalidClaim][401999003][Invalid Claim]!
   519  // @StatusErr[InvalidConfigType][400999002][Invalid Config Type]!
   520  // @StatusErr[InvalidToken][401999002][Invalid Token]!
   521  // @StatusErr[InvalidVMState][400999012][Invalid VM State]!
   522  // @StatusErr[MultiInstanceDeployed][409999008][Multi Instance Deployed]!
   523  // @StatusErr[NoProjectPermission][401999004][No Project Permission]!
   524  // @StatusErr[ProjectNotFound][404999002][Project Not Found]!
   525  // @StatusErr[ProjectOperatorNotFound][404999021][Project Operator relationship Not Found]!
   526  // @StatusErr[ResourceConflict][409999003][Resource Conflict]!
   527  // @StatusErr[StrategyConflict][409999005][Strategy Conflict]!
   528  // @StatusErr[UploadFileDiskLimit][403999006][Upload File Disk Limit]!
   529  // @StatusErr[UploadFileFailed][500999003][Upload File Failed]!
   530  // @StatusErr[UploadFileMd5Unmatched][403999005][Upload File Md5 Unmatched]!
   531  // @StatusErr[UploadFileSizeLimit][403999004][Upload File Size Limit]!
   532  
   533  func (o *CreateApplet) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
   534  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.CreateApplet")
   535  	return cli.Do(ctx, o, metas...)
   536  }
   537  
   538  func (o *CreateApplet) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModulesAppletCreateRsp, kit.Metadata, error) {
   539  	rsp := new(GithubComMachinefiW3BstreamPkgModulesAppletCreateRsp)
   540  	meta, err := cli.Do(ctx, o, metas...).Into(rsp)
   541  	return rsp, meta, err
   542  }
   543  
   544  func (o *CreateApplet) Invoke(cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModulesAppletCreateRsp, kit.Metadata, error) {
   545  	return o.InvokeContext(context.Background(), cli, metas...)
   546  }
   547  
   548  type CreateChainHeight struct {
   549  	ProjectName          string                                                              `in:"path" name:"projectName" validate:"@projectName"`
   550  	AuthInHeader         string                                                              `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
   551  	AuthInQuery          string                                                              `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
   552  	CreateChainHeightReq GithubComMachinefiW3BstreamPkgModulesBlockchainCreateChainHeightReq `in:"body"`
   553  }
   554  
   555  func (o *CreateChainHeight) Path() string {
   556  	return "/srv-applet-mgr/v0/monitor/x/:projectName/chain_height"
   557  }
   558  
   559  func (o *CreateChainHeight) Method() string {
   560  	return "POST"
   561  }
   562  
   563  // @StatusErr[AccountIdentityNotFound][404999009][Account Identity Not Found]!
   564  // @StatusErr[AccountNotFound][404999017][Account Not Found]!
   565  // @StatusErr[BlockchainNotFound][404999013][Blockchain Not Found]!
   566  // @StatusErr[ChainHeightConflict][409999013][Chain Height Conflict]!
   567  // @StatusErr[CurrentAccountAbsence][401999013][Current Account Absence]!
   568  // @StatusErr[DatabaseError][500999002][Database Error]!
   569  // @StatusErr[DatabaseError][500999002][Database Error]!
   570  // @StatusErr[DatabaseError][500999002][Database Error]!
   571  // @StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!
   572  // @StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!
   573  // @StatusErr[InvalidClaim][401999003][Invalid Claim]!
   574  // @StatusErr[InvalidToken][401999002][Invalid Token]!
   575  // @StatusErr[NoProjectPermission][401999004][No Project Permission]!
   576  // @StatusErr[ProjectNotFound][404999002][Project Not Found]!
   577  
   578  func (o *CreateChainHeight) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
   579  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.CreateChainHeight")
   580  	return cli.Do(ctx, o, metas...)
   581  }
   582  
   583  func (o *CreateChainHeight) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModelsChainHeight, kit.Metadata, error) {
   584  	rsp := new(GithubComMachinefiW3BstreamPkgModelsChainHeight)
   585  	meta, err := cli.Do(ctx, o, metas...).Into(rsp)
   586  	return rsp, meta, err
   587  }
   588  
   589  func (o *CreateChainHeight) Invoke(cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModelsChainHeight, kit.Metadata, error) {
   590  	return o.InvokeContext(context.Background(), cli, metas...)
   591  }
   592  
   593  type CreateChainTx struct {
   594  	ProjectName      string                                                          `in:"path" name:"projectName" validate:"@projectName"`
   595  	AuthInHeader     string                                                          `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
   596  	AuthInQuery      string                                                          `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
   597  	CreateChainTxReq GithubComMachinefiW3BstreamPkgModulesBlockchainCreateChainTxReq `in:"body"`
   598  }
   599  
   600  func (o *CreateChainTx) Path() string {
   601  	return "/srv-applet-mgr/v0/monitor/x/:projectName/chain_tx"
   602  }
   603  
   604  func (o *CreateChainTx) Method() string {
   605  	return "POST"
   606  }
   607  
   608  // @StatusErr[AccountIdentityNotFound][404999009][Account Identity Not Found]!
   609  // @StatusErr[AccountNotFound][404999017][Account Not Found]!
   610  // @StatusErr[BlockchainNotFound][404999013][Blockchain Not Found]!
   611  // @StatusErr[ChainTxConflict][409999012][Chain Tx Conflict]!
   612  // @StatusErr[CurrentAccountAbsence][401999013][Current Account Absence]!
   613  // @StatusErr[DatabaseError][500999002][Database Error]!
   614  // @StatusErr[DatabaseError][500999002][Database Error]!
   615  // @StatusErr[DatabaseError][500999002][Database Error]!
   616  // @StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!
   617  // @StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!
   618  // @StatusErr[InvalidClaim][401999003][Invalid Claim]!
   619  // @StatusErr[InvalidToken][401999002][Invalid Token]!
   620  // @StatusErr[NoProjectPermission][401999004][No Project Permission]!
   621  // @StatusErr[ProjectNotFound][404999002][Project Not Found]!
   622  
   623  func (o *CreateChainTx) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
   624  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.CreateChainTx")
   625  	return cli.Do(ctx, o, metas...)
   626  }
   627  
   628  func (o *CreateChainTx) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModelsChainTx, kit.Metadata, error) {
   629  	rsp := new(GithubComMachinefiW3BstreamPkgModelsChainTx)
   630  	meta, err := cli.Do(ctx, o, metas...).Into(rsp)
   631  	return rsp, meta, err
   632  }
   633  
   634  func (o *CreateChainTx) Invoke(cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModelsChainTx, kit.Metadata, error) {
   635  	return o.InvokeContext(context.Background(), cli, metas...)
   636  }
   637  
   638  type CreateContractLog struct {
   639  	ProjectName          string                                                              `in:"path" name:"projectName" validate:"@projectName"`
   640  	AuthInHeader         string                                                              `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
   641  	AuthInQuery          string                                                              `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
   642  	CreateContractLogReq GithubComMachinefiW3BstreamPkgModulesBlockchainCreateContractLogReq `in:"body"`
   643  }
   644  
   645  func (o *CreateContractLog) Path() string {
   646  	return "/srv-applet-mgr/v0/monitor/x/:projectName/contract_log"
   647  }
   648  
   649  func (o *CreateContractLog) Method() string {
   650  	return "POST"
   651  }
   652  
   653  // @StatusErr[AccountIdentityNotFound][404999009][Account Identity Not Found]!
   654  // @StatusErr[AccountNotFound][404999017][Account Not Found]!
   655  // @StatusErr[BlockchainNotFound][404999013][Blockchain Not Found]!
   656  // @StatusErr[ContractLogConflict][409999011][Contract Log Conflict]!
   657  // @StatusErr[CurrentAccountAbsence][401999013][Current Account Absence]!
   658  // @StatusErr[DatabaseError][500999002][Database Error]!
   659  // @StatusErr[DatabaseError][500999002][Database Error]!
   660  // @StatusErr[DatabaseError][500999002][Database Error]!
   661  // @StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!
   662  // @StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!
   663  // @StatusErr[InvalidClaim][401999003][Invalid Claim]!
   664  // @StatusErr[InvalidToken][401999002][Invalid Token]!
   665  // @StatusErr[NoProjectPermission][401999004][No Project Permission]!
   666  // @StatusErr[ProjectNotFound][404999002][Project Not Found]!
   667  
   668  func (o *CreateContractLog) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
   669  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.CreateContractLog")
   670  	return cli.Do(ctx, o, metas...)
   671  }
   672  
   673  func (o *CreateContractLog) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModelsContractLog, kit.Metadata, error) {
   674  	rsp := new(GithubComMachinefiW3BstreamPkgModelsContractLog)
   675  	meta, err := cli.Do(ctx, o, metas...).Into(rsp)
   676  	return rsp, meta, err
   677  }
   678  
   679  func (o *CreateContractLog) Invoke(cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModelsContractLog, kit.Metadata, error) {
   680  	return o.InvokeContext(context.Background(), cli, metas...)
   681  }
   682  
   683  type CreateCronJob struct {
   684  	ProjectID    GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID    `in:"path" name:"projectID"`
   685  	AuthInHeader string                                                `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
   686  	AuthInQuery  string                                                `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
   687  	CreateReq    GithubComMachinefiW3BstreamPkgModulesCronjobCreateReq `in:"body"`
   688  }
   689  
   690  func (o *CreateCronJob) Path() string {
   691  	return "/srv-applet-mgr/v0/cronjob/:projectID"
   692  }
   693  
   694  func (o *CreateCronJob) Method() string {
   695  	return "POST"
   696  }
   697  
   698  // @StatusErr[AccountNotFound][404999017][Account Not Found]!
   699  // @StatusErr[CronJobConflict][409999010][Cron Job Conflict]!
   700  // @StatusErr[DatabaseError][500999002][Database Error]!
   701  // @StatusErr[DatabaseError][500999002][Database Error]!
   702  // @StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!
   703  // @StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!
   704  // @StatusErr[InvalidClaim][401999003][Invalid Claim]!
   705  // @StatusErr[InvalidCronExpressions][400999005][Invalid Cron Expressions]!
   706  // @StatusErr[InvalidToken][401999002][Invalid Token]!
   707  // @StatusErr[NoProjectPermission][401999004][No Project Permission]!
   708  // @StatusErr[ProjectNotFound][404999002][Project Not Found]!
   709  
   710  func (o *CreateCronJob) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
   711  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.CreateCronJob")
   712  	return cli.Do(ctx, o, metas...)
   713  }
   714  
   715  func (o *CreateCronJob) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModelsCronJob, kit.Metadata, error) {
   716  	rsp := new(GithubComMachinefiW3BstreamPkgModelsCronJob)
   717  	meta, err := cli.Do(ctx, o, metas...).Into(rsp)
   718  	return rsp, meta, err
   719  }
   720  
   721  func (o *CreateCronJob) Invoke(cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModelsCronJob, kit.Metadata, error) {
   722  	return o.InvokeContext(context.Background(), cli, metas...)
   723  }
   724  
   725  type CreateOperator struct {
   726  	AuthInHeader string                                                 `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
   727  	AuthInQuery  string                                                 `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
   728  	CreateReq    GithubComMachinefiW3BstreamPkgModulesOperatorCreateReq `in:"body"`
   729  }
   730  
   731  func (o *CreateOperator) Path() string {
   732  	return "/srv-applet-mgr/v0/operator"
   733  }
   734  
   735  func (o *CreateOperator) Method() string {
   736  	return "POST"
   737  }
   738  
   739  // @StatusErr[AccountNotFound][404999017][Account Not Found]!
   740  // @StatusErr[DatabaseError][500999002][Database Error]!
   741  // @StatusErr[DatabaseError][500999002][Database Error]!
   742  // @StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!
   743  // @StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!
   744  // @StatusErr[InvalidClaim][401999003][Invalid Claim]!
   745  // @StatusErr[InvalidPrivateKey][400999006][Invalid Private Key]!
   746  // @StatusErr[InvalidToken][401999002][Invalid Token]!
   747  // @StatusErr[OperatorConflict][409999017][Operator Conflict]!
   748  
   749  func (o *CreateOperator) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
   750  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.CreateOperator")
   751  	return cli.Do(ctx, o, metas...)
   752  }
   753  
   754  func (o *CreateOperator) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModelsOperator, kit.Metadata, error) {
   755  	rsp := new(GithubComMachinefiW3BstreamPkgModelsOperator)
   756  	meta, err := cli.Do(ctx, o, metas...).Into(rsp)
   757  	return rsp, meta, err
   758  }
   759  
   760  func (o *CreateOperator) Invoke(cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModelsOperator, kit.Metadata, error) {
   761  	return o.InvokeContext(context.Background(), cli, metas...)
   762  }
   763  
   764  type CreateOrUpdateProjectEnv struct {
   765  	ProjectName  string                                     `in:"path" name:"projectName" validate:"@projectName"`
   766  	AuthInHeader string                                     `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
   767  	AuthInQuery  string                                     `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
   768  	Env          GithubComMachinefiW3BstreamPkgTypesWasmEnv `in:"body"`
   769  }
   770  
   771  func (o *CreateOrUpdateProjectEnv) Path() string {
   772  	return "/srv-applet-mgr/v0/project_config/x/:projectName/PROJECT_ENV"
   773  }
   774  
   775  func (o *CreateOrUpdateProjectEnv) Method() string {
   776  	return "POST"
   777  }
   778  
   779  // @StatusErr[AccountIdentityNotFound][404999009][Account Identity Not Found]!
   780  // @StatusErr[AccountNotFound][404999017][Account Not Found]!
   781  // @StatusErr[ConfigConflict][409999006][Config Conflict]!
   782  // @StatusErr[ConfigInitFailed][500999005][Config Init Failed]!
   783  // @StatusErr[ConfigParseFailed][500999007][Config Parse Failed]!
   784  // @StatusErr[ConfigUninitFailed][500999006][Config Uninit Failed]!
   785  // @StatusErr[CurrentAccountAbsence][401999013][Current Account Absence]!
   786  // @StatusErr[DatabaseError][500999002][Database Error]!
   787  // @StatusErr[DatabaseError][500999002][Database Error]!
   788  // @StatusErr[DatabaseError][500999002][Database Error]!
   789  // @StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!
   790  // @StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!
   791  // @StatusErr[InvalidClaim][401999003][Invalid Claim]!
   792  // @StatusErr[InvalidConfigType][400999002][Invalid Config Type]!
   793  // @StatusErr[InvalidToken][401999002][Invalid Token]!
   794  // @StatusErr[NoProjectPermission][401999004][No Project Permission]!
   795  // @StatusErr[ProjectNotFound][404999002][Project Not Found]!
   796  
   797  func (o *CreateOrUpdateProjectEnv) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
   798  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.CreateOrUpdateProjectEnv")
   799  	return cli.Do(ctx, o, metas...)
   800  }
   801  
   802  func (o *CreateOrUpdateProjectEnv) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModelsConfig, kit.Metadata, error) {
   803  	rsp := new(GithubComMachinefiW3BstreamPkgModelsConfig)
   804  	meta, err := cli.Do(ctx, o, metas...).Into(rsp)
   805  	return rsp, meta, err
   806  }
   807  
   808  func (o *CreateOrUpdateProjectEnv) Invoke(cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModelsConfig, kit.Metadata, error) {
   809  	return o.InvokeContext(context.Background(), cli, metas...)
   810  }
   811  
   812  type CreateOrUpdateProjectFlow struct {
   813  	ProjectName  string                                      `in:"path" name:"projectName" validate:"@projectName"`
   814  	AuthInHeader string                                      `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
   815  	AuthInQuery  string                                      `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
   816  	Flow         GithubComMachinefiW3BstreamPkgTypesWasmFlow `in:"body"`
   817  }
   818  
   819  func (o *CreateOrUpdateProjectFlow) Path() string {
   820  	return "/srv-applet-mgr/v0/project_config/x/:projectName/PROJECT_FLOW"
   821  }
   822  
   823  func (o *CreateOrUpdateProjectFlow) Method() string {
   824  	return "POST"
   825  }
   826  
   827  // @StatusErr[AccountIdentityNotFound][404999009][Account Identity Not Found]!
   828  // @StatusErr[AccountNotFound][404999017][Account Not Found]!
   829  // @StatusErr[ConfigConflict][409999006][Config Conflict]!
   830  // @StatusErr[ConfigInitFailed][500999005][Config Init Failed]!
   831  // @StatusErr[ConfigParseFailed][500999007][Config Parse Failed]!
   832  // @StatusErr[ConfigUninitFailed][500999006][Config Uninit Failed]!
   833  // @StatusErr[CurrentAccountAbsence][401999013][Current Account Absence]!
   834  // @StatusErr[DatabaseError][500999002][Database Error]!
   835  // @StatusErr[DatabaseError][500999002][Database Error]!
   836  // @StatusErr[DatabaseError][500999002][Database Error]!
   837  // @StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!
   838  // @StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!
   839  // @StatusErr[InvalidClaim][401999003][Invalid Claim]!
   840  // @StatusErr[InvalidConfigType][400999002][Invalid Config Type]!
   841  // @StatusErr[InvalidToken][401999002][Invalid Token]!
   842  // @StatusErr[NoProjectPermission][401999004][No Project Permission]!
   843  // @StatusErr[ProjectNotFound][404999002][Project Not Found]!
   844  
   845  func (o *CreateOrUpdateProjectFlow) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
   846  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.CreateOrUpdateProjectFlow")
   847  	return cli.Do(ctx, o, metas...)
   848  }
   849  
   850  func (o *CreateOrUpdateProjectFlow) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModelsConfig, kit.Metadata, error) {
   851  	rsp := new(GithubComMachinefiW3BstreamPkgModelsConfig)
   852  	meta, err := cli.Do(ctx, o, metas...).Into(rsp)
   853  	return rsp, meta, err
   854  }
   855  
   856  func (o *CreateOrUpdateProjectFlow) Invoke(cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModelsConfig, kit.Metadata, error) {
   857  	return o.InvokeContext(context.Background(), cli, metas...)
   858  }
   859  
   860  type CreateProject struct {
   861  	AuthInHeader string                                                `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
   862  	AuthInQuery  string                                                `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
   863  	CreateReq    GithubComMachinefiW3BstreamPkgModulesProjectCreateReq `in:"body"`
   864  }
   865  
   866  func (o *CreateProject) Path() string {
   867  	return "/srv-applet-mgr/v0/project"
   868  }
   869  
   870  func (o *CreateProject) Method() string {
   871  	return "POST"
   872  }
   873  
   874  // @StatusErr[AccessKeyNameConflict][409999020][Access Key Name Conflict]!
   875  // @StatusErr[AccountIdentityNotFound][404999009][Account Identity Not Found]!
   876  // @StatusErr[AccountNotFound][404999017][Account Not Found]!
   877  // @StatusErr[ClientClosedRequest][499000000][ClientClosedRequest]
   878  // @StatusErr[ConfigConflict][409999006][Config Conflict]!
   879  // @StatusErr[ConfigInitFailed][500999005][Config Init Failed]!
   880  // @StatusErr[ConfigParseFailed][500999007][Config Parse Failed]!
   881  // @StatusErr[CurrentAccountAbsence][401999013][Current Account Absence]!
   882  // @StatusErr[DatabaseError][500999002][Database Error]!
   883  // @StatusErr[DatabaseError][500999002][Database Error]!
   884  // @StatusErr[InvalidAccessKeyIdentityType][400999013][Invalid Access Key Identity Type]!
   885  // @StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!
   886  // @StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!
   887  // @StatusErr[InvalidClaim][401999003][Invalid Claim]!
   888  // @StatusErr[InvalidEventToken][401999015][Invalid Event Token]!
   889  // @StatusErr[InvalidToken][401999002][Invalid Token]!
   890  // @StatusErr[MqttConnectFailed][500999011][MQTT Connect Failed]!
   891  // @StatusErr[MqttSubscribeFailed][500999010][MQTT Subscribe Failed]!
   892  // @StatusErr[ProjectNameConflict][409999002][Project Name Conflict]!
   893  // @StatusErr[RequestFailed][500000000][RequestFailed]
   894  // @StatusErr[RequestTransformFailed][400000000][RequestTransformFailed]
   895  // @StatusErr[TopicAlreadySubscribed][403999007][Topic Already Subscribed]!
   896  
   897  func (o *CreateProject) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
   898  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.CreateProject")
   899  	return cli.Do(ctx, o, metas...)
   900  }
   901  
   902  func (o *CreateProject) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModulesProjectCreateRsp, kit.Metadata, error) {
   903  	rsp := new(GithubComMachinefiW3BstreamPkgModulesProjectCreateRsp)
   904  	meta, err := cli.Do(ctx, o, metas...).Into(rsp)
   905  	return rsp, meta, err
   906  }
   907  
   908  func (o *CreateProject) Invoke(cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModulesProjectCreateRsp, kit.Metadata, error) {
   909  	return o.InvokeContext(context.Background(), cli, metas...)
   910  }
   911  
   912  type CreateProjectOperator struct {
   913  	OperatorID   GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID `in:"path" name:"operatorID"`
   914  	ProjectID    GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID `in:"path" name:"projectID"`
   915  	AuthInHeader string                                             `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
   916  	AuthInQuery  string                                             `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
   917  }
   918  
   919  func (o *CreateProjectOperator) Path() string {
   920  	return "/srv-applet-mgr/v0/project_operator/:projectID/:operatorID"
   921  }
   922  
   923  func (o *CreateProjectOperator) Method() string {
   924  	return "POST"
   925  }
   926  
   927  // @StatusErr[AccountNotFound][404999017][Account Not Found]!
   928  // @StatusErr[DatabaseError][500999002][Database Error]!
   929  // @StatusErr[DatabaseError][500999002][Database Error]!
   930  // @StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!
   931  // @StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!
   932  // @StatusErr[InvalidClaim][401999003][Invalid Claim]!
   933  // @StatusErr[InvalidToken][401999002][Invalid Token]!
   934  // @StatusErr[NoOperatorPermission][401999005][No Operator Permission]!
   935  // @StatusErr[NoProjectPermission][401999004][No Project Permission]!
   936  // @StatusErr[OperatorNotFound][404999019][Operator Not Found]!
   937  // @StatusErr[ProjectNotFound][404999002][Project Not Found]!
   938  // @StatusErr[ProjectOperatorConflict][409999019][Project Operator relationship Conflict]!
   939  
   940  func (o *CreateProjectOperator) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
   941  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.CreateProjectOperator")
   942  	return cli.Do(ctx, o, metas...)
   943  }
   944  
   945  func (o *CreateProjectOperator) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModelsProjectOperator, kit.Metadata, error) {
   946  	rsp := new(GithubComMachinefiW3BstreamPkgModelsProjectOperator)
   947  	meta, err := cli.Do(ctx, o, metas...).Into(rsp)
   948  	return rsp, meta, err
   949  }
   950  
   951  func (o *CreateProjectOperator) Invoke(cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModelsProjectOperator, kit.Metadata, error) {
   952  	return o.InvokeContext(context.Background(), cli, metas...)
   953  }
   954  
   955  type CreateProjectSchema struct {
   956  	ProjectName  string                                          `in:"path" name:"projectName" validate:"@projectName"`
   957  	AuthInHeader string                                          `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
   958  	AuthInQuery  string                                          `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
   959  	Database     GithubComMachinefiW3BstreamPkgTypesWasmDatabase `in:"body"`
   960  }
   961  
   962  func (o *CreateProjectSchema) Path() string {
   963  	return "/srv-applet-mgr/v0/project_config/x/:projectName/PROJECT_DATABASE"
   964  }
   965  
   966  func (o *CreateProjectSchema) Method() string {
   967  	return "POST"
   968  }
   969  
   970  // @StatusErr[AccountIdentityNotFound][404999009][Account Identity Not Found]!
   971  // @StatusErr[AccountNotFound][404999017][Account Not Found]!
   972  // @StatusErr[ConfigConflict][409999006][Config Conflict]!
   973  // @StatusErr[ConfigInitFailed][500999005][Config Init Failed]!
   974  // @StatusErr[ConfigParseFailed][500999007][Config Parse Failed]!
   975  // @StatusErr[CurrentAccountAbsence][401999013][Current Account Absence]!
   976  // @StatusErr[DatabaseError][500999002][Database Error]!
   977  // @StatusErr[DatabaseError][500999002][Database Error]!
   978  // @StatusErr[DatabaseError][500999002][Database Error]!
   979  // @StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!
   980  // @StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!
   981  // @StatusErr[InvalidClaim][401999003][Invalid Claim]!
   982  // @StatusErr[InvalidToken][401999002][Invalid Token]!
   983  // @StatusErr[NoProjectPermission][401999004][No Project Permission]!
   984  // @StatusErr[ProjectNotFound][404999002][Project Not Found]!
   985  
   986  func (o *CreateProjectSchema) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
   987  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.CreateProjectSchema")
   988  	return cli.Do(ctx, o, metas...)
   989  }
   990  
   991  func (o *CreateProjectSchema) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModelsConfig, kit.Metadata, error) {
   992  	rsp := new(GithubComMachinefiW3BstreamPkgModelsConfig)
   993  	meta, err := cli.Do(ctx, o, metas...).Into(rsp)
   994  	return rsp, meta, err
   995  }
   996  
   997  func (o *CreateProjectSchema) Invoke(cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModelsConfig, kit.Metadata, error) {
   998  	return o.InvokeContext(context.Background(), cli, metas...)
   999  }
  1000  
  1001  type CreatePublisher struct {
  1002  	ProjectName  string                                                  `in:"path" name:"projectName" validate:"@projectName"`
  1003  	AuthInHeader string                                                  `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
  1004  	AuthInQuery  string                                                  `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
  1005  	CreateReq    GithubComMachinefiW3BstreamPkgModulesPublisherCreateReq `in:"body"`
  1006  }
  1007  
  1008  func (o *CreatePublisher) Path() string {
  1009  	return "/srv-applet-mgr/v0/publisher/x/:projectName"
  1010  }
  1011  
  1012  func (o *CreatePublisher) Method() string {
  1013  	return "POST"
  1014  }
  1015  
  1016  // @StatusErr[AccessKeyNameConflict][409999020][Access Key Name Conflict]!
  1017  // @StatusErr[AccountIdentityNotFound][404999009][Account Identity Not Found]!
  1018  // @StatusErr[AccountNotFound][404999017][Account Not Found]!
  1019  // @StatusErr[CurrentAccountAbsence][401999013][Current Account Absence]!
  1020  // @StatusErr[DatabaseError][500999002][Database Error]!
  1021  // @StatusErr[DatabaseError][500999002][Database Error]!
  1022  // @StatusErr[DatabaseError][500999002][Database Error]!
  1023  // @StatusErr[InvalidAccessKeyIdentityType][400999013][Invalid Access Key Identity Type]!
  1024  // @StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!
  1025  // @StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!
  1026  // @StatusErr[InvalidClaim][401999003][Invalid Claim]!
  1027  // @StatusErr[InvalidToken][401999002][Invalid Token]!
  1028  // @StatusErr[NoProjectPermission][401999004][No Project Permission]!
  1029  // @StatusErr[ProjectNotFound][404999002][Project Not Found]!
  1030  // @StatusErr[PublisherConflict][409999007][Publisher Conflict]!
  1031  
  1032  func (o *CreatePublisher) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
  1033  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.CreatePublisher")
  1034  	return cli.Do(ctx, o, metas...)
  1035  }
  1036  
  1037  func (o *CreatePublisher) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModelsPublisher, kit.Metadata, error) {
  1038  	rsp := new(GithubComMachinefiW3BstreamPkgModelsPublisher)
  1039  	meta, err := cli.Do(ctx, o, metas...).Into(rsp)
  1040  	return rsp, meta, err
  1041  }
  1042  
  1043  func (o *CreatePublisher) Invoke(cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModelsPublisher, kit.Metadata, error) {
  1044  	return o.InvokeContext(context.Background(), cli, metas...)
  1045  }
  1046  
  1047  type CreateStrategy struct {
  1048  	ProjectName  string                                                 `in:"path" name:"projectName" validate:"@projectName"`
  1049  	AuthInHeader string                                                 `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
  1050  	AuthInQuery  string                                                 `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
  1051  	CreateReq    GithubComMachinefiW3BstreamPkgModulesStrategyCreateReq `in:"body"`
  1052  }
  1053  
  1054  func (o *CreateStrategy) Path() string {
  1055  	return "/srv-applet-mgr/v0/strategy/x/:projectName"
  1056  }
  1057  
  1058  func (o *CreateStrategy) Method() string {
  1059  	return "POST"
  1060  }
  1061  
  1062  // @StatusErr[AccountIdentityNotFound][404999009][Account Identity Not Found]!
  1063  // @StatusErr[AccountNotFound][404999017][Account Not Found]!
  1064  // @StatusErr[AppletNotFound][404999005][Applet Not Found]!
  1065  // @StatusErr[CurrentAccountAbsence][401999013][Current Account Absence]!
  1066  // @StatusErr[DatabaseError][500999002][Database Error]!
  1067  // @StatusErr[DatabaseError][500999002][Database Error]!
  1068  // @StatusErr[DatabaseError][500999002][Database Error]!
  1069  // @StatusErr[InstanceNotFound][404999006][Instance Not Found]!
  1070  // @StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!
  1071  // @StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!
  1072  // @StatusErr[InvalidClaim][401999003][Invalid Claim]!
  1073  // @StatusErr[InvalidToken][401999002][Invalid Token]!
  1074  // @StatusErr[NoProjectPermission][401999004][No Project Permission]!
  1075  // @StatusErr[ProjectNotFound][404999002][Project Not Found]!
  1076  // @StatusErr[StrategyConflict][409999005][Strategy Conflict]!
  1077  
  1078  func (o *CreateStrategy) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
  1079  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.CreateStrategy")
  1080  	return cli.Do(ctx, o, metas...)
  1081  }
  1082  
  1083  func (o *CreateStrategy) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModelsStrategy, kit.Metadata, error) {
  1084  	rsp := new(GithubComMachinefiW3BstreamPkgModelsStrategy)
  1085  	meta, err := cli.Do(ctx, o, metas...).Into(rsp)
  1086  	return rsp, meta, err
  1087  }
  1088  
  1089  func (o *CreateStrategy) Invoke(cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModelsStrategy, kit.Metadata, error) {
  1090  	return o.InvokeContext(context.Background(), cli, metas...)
  1091  }
  1092  
  1093  type CreateTrafficLimit struct {
  1094  	ProjectName  string                                                     `in:"path" name:"projectName" validate:"@projectName"`
  1095  	AuthInHeader string                                                     `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
  1096  	AuthInQuery  string                                                     `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
  1097  	CreateReq    GithubComMachinefiW3BstreamPkgModulesTrafficlimitCreateReq `in:"body"`
  1098  }
  1099  
  1100  func (o *CreateTrafficLimit) Path() string {
  1101  	return "/srv-applet-mgr/v0/traffic/x/:projectName"
  1102  }
  1103  
  1104  func (o *CreateTrafficLimit) Method() string {
  1105  	return "POST"
  1106  }
  1107  
  1108  // @StatusErr[AccountIdentityNotFound][404999009][Account Identity Not Found]!
  1109  // @StatusErr[AccountNotFound][404999017][Account Not Found]!
  1110  // @StatusErr[CurrentAccountAbsence][401999013][Current Account Absence]!
  1111  // @StatusErr[DatabaseError][500999002][Database Error]!
  1112  // @StatusErr[DatabaseError][500999002][Database Error]!
  1113  // @StatusErr[DatabaseError][500999002][Database Error]!
  1114  // @StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!
  1115  // @StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!
  1116  // @StatusErr[InvalidClaim][401999003][Invalid Claim]!
  1117  // @StatusErr[InvalidToken][401999002][Invalid Token]!
  1118  // @StatusErr[NoAdminPermission][401999006][No Admin Permission]!
  1119  // @StatusErr[NoProjectPermission][401999004][No Project Permission]!
  1120  // @StatusErr[ProjectNotFound][404999002][Project Not Found]!
  1121  // @StatusErr[TrafficLimitConflict][409999018][Traffic Limit Conflict]!
  1122  
  1123  func (o *CreateTrafficLimit) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
  1124  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.CreateTrafficLimit")
  1125  	return cli.Do(ctx, o, metas...)
  1126  }
  1127  
  1128  func (o *CreateTrafficLimit) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModelsTrafficLimit, kit.Metadata, error) {
  1129  	rsp := new(GithubComMachinefiW3BstreamPkgModelsTrafficLimit)
  1130  	meta, err := cli.Do(ctx, o, metas...).Into(rsp)
  1131  	return rsp, meta, err
  1132  }
  1133  
  1134  func (o *CreateTrafficLimit) Invoke(cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModelsTrafficLimit, kit.Metadata, error) {
  1135  	return o.InvokeContext(context.Background(), cli, metas...)
  1136  }
  1137  
  1138  type DeleteAccountAccessKeyByName struct {
  1139  	Name         string `in:"path" name:"name"`
  1140  	AuthInHeader string `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
  1141  	AuthInQuery  string `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
  1142  }
  1143  
  1144  func (o *DeleteAccountAccessKeyByName) Path() string {
  1145  	return "/srv-applet-mgr/v0/account_access_key/:name"
  1146  }
  1147  
  1148  func (o *DeleteAccountAccessKeyByName) Method() string {
  1149  	return "DELETE"
  1150  }
  1151  
  1152  func (o *DeleteAccountAccessKeyByName) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
  1153  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.DeleteAccountAccessKeyByName")
  1154  	return cli.Do(ctx, o, metas...)
  1155  }
  1156  
  1157  func (o *DeleteAccountAccessKeyByName) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (kit.Metadata, error) {
  1158  	meta, err := cli.Do(ctx, o, metas...).Into(nil)
  1159  	return meta, err
  1160  }
  1161  
  1162  func (o *DeleteAccountAccessKeyByName) Invoke(cli kit.Client, metas ...kit.Metadata) (kit.Metadata, error) {
  1163  	return o.InvokeContext(context.Background(), cli, metas...)
  1164  }
  1165  
  1166  type DownloadResource struct {
  1167  	ResourceID   GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID `in:"path" name:"resourceID"`
  1168  	AuthInHeader string                                             `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
  1169  	AuthInQuery  string                                             `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
  1170  }
  1171  
  1172  func (o *DownloadResource) Path() string {
  1173  	return "/srv-applet-mgr/v0/resource/data/:resourceID"
  1174  }
  1175  
  1176  func (o *DownloadResource) Method() string {
  1177  	return "GET"
  1178  }
  1179  
  1180  // @StatusErr[AccountNotFound][404999017][Account Not Found]!
  1181  // @StatusErr[DatabaseError][500999002][Database Error]!
  1182  // @StatusErr[DatabaseError][500999002][Database Error]!
  1183  // @StatusErr[FetchResourceFailed][500999004][Fetch Resource Failed]!
  1184  // @StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!
  1185  // @StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!
  1186  // @StatusErr[InvalidClaim][401999003][Invalid Claim]!
  1187  // @StatusErr[InvalidToken][401999002][Invalid Token]!
  1188  // @StatusErr[NoResourcePermission][401999017][No Resource Permission]!
  1189  // @StatusErr[ResourceNotFound][404999004][Resource Not Found]!
  1190  // @StatusErr[ResourcePermNotFound][404999010][Resource Perm Not Found]!
  1191  
  1192  func (o *DownloadResource) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
  1193  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.DownloadResource")
  1194  	return cli.Do(ctx, o, metas...)
  1195  }
  1196  
  1197  func (o *DownloadResource) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgDependsKitHttptransportHttpxAttachment, kit.Metadata, error) {
  1198  	rsp := new(GithubComMachinefiW3BstreamPkgDependsKitHttptransportHttpxAttachment)
  1199  	meta, err := cli.Do(ctx, o, metas...).Into(rsp)
  1200  	return rsp, meta, err
  1201  }
  1202  
  1203  func (o *DownloadResource) Invoke(cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgDependsKitHttptransportHttpxAttachment, kit.Metadata, error) {
  1204  	return o.InvokeContext(context.Background(), cli, metas...)
  1205  }
  1206  
  1207  type EthClient struct {
  1208  }
  1209  
  1210  func (o *EthClient) Path() string {
  1211  	return "/srv-applet-mgr/v0/configuration/eth_client"
  1212  }
  1213  
  1214  func (o *EthClient) Method() string {
  1215  	return "GET"
  1216  }
  1217  
  1218  func (o *EthClient) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
  1219  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.EthClient")
  1220  	return cli.Do(ctx, o, metas...)
  1221  }
  1222  
  1223  func (o *EthClient) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (*EthClientRsp, kit.Metadata, error) {
  1224  	rsp := new(EthClientRsp)
  1225  	meta, err := cli.Do(ctx, o, metas...).Into(rsp)
  1226  	return rsp, meta, err
  1227  }
  1228  
  1229  func (o *EthClient) Invoke(cli kit.Client, metas ...kit.Metadata) (*EthClientRsp, kit.Metadata, error) {
  1230  	return o.InvokeContext(context.Background(), cli, metas...)
  1231  }
  1232  
  1233  type FetchInstances struct {
  1234  }
  1235  
  1236  func (o *FetchInstances) Path() string {
  1237  	return "/srv-applet-mgr/v0/debug/instances"
  1238  }
  1239  
  1240  func (o *FetchInstances) Method() string {
  1241  	return "GET"
  1242  }
  1243  
  1244  func (o *FetchInstances) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
  1245  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.FetchInstances")
  1246  	return cli.Do(ctx, o, metas...)
  1247  }
  1248  
  1249  func (o *FetchInstances) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (*map[GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID]GithubComMachinefiW3BstreamPkgEnumsInstanceState, kit.Metadata, error) {
  1250  	rsp := new(map[GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID]GithubComMachinefiW3BstreamPkgEnumsInstanceState)
  1251  	meta, err := cli.Do(ctx, o, metas...).Into(rsp)
  1252  	return rsp, meta, err
  1253  }
  1254  
  1255  func (o *FetchInstances) Invoke(cli kit.Client, metas ...kit.Metadata) (*map[GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID]GithubComMachinefiW3BstreamPkgEnumsInstanceState, kit.Metadata, error) {
  1256  	return o.InvokeContext(context.Background(), cli, metas...)
  1257  }
  1258  
  1259  type GetAccessKeyByName struct {
  1260  	Name         string `in:"path" name:"name"`
  1261  	AuthInHeader string `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
  1262  	AuthInQuery  string `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
  1263  }
  1264  
  1265  func (o *GetAccessKeyByName) Path() string {
  1266  	return "/srv-applet-mgr/v0/account_access_key/data/:name"
  1267  }
  1268  
  1269  func (o *GetAccessKeyByName) Method() string {
  1270  	return "GET"
  1271  }
  1272  
  1273  // @StatusErr[AccessKeyNotFound][404999022][Account Key Not Found]!
  1274  // @StatusErr[AccountNotFound][404999017][Account Not Found]!
  1275  // @StatusErr[DatabaseError][500999002][Database Error]!
  1276  // @StatusErr[DatabaseError][500999002][Database Error]!
  1277  // @StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!
  1278  // @StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!
  1279  // @StatusErr[InvalidClaim][401999003][Invalid Claim]!
  1280  // @StatusErr[InvalidToken][401999002][Invalid Token]!
  1281  
  1282  func (o *GetAccessKeyByName) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
  1283  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.GetAccessKeyByName")
  1284  	return cli.Do(ctx, o, metas...)
  1285  }
  1286  
  1287  func (o *GetAccessKeyByName) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModulesAccessKeyListData, kit.Metadata, error) {
  1288  	rsp := new(GithubComMachinefiW3BstreamPkgModulesAccessKeyListData)
  1289  	meta, err := cli.Do(ctx, o, metas...).Into(rsp)
  1290  	return rsp, meta, err
  1291  }
  1292  
  1293  func (o *GetAccessKeyByName) Invoke(cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModulesAccessKeyListData, kit.Metadata, error) {
  1294  	return o.InvokeContext(context.Background(), cli, metas...)
  1295  }
  1296  
  1297  type GetApplet struct {
  1298  	AppletID     GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID `in:"path" name:"appletID"`
  1299  	AuthInHeader string                                             `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
  1300  	AuthInQuery  string                                             `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
  1301  }
  1302  
  1303  func (o *GetApplet) Path() string {
  1304  	return "/srv-applet-mgr/v0/applet/data/:appletID"
  1305  }
  1306  
  1307  func (o *GetApplet) Method() string {
  1308  	return "GET"
  1309  }
  1310  
  1311  // @StatusErr[AccountNotFound][404999017][Account Not Found]!
  1312  // @StatusErr[AppletNotFound][404999005][Applet Not Found]!
  1313  // @StatusErr[DatabaseError][500999002][Database Error]!
  1314  // @StatusErr[DatabaseError][500999002][Database Error]!
  1315  // @StatusErr[InstanceNotFound][404999006][Instance Not Found]!
  1316  // @StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!
  1317  // @StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!
  1318  // @StatusErr[InvalidClaim][401999003][Invalid Claim]!
  1319  // @StatusErr[InvalidToken][401999002][Invalid Token]!
  1320  // @StatusErr[NoProjectPermission][401999004][No Project Permission]!
  1321  // @StatusErr[ProjectNotFound][404999002][Project Not Found]!
  1322  
  1323  func (o *GetApplet) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
  1324  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.GetApplet")
  1325  	return cli.Do(ctx, o, metas...)
  1326  }
  1327  
  1328  func (o *GetApplet) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModelsApplet, kit.Metadata, error) {
  1329  	rsp := new(GithubComMachinefiW3BstreamPkgModelsApplet)
  1330  	meta, err := cli.Do(ctx, o, metas...).Into(rsp)
  1331  	return rsp, meta, err
  1332  }
  1333  
  1334  func (o *GetApplet) Invoke(cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModelsApplet, kit.Metadata, error) {
  1335  	return o.InvokeContext(context.Background(), cli, metas...)
  1336  }
  1337  
  1338  type GetDownloadResourceUrl struct {
  1339  	ResourceID   GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID `in:"path" name:"resourceID"`
  1340  	AuthInHeader string                                             `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
  1341  	AuthInQuery  string                                             `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
  1342  }
  1343  
  1344  func (o *GetDownloadResourceUrl) Path() string {
  1345  	return "/srv-applet-mgr/v0/resource/url/:resourceID"
  1346  }
  1347  
  1348  func (o *GetDownloadResourceUrl) Method() string {
  1349  	return "GET"
  1350  }
  1351  
  1352  // @StatusErr[AccountNotFound][404999017][Account Not Found]!
  1353  // @StatusErr[DatabaseError][500999002][Database Error]!
  1354  // @StatusErr[DatabaseError][500999002][Database Error]!
  1355  // @StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!
  1356  // @StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!
  1357  // @StatusErr[InvalidClaim][401999003][Invalid Claim]!
  1358  // @StatusErr[InvalidToken][401999002][Invalid Token]!
  1359  // @StatusErr[NoResourcePermission][401999017][No Resource Permission]!
  1360  // @StatusErr[ResourceNotFound][404999004][Resource Not Found]!
  1361  // @StatusErr[ResourcePermNotFound][404999010][Resource Perm Not Found]!
  1362  // @StatusErr[UnsupportedFSOperator][403999009][Unsupported FileSystem Operator]!
  1363  
  1364  func (o *GetDownloadResourceUrl) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
  1365  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.GetDownloadResourceUrl")
  1366  	return cli.Do(ctx, o, metas...)
  1367  }
  1368  
  1369  func (o *GetDownloadResourceUrl) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModulesResourceDownLoadResourceRsp, kit.Metadata, error) {
  1370  	rsp := new(GithubComMachinefiW3BstreamPkgModulesResourceDownLoadResourceRsp)
  1371  	meta, err := cli.Do(ctx, o, metas...).Into(rsp)
  1372  	return rsp, meta, err
  1373  }
  1374  
  1375  func (o *GetDownloadResourceUrl) Invoke(cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModulesResourceDownLoadResourceRsp, kit.Metadata, error) {
  1376  	return o.InvokeContext(context.Background(), cli, metas...)
  1377  }
  1378  
  1379  type GetInstance struct {
  1380  	ID GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID `in:"path" name:"id"`
  1381  }
  1382  
  1383  func (o *GetInstance) Path() string {
  1384  	return "/srv-applet-mgr/v0/debug/instance/:id"
  1385  }
  1386  
  1387  func (o *GetInstance) Method() string {
  1388  	return "GET"
  1389  }
  1390  
  1391  func (o *GetInstance) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
  1392  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.GetInstance")
  1393  	return cli.Do(ctx, o, metas...)
  1394  }
  1395  
  1396  func (o *GetInstance) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgEnumsInstanceState, kit.Metadata, error) {
  1397  	rsp := new(GithubComMachinefiW3BstreamPkgEnumsInstanceState)
  1398  	meta, err := cli.Do(ctx, o, metas...).Into(rsp)
  1399  	return rsp, meta, err
  1400  }
  1401  
  1402  func (o *GetInstance) Invoke(cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgEnumsInstanceState, kit.Metadata, error) {
  1403  	return o.InvokeContext(context.Background(), cli, metas...)
  1404  }
  1405  
  1406  type GetInstanceByAppletID struct {
  1407  	AppletID     GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID `in:"path" name:"appletID"`
  1408  	AuthInHeader string                                             `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
  1409  	AuthInQuery  string                                             `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
  1410  }
  1411  
  1412  func (o *GetInstanceByAppletID) Path() string {
  1413  	return "/srv-applet-mgr/v0/deploy/applet/:appletID"
  1414  }
  1415  
  1416  func (o *GetInstanceByAppletID) Method() string {
  1417  	return "GET"
  1418  }
  1419  
  1420  // @StatusErr[AccountNotFound][404999017][Account Not Found]!
  1421  // @StatusErr[AppletNotFound][404999005][Applet Not Found]!
  1422  // @StatusErr[DatabaseError][500999002][Database Error]!
  1423  // @StatusErr[DatabaseError][500999002][Database Error]!
  1424  // @StatusErr[InstanceNotFound][404999006][Instance Not Found]!
  1425  // @StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!
  1426  // @StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!
  1427  // @StatusErr[InvalidClaim][401999003][Invalid Claim]!
  1428  // @StatusErr[InvalidToken][401999002][Invalid Token]!
  1429  // @StatusErr[NoProjectPermission][401999004][No Project Permission]!
  1430  // @StatusErr[ProjectNotFound][404999002][Project Not Found]!
  1431  
  1432  func (o *GetInstanceByAppletID) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
  1433  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.GetInstanceByAppletID")
  1434  	return cli.Do(ctx, o, metas...)
  1435  }
  1436  
  1437  func (o *GetInstanceByAppletID) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModelsInstance, kit.Metadata, error) {
  1438  	rsp := new(GithubComMachinefiW3BstreamPkgModelsInstance)
  1439  	meta, err := cli.Do(ctx, o, metas...).Into(rsp)
  1440  	return rsp, meta, err
  1441  }
  1442  
  1443  func (o *GetInstanceByAppletID) Invoke(cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModelsInstance, kit.Metadata, error) {
  1444  	return o.InvokeContext(context.Background(), cli, metas...)
  1445  }
  1446  
  1447  type GetInstanceByInstanceID struct {
  1448  	InstanceID   GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID `in:"path" name:"instanceID"`
  1449  	AuthInHeader string                                             `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
  1450  	AuthInQuery  string                                             `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
  1451  }
  1452  
  1453  func (o *GetInstanceByInstanceID) Path() string {
  1454  	return "/srv-applet-mgr/v0/deploy/instance/:instanceID"
  1455  }
  1456  
  1457  func (o *GetInstanceByInstanceID) Method() string {
  1458  	return "GET"
  1459  }
  1460  
  1461  // @StatusErr[AccountNotFound][404999017][Account Not Found]!
  1462  // @StatusErr[AppletNotFound][404999005][Applet Not Found]!
  1463  // @StatusErr[DatabaseError][500999002][Database Error]!
  1464  // @StatusErr[DatabaseError][500999002][Database Error]!
  1465  // @StatusErr[InstanceNotFound][404999006][Instance Not Found]!
  1466  // @StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!
  1467  // @StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!
  1468  // @StatusErr[InvalidClaim][401999003][Invalid Claim]!
  1469  // @StatusErr[InvalidToken][401999002][Invalid Token]!
  1470  // @StatusErr[NoProjectPermission][401999004][No Project Permission]!
  1471  // @StatusErr[ProjectNotFound][404999002][Project Not Found]!
  1472  // @StatusErr[ResourceNotFound][404999004][Resource Not Found]!
  1473  
  1474  func (o *GetInstanceByInstanceID) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
  1475  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.GetInstanceByInstanceID")
  1476  	return cli.Do(ctx, o, metas...)
  1477  }
  1478  
  1479  func (o *GetInstanceByInstanceID) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModelsInstance, kit.Metadata, error) {
  1480  	rsp := new(GithubComMachinefiW3BstreamPkgModelsInstance)
  1481  	meta, err := cli.Do(ctx, o, metas...).Into(rsp)
  1482  	return rsp, meta, err
  1483  }
  1484  
  1485  func (o *GetInstanceByInstanceID) Invoke(cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModelsInstance, kit.Metadata, error) {
  1486  	return o.InvokeContext(context.Background(), cli, metas...)
  1487  }
  1488  
  1489  type GetOperatorAddr struct {
  1490  	AuthInHeader string `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
  1491  	// account operator name
  1492  	AccountOperatorName string `in:"query" name:"accountOperatorName,omitempty"`
  1493  	AuthInQuery         string `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
  1494  }
  1495  
  1496  func (o *GetOperatorAddr) Path() string {
  1497  	return "/srv-applet-mgr/v0/account/operatoraddr"
  1498  }
  1499  
  1500  func (o *GetOperatorAddr) Method() string {
  1501  	return "GET"
  1502  }
  1503  
  1504  // @StatusErr[AccountNotFound][404999017][Account Not Found]!
  1505  // @StatusErr[DatabaseError][500999002][Database Error]!
  1506  // @StatusErr[DatabaseError][500999002][Database Error]!
  1507  // @StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!
  1508  // @StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!
  1509  // @StatusErr[InvalidClaim][401999003][Invalid Claim]!
  1510  // @StatusErr[InvalidToken][401999002][Invalid Token]!
  1511  // @StatusErr[OperatorNotFound][404999019][Operator Not Found]!
  1512  
  1513  func (o *GetOperatorAddr) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
  1514  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.GetOperatorAddr")
  1515  	return cli.Do(ctx, o, metas...)
  1516  }
  1517  
  1518  func (o *GetOperatorAddr) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (*string, kit.Metadata, error) {
  1519  	rsp := new(string)
  1520  	meta, err := cli.Do(ctx, o, metas...).Into(rsp)
  1521  	return rsp, meta, err
  1522  }
  1523  
  1524  func (o *GetOperatorAddr) Invoke(cli kit.Client, metas ...kit.Metadata) (*string, kit.Metadata, error) {
  1525  	return o.InvokeContext(context.Background(), cli, metas...)
  1526  }
  1527  
  1528  type GetProject struct {
  1529  	ProjectName  string `in:"path" name:"projectName" validate:"@projectName"`
  1530  	AuthInHeader string `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
  1531  	AuthInQuery  string `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
  1532  }
  1533  
  1534  func (o *GetProject) Path() string {
  1535  	return "/srv-applet-mgr/v0/project/x/:projectName/data"
  1536  }
  1537  
  1538  func (o *GetProject) Method() string {
  1539  	return "GET"
  1540  }
  1541  
  1542  // @StatusErr[AccountIdentityNotFound][404999009][Account Identity Not Found]!
  1543  // @StatusErr[AccountNotFound][404999017][Account Not Found]!
  1544  // @StatusErr[CurrentAccountAbsence][401999013][Current Account Absence]!
  1545  // @StatusErr[DatabaseError][500999002][Database Error]!
  1546  // @StatusErr[DatabaseError][500999002][Database Error]!
  1547  // @StatusErr[DatabaseError][500999002][Database Error]!
  1548  // @StatusErr[DeprecatedProject][400999003][Deprecated Project]!
  1549  // @StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!
  1550  // @StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!
  1551  // @StatusErr[InvalidClaim][401999003][Invalid Claim]!
  1552  // @StatusErr[InvalidToken][401999002][Invalid Token]!
  1553  // @StatusErr[NoProjectPermission][401999004][No Project Permission]!
  1554  // @StatusErr[ProjectNotFound][404999002][Project Not Found]!
  1555  
  1556  func (o *GetProject) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
  1557  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.GetProject")
  1558  	return cli.Do(ctx, o, metas...)
  1559  }
  1560  
  1561  func (o *GetProject) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModelsProject, kit.Metadata, error) {
  1562  	rsp := new(GithubComMachinefiW3BstreamPkgModelsProject)
  1563  	meta, err := cli.Do(ctx, o, metas...).Into(rsp)
  1564  	return rsp, meta, err
  1565  }
  1566  
  1567  func (o *GetProject) Invoke(cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModelsProject, kit.Metadata, error) {
  1568  	return o.InvokeContext(context.Background(), cli, metas...)
  1569  }
  1570  
  1571  type GetProjectEnv struct {
  1572  	ProjectName  string `in:"path" name:"projectName" validate:"@projectName"`
  1573  	AuthInHeader string `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
  1574  	AuthInQuery  string `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
  1575  }
  1576  
  1577  func (o *GetProjectEnv) Path() string {
  1578  	return "/srv-applet-mgr/v0/project_config/x/:projectName/PROJECT_ENV"
  1579  }
  1580  
  1581  func (o *GetProjectEnv) Method() string {
  1582  	return "GET"
  1583  }
  1584  
  1585  // @StatusErr[AccountIdentityNotFound][404999009][Account Identity Not Found]!
  1586  // @StatusErr[AccountNotFound][404999017][Account Not Found]!
  1587  // @StatusErr[ConfigNotFound][404999003][Config Not Found]!
  1588  // @StatusErr[ConfigParseFailed][500999007][Config Parse Failed]!
  1589  // @StatusErr[CurrentAccountAbsence][401999013][Current Account Absence]!
  1590  // @StatusErr[DatabaseError][500999002][Database Error]!
  1591  // @StatusErr[DatabaseError][500999002][Database Error]!
  1592  // @StatusErr[DatabaseError][500999002][Database Error]!
  1593  // @StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!
  1594  // @StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!
  1595  // @StatusErr[InvalidClaim][401999003][Invalid Claim]!
  1596  // @StatusErr[InvalidConfigType][400999002][Invalid Config Type]!
  1597  // @StatusErr[InvalidToken][401999002][Invalid Token]!
  1598  // @StatusErr[NoProjectPermission][401999004][No Project Permission]!
  1599  // @StatusErr[ProjectNotFound][404999002][Project Not Found]!
  1600  
  1601  func (o *GetProjectEnv) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
  1602  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.GetProjectEnv")
  1603  	return cli.Do(ctx, o, metas...)
  1604  }
  1605  
  1606  func (o *GetProjectEnv) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgTypesWasmEnv, kit.Metadata, error) {
  1607  	rsp := new(GithubComMachinefiW3BstreamPkgTypesWasmEnv)
  1608  	meta, err := cli.Do(ctx, o, metas...).Into(rsp)
  1609  	return rsp, meta, err
  1610  }
  1611  
  1612  func (o *GetProjectEnv) Invoke(cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgTypesWasmEnv, kit.Metadata, error) {
  1613  	return o.InvokeContext(context.Background(), cli, metas...)
  1614  }
  1615  
  1616  type GetProjectFlow struct {
  1617  	ProjectName  string `in:"path" name:"projectName" validate:"@projectName"`
  1618  	AuthInHeader string `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
  1619  	AuthInQuery  string `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
  1620  }
  1621  
  1622  func (o *GetProjectFlow) Path() string {
  1623  	return "/srv-applet-mgr/v0/project_config/x/:projectName/PROJECT_FLOW"
  1624  }
  1625  
  1626  func (o *GetProjectFlow) Method() string {
  1627  	return "GET"
  1628  }
  1629  
  1630  // @StatusErr[AccountIdentityNotFound][404999009][Account Identity Not Found]!
  1631  // @StatusErr[AccountNotFound][404999017][Account Not Found]!
  1632  // @StatusErr[ConfigNotFound][404999003][Config Not Found]!
  1633  // @StatusErr[ConfigParseFailed][500999007][Config Parse Failed]!
  1634  // @StatusErr[CurrentAccountAbsence][401999013][Current Account Absence]!
  1635  // @StatusErr[DatabaseError][500999002][Database Error]!
  1636  // @StatusErr[DatabaseError][500999002][Database Error]!
  1637  // @StatusErr[DatabaseError][500999002][Database Error]!
  1638  // @StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!
  1639  // @StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!
  1640  // @StatusErr[InvalidClaim][401999003][Invalid Claim]!
  1641  // @StatusErr[InvalidConfigType][400999002][Invalid Config Type]!
  1642  // @StatusErr[InvalidToken][401999002][Invalid Token]!
  1643  // @StatusErr[NoProjectPermission][401999004][No Project Permission]!
  1644  // @StatusErr[ProjectNotFound][404999002][Project Not Found]!
  1645  
  1646  func (o *GetProjectFlow) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
  1647  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.GetProjectFlow")
  1648  	return cli.Do(ctx, o, metas...)
  1649  }
  1650  
  1651  func (o *GetProjectFlow) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgTypesWasmFlow, kit.Metadata, error) {
  1652  	rsp := new(GithubComMachinefiW3BstreamPkgTypesWasmFlow)
  1653  	meta, err := cli.Do(ctx, o, metas...).Into(rsp)
  1654  	return rsp, meta, err
  1655  }
  1656  
  1657  func (o *GetProjectFlow) Invoke(cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgTypesWasmFlow, kit.Metadata, error) {
  1658  	return o.InvokeContext(context.Background(), cli, metas...)
  1659  }
  1660  
  1661  type GetProjectOperator struct {
  1662  	ProjectID    GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID `in:"path" name:"projectID"`
  1663  	AuthInHeader string                                             `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
  1664  	AuthInQuery  string                                             `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
  1665  }
  1666  
  1667  func (o *GetProjectOperator) Path() string {
  1668  	return "/srv-applet-mgr/v0/project_operator/data/:projectID"
  1669  }
  1670  
  1671  func (o *GetProjectOperator) Method() string {
  1672  	return "GET"
  1673  }
  1674  
  1675  // @StatusErr[AccountNotFound][404999017][Account Not Found]!
  1676  // @StatusErr[DatabaseError][500999002][Database Error]!
  1677  // @StatusErr[DatabaseError][500999002][Database Error]!
  1678  // @StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!
  1679  // @StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!
  1680  // @StatusErr[InvalidClaim][401999003][Invalid Claim]!
  1681  // @StatusErr[InvalidToken][401999002][Invalid Token]!
  1682  // @StatusErr[NoProjectPermission][401999004][No Project Permission]!
  1683  // @StatusErr[OperatorNotFound][404999019][Operator Not Found]!
  1684  // @StatusErr[ProjectNotFound][404999002][Project Not Found]!
  1685  // @StatusErr[ProjectOperatorNotFound][404999021][Project Operator relationship Not Found]!
  1686  
  1687  func (o *GetProjectOperator) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
  1688  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.GetProjectOperator")
  1689  	return cli.Do(ctx, o, metas...)
  1690  }
  1691  
  1692  func (o *GetProjectOperator) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModulesOperatorDetail, kit.Metadata, error) {
  1693  	rsp := new(GithubComMachinefiW3BstreamPkgModulesOperatorDetail)
  1694  	meta, err := cli.Do(ctx, o, metas...).Into(rsp)
  1695  	return rsp, meta, err
  1696  }
  1697  
  1698  func (o *GetProjectOperator) Invoke(cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModulesOperatorDetail, kit.Metadata, error) {
  1699  	return o.InvokeContext(context.Background(), cli, metas...)
  1700  }
  1701  
  1702  type GetProjectSchema struct {
  1703  	ProjectName  string `in:"path" name:"projectName" validate:"@projectName"`
  1704  	AuthInHeader string `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
  1705  	AuthInQuery  string `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
  1706  }
  1707  
  1708  func (o *GetProjectSchema) Path() string {
  1709  	return "/srv-applet-mgr/v0/project_config/x/:projectName/PROJECT_DATABASE"
  1710  }
  1711  
  1712  func (o *GetProjectSchema) Method() string {
  1713  	return "GET"
  1714  }
  1715  
  1716  // @StatusErr[AccountIdentityNotFound][404999009][Account Identity Not Found]!
  1717  // @StatusErr[AccountNotFound][404999017][Account Not Found]!
  1718  // @StatusErr[ConfigNotFound][404999003][Config Not Found]!
  1719  // @StatusErr[ConfigParseFailed][500999007][Config Parse Failed]!
  1720  // @StatusErr[CurrentAccountAbsence][401999013][Current Account Absence]!
  1721  // @StatusErr[DatabaseError][500999002][Database Error]!
  1722  // @StatusErr[DatabaseError][500999002][Database Error]!
  1723  // @StatusErr[DatabaseError][500999002][Database Error]!
  1724  // @StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!
  1725  // @StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!
  1726  // @StatusErr[InvalidClaim][401999003][Invalid Claim]!
  1727  // @StatusErr[InvalidConfigType][400999002][Invalid Config Type]!
  1728  // @StatusErr[InvalidToken][401999002][Invalid Token]!
  1729  // @StatusErr[NoProjectPermission][401999004][No Project Permission]!
  1730  // @StatusErr[ProjectNotFound][404999002][Project Not Found]!
  1731  
  1732  func (o *GetProjectSchema) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
  1733  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.GetProjectSchema")
  1734  	return cli.Do(ctx, o, metas...)
  1735  }
  1736  
  1737  func (o *GetProjectSchema) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgTypesWasmDatabase, kit.Metadata, error) {
  1738  	rsp := new(GithubComMachinefiW3BstreamPkgTypesWasmDatabase)
  1739  	meta, err := cli.Do(ctx, o, metas...).Into(rsp)
  1740  	return rsp, meta, err
  1741  }
  1742  
  1743  func (o *GetProjectSchema) Invoke(cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgTypesWasmDatabase, kit.Metadata, error) {
  1744  	return o.InvokeContext(context.Background(), cli, metas...)
  1745  }
  1746  
  1747  type GetPublisher struct {
  1748  	PublisherID  GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID `in:"path" name:"publisherID"`
  1749  	AuthInHeader string                                             `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
  1750  	AuthInQuery  string                                             `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
  1751  }
  1752  
  1753  func (o *GetPublisher) Path() string {
  1754  	return "/srv-applet-mgr/v0/publisher/data/:publisherID"
  1755  }
  1756  
  1757  func (o *GetPublisher) Method() string {
  1758  	return "GET"
  1759  }
  1760  
  1761  // @StatusErr[AccountNotFound][404999017][Account Not Found]!
  1762  // @StatusErr[DatabaseError][500999002][Database Error]!
  1763  // @StatusErr[DatabaseError][500999002][Database Error]!
  1764  // @StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!
  1765  // @StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!
  1766  // @StatusErr[InvalidClaim][401999003][Invalid Claim]!
  1767  // @StatusErr[InvalidToken][401999002][Invalid Token]!
  1768  // @StatusErr[NoProjectPermission][401999004][No Project Permission]!
  1769  // @StatusErr[ProjectNotFound][404999002][Project Not Found]!
  1770  // @StatusErr[PublisherNotFound][404999008][Publisher Not Found]!
  1771  
  1772  func (o *GetPublisher) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
  1773  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.GetPublisher")
  1774  	return cli.Do(ctx, o, metas...)
  1775  }
  1776  
  1777  func (o *GetPublisher) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModelsPublisher, kit.Metadata, error) {
  1778  	rsp := new(GithubComMachinefiW3BstreamPkgModelsPublisher)
  1779  	meta, err := cli.Do(ctx, o, metas...).Into(rsp)
  1780  	return rsp, meta, err
  1781  }
  1782  
  1783  func (o *GetPublisher) Invoke(cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModelsPublisher, kit.Metadata, error) {
  1784  	return o.InvokeContext(context.Background(), cli, metas...)
  1785  }
  1786  
  1787  type GetStrategy struct {
  1788  	StrategyID   GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID `in:"path" name:"strategyID"`
  1789  	AuthInHeader string                                             `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
  1790  	AuthInQuery  string                                             `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
  1791  }
  1792  
  1793  func (o *GetStrategy) Path() string {
  1794  	return "/srv-applet-mgr/v0/strategy/data/:strategyID"
  1795  }
  1796  
  1797  func (o *GetStrategy) Method() string {
  1798  	return "GET"
  1799  }
  1800  
  1801  // @StatusErr[AccountNotFound][404999017][Account Not Found]!
  1802  // @StatusErr[DatabaseError][500999002][Database Error]!
  1803  // @StatusErr[DatabaseError][500999002][Database Error]!
  1804  // @StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!
  1805  // @StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!
  1806  // @StatusErr[InvalidClaim][401999003][Invalid Claim]!
  1807  // @StatusErr[InvalidToken][401999002][Invalid Token]!
  1808  // @StatusErr[NoProjectPermission][401999004][No Project Permission]!
  1809  // @StatusErr[ProjectNotFound][404999002][Project Not Found]!
  1810  // @StatusErr[StrategyNotFound][404999007][Strategy Not Found]!
  1811  
  1812  func (o *GetStrategy) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
  1813  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.GetStrategy")
  1814  	return cli.Do(ctx, o, metas...)
  1815  }
  1816  
  1817  func (o *GetStrategy) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModelsStrategy, kit.Metadata, error) {
  1818  	rsp := new(GithubComMachinefiW3BstreamPkgModelsStrategy)
  1819  	meta, err := cli.Do(ctx, o, metas...).Into(rsp)
  1820  	return rsp, meta, err
  1821  }
  1822  
  1823  func (o *GetStrategy) Invoke(cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModelsStrategy, kit.Metadata, error) {
  1824  	return o.InvokeContext(context.Background(), cli, metas...)
  1825  }
  1826  
  1827  type GetTrafficLimit struct {
  1828  	TrafficLimitID GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID `in:"path" name:"trafficLimitID"`
  1829  	AuthInHeader   string                                             `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
  1830  	AuthInQuery    string                                             `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
  1831  }
  1832  
  1833  func (o *GetTrafficLimit) Path() string {
  1834  	return "/srv-applet-mgr/v0/traffic/data/:trafficLimitID"
  1835  }
  1836  
  1837  func (o *GetTrafficLimit) Method() string {
  1838  	return "GET"
  1839  }
  1840  
  1841  // @StatusErr[AccountNotFound][404999017][Account Not Found]!
  1842  // @StatusErr[DatabaseError][500999002][Database Error]!
  1843  // @StatusErr[DatabaseError][500999002][Database Error]!
  1844  // @StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!
  1845  // @StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!
  1846  // @StatusErr[InvalidClaim][401999003][Invalid Claim]!
  1847  // @StatusErr[InvalidToken][401999002][Invalid Token]!
  1848  // @StatusErr[NoAdminPermission][401999006][No Admin Permission]!
  1849  // @StatusErr[NoProjectPermission][401999004][No Project Permission]!
  1850  // @StatusErr[ProjectNotFound][404999002][Project Not Found]!
  1851  // @StatusErr[TrafficLimitNotFound][404999020][Traffic Limit Not Found]!
  1852  
  1853  func (o *GetTrafficLimit) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
  1854  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.GetTrafficLimit")
  1855  	return cli.Do(ctx, o, metas...)
  1856  }
  1857  
  1858  func (o *GetTrafficLimit) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModelsTrafficLimit, kit.Metadata, error) {
  1859  	rsp := new(GithubComMachinefiW3BstreamPkgModelsTrafficLimit)
  1860  	meta, err := cli.Do(ctx, o, metas...).Into(rsp)
  1861  	return rsp, meta, err
  1862  }
  1863  
  1864  func (o *GetTrafficLimit) Invoke(cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModelsTrafficLimit, kit.Metadata, error) {
  1865  	return o.InvokeContext(context.Background(), cli, metas...)
  1866  }
  1867  
  1868  type HandleEvent struct {
  1869  	// Channel message channel named (intact project name)
  1870  	Channel      string `in:"path" name:"channel"`
  1871  	AuthInHeader string `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
  1872  	AuthInQuery  string `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
  1873  	// EventID unique id for tracing event under channel
  1874  	EventID string `in:"query" name:"eventID,omitempty"`
  1875  	// EventType used for filter strategies created in w3b before
  1876  	EventType string `in:"query" name:"eventType,omitempty"`
  1877  	// From transport source
  1878  	From GithubComMachinefiW3BstreamPkgEnumsEventSource `in:"query" name:"from,omitempty"`
  1879  	// Timestamp event time when publisher do send
  1880  	Timestamp int64 `in:"query" name:"timestamp,omitempty"`
  1881  	// Payload event payload (binary only)
  1882  	Payload BytesBuffer `in:"body" mime:"stream"`
  1883  }
  1884  
  1885  func (o *HandleEvent) Path() string {
  1886  	return "/srv-applet-mgr/v0/event/:channel"
  1887  }
  1888  
  1889  func (o *HandleEvent) Method() string {
  1890  	return "POST"
  1891  }
  1892  
  1893  // @StatusErr[AccountNotFound][404999017][Account Not Found]!
  1894  // @StatusErr[DatabaseError][500999002][Database Error]!
  1895  // @StatusErr[DatabaseError][500999002][Database Error]!
  1896  // @StatusErr[InvalidAuthPublisherID][401999012][Invalid Auth Publisher ID]!
  1897  // @StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!
  1898  // @StatusErr[InvalidClaim][401999003][Invalid Claim]!
  1899  // @StatusErr[InvalidDataPushPayload][404999023][invalid data push payload]!
  1900  // @StatusErr[InvalidDataPushShouldAccount][401999019][invalid data push should account]!
  1901  // @StatusErr[InvalidDataPushShouldPublisher][401999020][invalid data push should publisher]!
  1902  // @StatusErr[InvalidToken][401999002][Invalid Token]!
  1903  // @StatusErr[NoProjectPermission][401999004][No Project Permission]!
  1904  // @StatusErr[ProjectNotFound][404999002][Project Not Found]!
  1905  // @StatusErr[PublisherNotFound][404999008][Publisher Not Found]!
  1906  // @StatusErr[TrafficLimitExceededFailed][429999002][Traffic Limit Exceeded Failed]!
  1907  
  1908  func (o *HandleEvent) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
  1909  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.HandleEvent")
  1910  	return cli.Do(ctx, o, metas...)
  1911  }
  1912  
  1913  func (o *HandleEvent) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModulesEventEventRsp, kit.Metadata, error) {
  1914  	rsp := new(GithubComMachinefiW3BstreamPkgModulesEventEventRsp)
  1915  	meta, err := cli.Do(ctx, o, metas...).Into(rsp)
  1916  	return rsp, meta, err
  1917  }
  1918  
  1919  func (o *HandleEvent) Invoke(cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModulesEventEventRsp, kit.Metadata, error) {
  1920  	return o.InvokeContext(context.Background(), cli, metas...)
  1921  }
  1922  
  1923  type ListAccessGroupMetas struct {
  1924  	AuthInHeader string `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
  1925  	AuthInQuery  string `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
  1926  }
  1927  
  1928  func (o *ListAccessGroupMetas) Path() string {
  1929  	return "/srv-applet-mgr/v0/account_access_key/operator_group_metas"
  1930  }
  1931  
  1932  func (o *ListAccessGroupMetas) Method() string {
  1933  	return "GET"
  1934  }
  1935  
  1936  // @StatusErr[AccountNotFound][404999017][Account Not Found]!
  1937  // @StatusErr[DatabaseError][500999002][Database Error]!
  1938  // @StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!
  1939  // @StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!
  1940  // @StatusErr[InvalidClaim][401999003][Invalid Claim]!
  1941  // @StatusErr[InvalidToken][401999002][Invalid Token]!
  1942  
  1943  func (o *ListAccessGroupMetas) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
  1944  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.ListAccessGroupMetas")
  1945  	return cli.Do(ctx, o, metas...)
  1946  }
  1947  
  1948  func (o *ListAccessGroupMetas) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (*[]GithubComMachinefiW3BstreamPkgModulesAccessKeyGroupMetaBase, kit.Metadata, error) {
  1949  	rsp := new([]GithubComMachinefiW3BstreamPkgModulesAccessKeyGroupMetaBase)
  1950  	meta, err := cli.Do(ctx, o, metas...).Into(rsp)
  1951  	return rsp, meta, err
  1952  }
  1953  
  1954  func (o *ListAccessGroupMetas) Invoke(cli kit.Client, metas ...kit.Metadata) (*[]GithubComMachinefiW3BstreamPkgModulesAccessKeyGroupMetaBase, kit.Metadata, error) {
  1955  	return o.InvokeContext(context.Background(), cli, metas...)
  1956  }
  1957  
  1958  type ListAccountAccessKey struct {
  1959  	AuthInHeader   string                                                     `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
  1960  	AuthInQuery    string                                                     `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
  1961  	ExpiredAtBegin GithubComMachinefiW3BstreamPkgDependsBaseTypesTimestamp    `in:"query" name:"expiredAtBegin,omitempty"`
  1962  	ExpiredAtEnd   GithubComMachinefiW3BstreamPkgDependsBaseTypesTimestamp    `in:"query" name:"expiredAtEnd,omitempty"`
  1963  	IdentityIDs    GithubComMachinefiW3BstreamPkgDependsBaseTypesSFIDs        `in:"query" name:"identityID,omitempty"`
  1964  	IdentityTypes  []GithubComMachinefiW3BstreamPkgEnumsAccessKeyIdentityType `in:"query" name:"identityType,omitempty"`
  1965  	Names          []string                                                   `in:"query" name:"name,omitempty"`
  1966  	Offset         int64                                                      `in:"query" default:"0" name:"offset,omitempty" validate:"@int64[0,]"`
  1967  	Size           int64                                                      `in:"query" default:"10" name:"size,omitempty" validate:"@int64[-1,]"`
  1968  }
  1969  
  1970  func (o *ListAccountAccessKey) Path() string {
  1971  	return "/srv-applet-mgr/v0/account_access_key/datalist"
  1972  }
  1973  
  1974  func (o *ListAccountAccessKey) Method() string {
  1975  	return "GET"
  1976  }
  1977  
  1978  // @StatusErr[AccountNotFound][404999017][Account Not Found]!
  1979  // @StatusErr[DatabaseError][500999002][Database Error]!
  1980  // @StatusErr[DatabaseError][500999002][Database Error]!
  1981  // @StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!
  1982  // @StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!
  1983  // @StatusErr[InvalidClaim][401999003][Invalid Claim]!
  1984  // @StatusErr[InvalidToken][401999002][Invalid Token]!
  1985  
  1986  func (o *ListAccountAccessKey) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
  1987  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.ListAccountAccessKey")
  1988  	return cli.Do(ctx, o, metas...)
  1989  }
  1990  
  1991  func (o *ListAccountAccessKey) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModulesAccessKeyListRsp, kit.Metadata, error) {
  1992  	rsp := new(GithubComMachinefiW3BstreamPkgModulesAccessKeyListRsp)
  1993  	meta, err := cli.Do(ctx, o, metas...).Into(rsp)
  1994  	return rsp, meta, err
  1995  }
  1996  
  1997  func (o *ListAccountAccessKey) Invoke(cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModulesAccessKeyListRsp, kit.Metadata, error) {
  1998  	return o.InvokeContext(context.Background(), cli, metas...)
  1999  }
  2000  
  2001  type ListApplet struct {
  2002  	ProjectName  string                                               `in:"path" name:"projectName" validate:"@projectName"`
  2003  	AuthInHeader string                                               `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
  2004  	AppletIDs    []GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID `in:"query" name:"appletID,omitempty"`
  2005  	AuthInQuery  string                                               `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
  2006  	LNameLike    string                                               `in:"query" name:"lName,omitempty"`
  2007  	NameLike     string                                               `in:"query" name:"name,omitempty"`
  2008  	Names        []string                                             `in:"query" name:"names,omitempty"`
  2009  	Offset       int64                                                `in:"query" default:"0" name:"offset,omitempty" validate:"@int64[0,]"`
  2010  	Size         int64                                                `in:"query" default:"10" name:"size,omitempty" validate:"@int64[-1,]"`
  2011  }
  2012  
  2013  func (o *ListApplet) Path() string {
  2014  	return "/srv-applet-mgr/v0/applet/x/:projectName/datalist"
  2015  }
  2016  
  2017  func (o *ListApplet) Method() string {
  2018  	return "GET"
  2019  }
  2020  
  2021  // @StatusErr[AccountIdentityNotFound][404999009][Account Identity Not Found]!
  2022  // @StatusErr[AccountNotFound][404999017][Account Not Found]!
  2023  // @StatusErr[CurrentAccountAbsence][401999013][Current Account Absence]!
  2024  // @StatusErr[DatabaseError][500999002][Database Error]!
  2025  // @StatusErr[DatabaseError][500999002][Database Error]!
  2026  // @StatusErr[DatabaseError][500999002][Database Error]!
  2027  // @StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!
  2028  // @StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!
  2029  // @StatusErr[InvalidClaim][401999003][Invalid Claim]!
  2030  // @StatusErr[InvalidToken][401999002][Invalid Token]!
  2031  // @StatusErr[NoProjectPermission][401999004][No Project Permission]!
  2032  // @StatusErr[ProjectNotFound][404999002][Project Not Found]!
  2033  
  2034  func (o *ListApplet) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
  2035  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.ListApplet")
  2036  	return cli.Do(ctx, o, metas...)
  2037  }
  2038  
  2039  func (o *ListApplet) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModulesAppletListRsp, kit.Metadata, error) {
  2040  	rsp := new(GithubComMachinefiW3BstreamPkgModulesAppletListRsp)
  2041  	meta, err := cli.Do(ctx, o, metas...).Into(rsp)
  2042  	return rsp, meta, err
  2043  }
  2044  
  2045  func (o *ListApplet) Invoke(cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModulesAppletListRsp, kit.Metadata, error) {
  2046  	return o.InvokeContext(context.Background(), cli, metas...)
  2047  }
  2048  
  2049  type ListCronJob struct {
  2050  	ProjectID    GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID   `in:"path" name:"projectID"`
  2051  	AuthInHeader string                                               `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
  2052  	AuthInQuery  string                                               `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
  2053  	CronJobIDs   []GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID `in:"query" name:"cronJobID,omitempty"`
  2054  	EventTypes   []string                                             `in:"query" name:"eventType,omitempty"`
  2055  	Offset       int64                                                `in:"query" default:"0" name:"offset,omitempty" validate:"@int64[0,]"`
  2056  	Size         int64                                                `in:"query" default:"10" name:"size,omitempty" validate:"@int64[-1,]"`
  2057  }
  2058  
  2059  func (o *ListCronJob) Path() string {
  2060  	return "/srv-applet-mgr/v0/cronjob/:projectID"
  2061  }
  2062  
  2063  func (o *ListCronJob) Method() string {
  2064  	return "GET"
  2065  }
  2066  
  2067  // @StatusErr[AccountNotFound][404999017][Account Not Found]!
  2068  // @StatusErr[DatabaseError][500999002][Database Error]!
  2069  // @StatusErr[DatabaseError][500999002][Database Error]!
  2070  // @StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!
  2071  // @StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!
  2072  // @StatusErr[InvalidClaim][401999003][Invalid Claim]!
  2073  // @StatusErr[InvalidToken][401999002][Invalid Token]!
  2074  // @StatusErr[NoProjectPermission][401999004][No Project Permission]!
  2075  // @StatusErr[ProjectNotFound][404999002][Project Not Found]!
  2076  
  2077  func (o *ListCronJob) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
  2078  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.ListCronJob")
  2079  	return cli.Do(ctx, o, metas...)
  2080  }
  2081  
  2082  func (o *ListCronJob) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModulesCronjobListRsp, kit.Metadata, error) {
  2083  	rsp := new(GithubComMachinefiW3BstreamPkgModulesCronjobListRsp)
  2084  	meta, err := cli.Do(ctx, o, metas...).Into(rsp)
  2085  	return rsp, meta, err
  2086  }
  2087  
  2088  func (o *ListCronJob) Invoke(cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModulesCronjobListRsp, kit.Metadata, error) {
  2089  	return o.InvokeContext(context.Background(), cli, metas...)
  2090  }
  2091  
  2092  type ListOperator struct {
  2093  	AuthInHeader string `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
  2094  	AuthInQuery  string `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
  2095  	Offset       int64  `in:"query" default:"0" name:"offset,omitempty" validate:"@int64[0,]"`
  2096  	Size         int64  `in:"query" default:"10" name:"size,omitempty" validate:"@int64[-1,]"`
  2097  }
  2098  
  2099  func (o *ListOperator) Path() string {
  2100  	return "/srv-applet-mgr/v0/operator/datalist"
  2101  }
  2102  
  2103  func (o *ListOperator) Method() string {
  2104  	return "GET"
  2105  }
  2106  
  2107  // @StatusErr[AccountNotFound][404999017][Account Not Found]!
  2108  // @StatusErr[DatabaseError][500999002][Database Error]!
  2109  // @StatusErr[DatabaseError][500999002][Database Error]!
  2110  // @StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!
  2111  // @StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!
  2112  // @StatusErr[InvalidClaim][401999003][Invalid Claim]!
  2113  // @StatusErr[InvalidToken][401999002][Invalid Token]!
  2114  
  2115  func (o *ListOperator) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
  2116  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.ListOperator")
  2117  	return cli.Do(ctx, o, metas...)
  2118  }
  2119  
  2120  func (o *ListOperator) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModulesOperatorListDetailRsp, kit.Metadata, error) {
  2121  	rsp := new(GithubComMachinefiW3BstreamPkgModulesOperatorListDetailRsp)
  2122  	meta, err := cli.Do(ctx, o, metas...).Into(rsp)
  2123  	return rsp, meta, err
  2124  }
  2125  
  2126  func (o *ListOperator) Invoke(cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModulesOperatorListDetailRsp, kit.Metadata, error) {
  2127  	return o.InvokeContext(context.Background(), cli, metas...)
  2128  }
  2129  
  2130  type ListProject struct {
  2131  	AuthInHeader string                                               `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
  2132  	AuthInQuery  string                                               `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
  2133  	Names        []string                                             `in:"query" name:"name,omitempty"`
  2134  	Offset       int64                                                `in:"query" default:"0" name:"offset,omitempty" validate:"@int64[0,]"`
  2135  	ProjectIDs   []GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID `in:"query" name:"projectID,omitempty"`
  2136  	Size         int64                                                `in:"query" default:"10" name:"size,omitempty" validate:"@int64[-1,]"`
  2137  	Versions     []string                                             `in:"query" name:"version,omitempty"`
  2138  }
  2139  
  2140  func (o *ListProject) Path() string {
  2141  	return "/srv-applet-mgr/v0/project/datalist"
  2142  }
  2143  
  2144  func (o *ListProject) Method() string {
  2145  	return "GET"
  2146  }
  2147  
  2148  // @StatusErr[AccountNotFound][404999017][Account Not Found]!
  2149  // @StatusErr[DatabaseError][500999002][Database Error]!
  2150  // @StatusErr[DatabaseError][500999002][Database Error]!
  2151  // @StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!
  2152  // @StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!
  2153  // @StatusErr[InvalidClaim][401999003][Invalid Claim]!
  2154  // @StatusErr[InvalidToken][401999002][Invalid Token]!
  2155  
  2156  func (o *ListProject) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
  2157  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.ListProject")
  2158  	return cli.Do(ctx, o, metas...)
  2159  }
  2160  
  2161  func (o *ListProject) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModulesProjectListRsp, kit.Metadata, error) {
  2162  	rsp := new(GithubComMachinefiW3BstreamPkgModulesProjectListRsp)
  2163  	meta, err := cli.Do(ctx, o, metas...).Into(rsp)
  2164  	return rsp, meta, err
  2165  }
  2166  
  2167  func (o *ListProject) Invoke(cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModulesProjectListRsp, kit.Metadata, error) {
  2168  	return o.InvokeContext(context.Background(), cli, metas...)
  2169  }
  2170  
  2171  type ListProjectDetail struct {
  2172  	AuthInHeader string                                               `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
  2173  	AuthInQuery  string                                               `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
  2174  	Names        []string                                             `in:"query" name:"name,omitempty"`
  2175  	Offset       int64                                                `in:"query" default:"0" name:"offset,omitempty" validate:"@int64[0,]"`
  2176  	ProjectIDs   []GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID `in:"query" name:"projectID,omitempty"`
  2177  	Size         int64                                                `in:"query" default:"10" name:"size,omitempty" validate:"@int64[-1,]"`
  2178  	Versions     []string                                             `in:"query" name:"version,omitempty"`
  2179  }
  2180  
  2181  func (o *ListProjectDetail) Path() string {
  2182  	return "/srv-applet-mgr/v0/project/detail_list"
  2183  }
  2184  
  2185  func (o *ListProjectDetail) Method() string {
  2186  	return "GET"
  2187  }
  2188  
  2189  // @StatusErr[AccountNotFound][404999017][Account Not Found]!
  2190  // @StatusErr[DatabaseError][500999002][Database Error]!
  2191  // @StatusErr[DatabaseError][500999002][Database Error]!
  2192  // @StatusErr[InstanceNotFound][404999006][Instance Not Found]!
  2193  // @StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!
  2194  // @StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!
  2195  // @StatusErr[InvalidClaim][401999003][Invalid Claim]!
  2196  // @StatusErr[InvalidToken][401999002][Invalid Token]!
  2197  // @StatusErr[ResourceNotFound][404999004][Resource Not Found]!
  2198  
  2199  func (o *ListProjectDetail) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
  2200  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.ListProjectDetail")
  2201  	return cli.Do(ctx, o, metas...)
  2202  }
  2203  
  2204  func (o *ListProjectDetail) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModulesProjectListDetailRsp, kit.Metadata, error) {
  2205  	rsp := new(GithubComMachinefiW3BstreamPkgModulesProjectListDetailRsp)
  2206  	meta, err := cli.Do(ctx, o, metas...).Into(rsp)
  2207  	return rsp, meta, err
  2208  }
  2209  
  2210  func (o *ListProjectDetail) Invoke(cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModulesProjectListDetailRsp, kit.Metadata, error) {
  2211  	return o.InvokeContext(context.Background(), cli, metas...)
  2212  }
  2213  
  2214  type ListPublisher struct {
  2215  	ProjectName  string                                               `in:"path" name:"projectName" validate:"@projectName"`
  2216  	AuthInHeader string                                               `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
  2217  	AuthInQuery  string                                               `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
  2218  	Keys         []string                                             `in:"query" name:"key,omitempty"`
  2219  	LNameLike    string                                               `in:"query" name:"lname,omitempty"`
  2220  	NameLike     string                                               `in:"query" name:"name,omitempty"`
  2221  	Offset       int64                                                `in:"query" default:"0" name:"offset,omitempty" validate:"@int64[0,]"`
  2222  	PublisherIDs []GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID `in:"query" name:"publisherIDs,omitempty"`
  2223  	RNameLike    string                                               `in:"query" name:"rname,omitempty"`
  2224  	Size         int64                                                `in:"query" default:"10" name:"size,omitempty" validate:"@int64[-1,]"`
  2225  }
  2226  
  2227  func (o *ListPublisher) Path() string {
  2228  	return "/srv-applet-mgr/v0/publisher/x/:projectName"
  2229  }
  2230  
  2231  func (o *ListPublisher) Method() string {
  2232  	return "GET"
  2233  }
  2234  
  2235  // @StatusErr[AccountIdentityNotFound][404999009][Account Identity Not Found]!
  2236  // @StatusErr[AccountNotFound][404999017][Account Not Found]!
  2237  // @StatusErr[CurrentAccountAbsence][401999013][Current Account Absence]!
  2238  // @StatusErr[DatabaseError][500999002][Database Error]!
  2239  // @StatusErr[DatabaseError][500999002][Database Error]!
  2240  // @StatusErr[DatabaseError][500999002][Database Error]!
  2241  // @StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!
  2242  // @StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!
  2243  // @StatusErr[InvalidClaim][401999003][Invalid Claim]!
  2244  // @StatusErr[InvalidToken][401999002][Invalid Token]!
  2245  // @StatusErr[NoProjectPermission][401999004][No Project Permission]!
  2246  // @StatusErr[ProjectNotFound][404999002][Project Not Found]!
  2247  
  2248  func (o *ListPublisher) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
  2249  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.ListPublisher")
  2250  	return cli.Do(ctx, o, metas...)
  2251  }
  2252  
  2253  func (o *ListPublisher) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModulesPublisherListRsp, kit.Metadata, error) {
  2254  	rsp := new(GithubComMachinefiW3BstreamPkgModulesPublisherListRsp)
  2255  	meta, err := cli.Do(ctx, o, metas...).Into(rsp)
  2256  	return rsp, meta, err
  2257  }
  2258  
  2259  func (o *ListPublisher) Invoke(cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModulesPublisherListRsp, kit.Metadata, error) {
  2260  	return o.InvokeContext(context.Background(), cli, metas...)
  2261  }
  2262  
  2263  type ListResources struct {
  2264  	AuthInHeader   string                                                  `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
  2265  	AuthInQuery    string                                                  `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
  2266  	ExpireAfter    GithubComMachinefiW3BstreamPkgDependsBaseTypesTimestamp `in:"query" name:"expireAfter,omitempty"`
  2267  	ExpireBefore   GithubComMachinefiW3BstreamPkgDependsBaseTypesTimestamp `in:"query" name:"expireBefore,omitempty"`
  2268  	Filenames      []string                                                `in:"query" name:"filename,omitempty"`
  2269  	FilenameLike   string                                                  `in:"query" name:"filenameLike,omitempty"`
  2270  	Md5            string                                                  `in:"query" name:"md5,omitempty"`
  2271  	Offset         int64                                                   `in:"query" default:"0" name:"offset,omitempty" validate:"@int64[0,]"`
  2272  	ResourceIDs    []GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID    `in:"query" name:"resourceID,omitempty"`
  2273  	Size           int64                                                   `in:"query" default:"10" name:"size,omitempty" validate:"@int64[-1,]"`
  2274  	UploadedAfter  GithubComMachinefiW3BstreamPkgDependsBaseTypesTimestamp `in:"query" name:"uploadedAfter,omitempty"`
  2275  	UploadedBefore GithubComMachinefiW3BstreamPkgDependsBaseTypesTimestamp `in:"query" name:"uploadedBefore,omitempty"`
  2276  }
  2277  
  2278  func (o *ListResources) Path() string {
  2279  	return "/srv-applet-mgr/v0/resource"
  2280  }
  2281  
  2282  func (o *ListResources) Method() string {
  2283  	return "GET"
  2284  }
  2285  
  2286  // @StatusErr[AccountNotFound][404999017][Account Not Found]!
  2287  // @StatusErr[DatabaseError][500999002][Database Error]!
  2288  // @StatusErr[DatabaseError][500999002][Database Error]!
  2289  // @StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!
  2290  // @StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!
  2291  // @StatusErr[InvalidClaim][401999003][Invalid Claim]!
  2292  // @StatusErr[InvalidToken][401999002][Invalid Token]!
  2293  
  2294  func (o *ListResources) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
  2295  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.ListResources")
  2296  	return cli.Do(ctx, o, metas...)
  2297  }
  2298  
  2299  func (o *ListResources) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModulesResourceListRsp, kit.Metadata, error) {
  2300  	rsp := new(GithubComMachinefiW3BstreamPkgModulesResourceListRsp)
  2301  	meta, err := cli.Do(ctx, o, metas...).Into(rsp)
  2302  	return rsp, meta, err
  2303  }
  2304  
  2305  func (o *ListResources) Invoke(cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModulesResourceListRsp, kit.Metadata, error) {
  2306  	return o.InvokeContext(context.Background(), cli, metas...)
  2307  }
  2308  
  2309  type ListStrategy struct {
  2310  	ProjectName  string                                               `in:"path" name:"projectName" validate:"@projectName"`
  2311  	AuthInHeader string                                               `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
  2312  	AppletIDs    []GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID `in:"query" name:"appletID,omitempty"`
  2313  	AuthInQuery  string                                               `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
  2314  	EventTypes   []string                                             `in:"query" name:"eventType,omitempty"`
  2315  	Handlers     []string                                             `in:"query" name:"handler,omitempty"`
  2316  	Offset       int64                                                `in:"query" default:"0" name:"offset,omitempty" validate:"@int64[0,]"`
  2317  	Size         int64                                                `in:"query" default:"10" name:"size,omitempty" validate:"@int64[-1,]"`
  2318  	StrategyIDs  []GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID `in:"query" name:"strategyID,omitempty"`
  2319  }
  2320  
  2321  func (o *ListStrategy) Path() string {
  2322  	return "/srv-applet-mgr/v0/strategy/x/:projectName/datalist"
  2323  }
  2324  
  2325  func (o *ListStrategy) Method() string {
  2326  	return "GET"
  2327  }
  2328  
  2329  // @StatusErr[AccountIdentityNotFound][404999009][Account Identity Not Found]!
  2330  // @StatusErr[AccountNotFound][404999017][Account Not Found]!
  2331  // @StatusErr[CurrentAccountAbsence][401999013][Current Account Absence]!
  2332  // @StatusErr[DatabaseError][500999002][Database Error]!
  2333  // @StatusErr[DatabaseError][500999002][Database Error]!
  2334  // @StatusErr[DatabaseError][500999002][Database Error]!
  2335  // @StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!
  2336  // @StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!
  2337  // @StatusErr[InvalidClaim][401999003][Invalid Claim]!
  2338  // @StatusErr[InvalidToken][401999002][Invalid Token]!
  2339  // @StatusErr[NoProjectPermission][401999004][No Project Permission]!
  2340  // @StatusErr[ProjectNotFound][404999002][Project Not Found]!
  2341  
  2342  func (o *ListStrategy) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
  2343  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.ListStrategy")
  2344  	return cli.Do(ctx, o, metas...)
  2345  }
  2346  
  2347  func (o *ListStrategy) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModulesStrategyListRsp, kit.Metadata, error) {
  2348  	rsp := new(GithubComMachinefiW3BstreamPkgModulesStrategyListRsp)
  2349  	meta, err := cli.Do(ctx, o, metas...).Into(rsp)
  2350  	return rsp, meta, err
  2351  }
  2352  
  2353  func (o *ListStrategy) Invoke(cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModulesStrategyListRsp, kit.Metadata, error) {
  2354  	return o.InvokeContext(context.Background(), cli, metas...)
  2355  }
  2356  
  2357  type ListTrafficLimit struct {
  2358  	ProjectName  string                                              `in:"path" name:"projectName" validate:"@projectName"`
  2359  	AuthInHeader string                                              `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
  2360  	ApiType      GithubComMachinefiW3BstreamPkgEnumsTrafficLimitType `in:"query" name:"apiType,omitempty"`
  2361  	AuthInQuery  string                                              `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
  2362  	Offset       int64                                               `in:"query" default:"0" name:"offset,omitempty" validate:"@int64[0,]"`
  2363  	Size         int64                                               `in:"query" default:"10" name:"size,omitempty" validate:"@int64[-1,]"`
  2364  }
  2365  
  2366  func (o *ListTrafficLimit) Path() string {
  2367  	return "/srv-applet-mgr/v0/traffic/x/:projectName/datalist"
  2368  }
  2369  
  2370  func (o *ListTrafficLimit) Method() string {
  2371  	return "GET"
  2372  }
  2373  
  2374  // @StatusErr[AccountIdentityNotFound][404999009][Account Identity Not Found]!
  2375  // @StatusErr[AccountNotFound][404999017][Account Not Found]!
  2376  // @StatusErr[CurrentAccountAbsence][401999013][Current Account Absence]!
  2377  // @StatusErr[DatabaseError][500999002][Database Error]!
  2378  // @StatusErr[DatabaseError][500999002][Database Error]!
  2379  // @StatusErr[DatabaseError][500999002][Database Error]!
  2380  // @StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!
  2381  // @StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!
  2382  // @StatusErr[InvalidClaim][401999003][Invalid Claim]!
  2383  // @StatusErr[InvalidToken][401999002][Invalid Token]!
  2384  // @StatusErr[NoAdminPermission][401999006][No Admin Permission]!
  2385  // @StatusErr[NoProjectPermission][401999004][No Project Permission]!
  2386  // @StatusErr[ProjectNotFound][404999002][Project Not Found]!
  2387  
  2388  func (o *ListTrafficLimit) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
  2389  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.ListTrafficLimit")
  2390  	return cli.Do(ctx, o, metas...)
  2391  }
  2392  
  2393  func (o *ListTrafficLimit) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModulesTrafficlimitListRsp, kit.Metadata, error) {
  2394  	rsp := new(GithubComMachinefiW3BstreamPkgModulesTrafficlimitListRsp)
  2395  	meta, err := cli.Do(ctx, o, metas...).Into(rsp)
  2396  	return rsp, meta, err
  2397  }
  2398  
  2399  func (o *ListTrafficLimit) Invoke(cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModulesTrafficlimitListRsp, kit.Metadata, error) {
  2400  	return o.InvokeContext(context.Background(), cli, metas...)
  2401  }
  2402  
  2403  type Liveness struct {
  2404  }
  2405  
  2406  func (o *Liveness) Path() string {
  2407  	return "/liveness"
  2408  }
  2409  
  2410  func (o *Liveness) Method() string {
  2411  	return "GET"
  2412  }
  2413  
  2414  func (o *Liveness) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
  2415  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.Liveness")
  2416  	return cli.Do(ctx, o, metas...)
  2417  }
  2418  
  2419  func (o *Liveness) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (*map[string]string, kit.Metadata, error) {
  2420  	rsp := new(map[string]string)
  2421  	meta, err := cli.Do(ctx, o, metas...).Into(rsp)
  2422  	return rsp, meta, err
  2423  }
  2424  
  2425  func (o *Liveness) Invoke(cli kit.Client, metas ...kit.Metadata) (*map[string]string, kit.Metadata, error) {
  2426  	return o.InvokeContext(context.Background(), cli, metas...)
  2427  }
  2428  
  2429  type LoginByEthAddress struct {
  2430  	LoginByEthAddressReq GithubComMachinefiW3BstreamPkgModulesAccountLoginByEthAddressReq `in:"body"`
  2431  }
  2432  
  2433  func (o *LoginByEthAddress) Path() string {
  2434  	return "/srv-applet-mgr/v0/login/wallet"
  2435  }
  2436  
  2437  func (o *LoginByEthAddress) Method() string {
  2438  	return "PUT"
  2439  }
  2440  
  2441  // @StatusErr[AccountIdentityConflict][409999014][Account Identity Conflict]!
  2442  // @StatusErr[AccountNotFound][404999017][Account Not Found]!
  2443  // @StatusErr[DatabaseError][500999002][Database Error]!
  2444  // @StatusErr[DisabledAccount][403999002][Disabled Account]!
  2445  // @StatusErr[GenTokenFailed][500999013][Gen Token Failed]!
  2446  // @StatusErr[InvalidEthLoginMessage][401999011][Invalid Siwe Message]!
  2447  // @StatusErr[InvalidEthLoginSignature][401999010][Invalid Siwe Signature]!
  2448  // @StatusErr[OperatorConflict][409999017][Operator Conflict]!
  2449  // @StatusErr[WhiteListForbidden][403999003][White List Forbidden]!
  2450  
  2451  func (o *LoginByEthAddress) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
  2452  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.LoginByEthAddress")
  2453  	return cli.Do(ctx, o, metas...)
  2454  }
  2455  
  2456  func (o *LoginByEthAddress) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModulesAccountLoginRsp, kit.Metadata, error) {
  2457  	rsp := new(GithubComMachinefiW3BstreamPkgModulesAccountLoginRsp)
  2458  	meta, err := cli.Do(ctx, o, metas...).Into(rsp)
  2459  	return rsp, meta, err
  2460  }
  2461  
  2462  func (o *LoginByEthAddress) Invoke(cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModulesAccountLoginRsp, kit.Metadata, error) {
  2463  	return o.InvokeContext(context.Background(), cli, metas...)
  2464  }
  2465  
  2466  type LoginByUsername struct {
  2467  	LoginByUsernameReq GithubComMachinefiW3BstreamPkgModulesAccountLoginByUsernameReq `in:"body"`
  2468  }
  2469  
  2470  func (o *LoginByUsername) Path() string {
  2471  	return "/srv-applet-mgr/v0/login"
  2472  }
  2473  
  2474  func (o *LoginByUsername) Method() string {
  2475  	return "PUT"
  2476  }
  2477  
  2478  // @StatusErr[AccountIdentityNotFound][404999009][Account Identity Not Found]!
  2479  // @StatusErr[AccountNotFound][404999017][Account Not Found]!
  2480  // @StatusErr[AccountPasswordNotFound][404999018][Account Password Not Found]!
  2481  // @StatusErr[DatabaseError][500999002][Database Error]!
  2482  // @StatusErr[DisabledAccount][403999002][Disabled Account]!
  2483  // @StatusErr[GenTokenFailed][500999013][Gen Token Failed]!
  2484  // @StatusErr[InvalidPassword][401999009][Invalid Password]!
  2485  
  2486  func (o *LoginByUsername) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
  2487  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.LoginByUsername")
  2488  	return cli.Do(ctx, o, metas...)
  2489  }
  2490  
  2491  func (o *LoginByUsername) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModulesAccountLoginRsp, kit.Metadata, error) {
  2492  	rsp := new(GithubComMachinefiW3BstreamPkgModulesAccountLoginRsp)
  2493  	meta, err := cli.Do(ctx, o, metas...).Into(rsp)
  2494  	return rsp, meta, err
  2495  }
  2496  
  2497  func (o *LoginByUsername) Invoke(cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModulesAccountLoginRsp, kit.Metadata, error) {
  2498  	return o.InvokeContext(context.Background(), cli, metas...)
  2499  }
  2500  
  2501  type RemoveApplet struct {
  2502  	AppletID     GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID `in:"path" name:"appletID"`
  2503  	AuthInHeader string                                             `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
  2504  	AuthInQuery  string                                             `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
  2505  }
  2506  
  2507  func (o *RemoveApplet) Path() string {
  2508  	return "/srv-applet-mgr/v0/applet/data/:appletID"
  2509  }
  2510  
  2511  func (o *RemoveApplet) Method() string {
  2512  	return "DELETE"
  2513  }
  2514  
  2515  func (o *RemoveApplet) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
  2516  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.RemoveApplet")
  2517  	return cli.Do(ctx, o, metas...)
  2518  }
  2519  
  2520  func (o *RemoveApplet) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (kit.Metadata, error) {
  2521  	meta, err := cli.Do(ctx, o, metas...).Into(nil)
  2522  	return meta, err
  2523  }
  2524  
  2525  func (o *RemoveApplet) Invoke(cli kit.Client, metas ...kit.Metadata) (kit.Metadata, error) {
  2526  	return o.InvokeContext(context.Background(), cli, metas...)
  2527  }
  2528  
  2529  type RemoveChainHeight struct {
  2530  	ChainHeightID GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID `in:"path" name:"chainHeightID"`
  2531  	ProjectName   string                                             `in:"path" name:"projectName" validate:"@projectName"`
  2532  	AuthInHeader  string                                             `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
  2533  	AuthInQuery   string                                             `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
  2534  }
  2535  
  2536  func (o *RemoveChainHeight) Path() string {
  2537  	return "/srv-applet-mgr/v0/monitor/x/:projectName/chain_height/:chainHeightID"
  2538  }
  2539  
  2540  func (o *RemoveChainHeight) Method() string {
  2541  	return "DELETE"
  2542  }
  2543  
  2544  func (o *RemoveChainHeight) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
  2545  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.RemoveChainHeight")
  2546  	return cli.Do(ctx, o, metas...)
  2547  }
  2548  
  2549  func (o *RemoveChainHeight) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (kit.Metadata, error) {
  2550  	meta, err := cli.Do(ctx, o, metas...).Into(nil)
  2551  	return meta, err
  2552  }
  2553  
  2554  func (o *RemoveChainHeight) Invoke(cli kit.Client, metas ...kit.Metadata) (kit.Metadata, error) {
  2555  	return o.InvokeContext(context.Background(), cli, metas...)
  2556  }
  2557  
  2558  type RemoveChainTx struct {
  2559  	ChainTxID    GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID `in:"path" name:"chainTxID"`
  2560  	ProjectName  string                                             `in:"path" name:"projectName" validate:"@projectName"`
  2561  	AuthInHeader string                                             `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
  2562  	AuthInQuery  string                                             `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
  2563  }
  2564  
  2565  func (o *RemoveChainTx) Path() string {
  2566  	return "/srv-applet-mgr/v0/monitor/x/:projectName/chain_tx/:chainTxID"
  2567  }
  2568  
  2569  func (o *RemoveChainTx) Method() string {
  2570  	return "DELETE"
  2571  }
  2572  
  2573  func (o *RemoveChainTx) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
  2574  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.RemoveChainTx")
  2575  	return cli.Do(ctx, o, metas...)
  2576  }
  2577  
  2578  func (o *RemoveChainTx) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (kit.Metadata, error) {
  2579  	meta, err := cli.Do(ctx, o, metas...).Into(nil)
  2580  	return meta, err
  2581  }
  2582  
  2583  func (o *RemoveChainTx) Invoke(cli kit.Client, metas ...kit.Metadata) (kit.Metadata, error) {
  2584  	return o.InvokeContext(context.Background(), cli, metas...)
  2585  }
  2586  
  2587  type RemoveContractLog struct {
  2588  	ContractLogID GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID `in:"path" name:"contractLogID"`
  2589  	ProjectName   string                                             `in:"path" name:"projectName" validate:"@projectName"`
  2590  	AuthInHeader  string                                             `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
  2591  	AuthInQuery   string                                             `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
  2592  }
  2593  
  2594  func (o *RemoveContractLog) Path() string {
  2595  	return "/srv-applet-mgr/v0/monitor/x/:projectName/contract_log/:contractLogID"
  2596  }
  2597  
  2598  func (o *RemoveContractLog) Method() string {
  2599  	return "DELETE"
  2600  }
  2601  
  2602  func (o *RemoveContractLog) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
  2603  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.RemoveContractLog")
  2604  	return cli.Do(ctx, o, metas...)
  2605  }
  2606  
  2607  func (o *RemoveContractLog) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (kit.Metadata, error) {
  2608  	meta, err := cli.Do(ctx, o, metas...).Into(nil)
  2609  	return meta, err
  2610  }
  2611  
  2612  func (o *RemoveContractLog) Invoke(cli kit.Client, metas ...kit.Metadata) (kit.Metadata, error) {
  2613  	return o.InvokeContext(context.Background(), cli, metas...)
  2614  }
  2615  
  2616  type RemoveCronJob struct {
  2617  	CronJobID    GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID `in:"path" name:"cronJobID"`
  2618  	AuthInHeader string                                             `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
  2619  	AuthInQuery  string                                             `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
  2620  }
  2621  
  2622  func (o *RemoveCronJob) Path() string {
  2623  	return "/srv-applet-mgr/v0/cronjob/data/:cronJobID"
  2624  }
  2625  
  2626  func (o *RemoveCronJob) Method() string {
  2627  	return "DELETE"
  2628  }
  2629  
  2630  func (o *RemoveCronJob) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
  2631  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.RemoveCronJob")
  2632  	return cli.Do(ctx, o, metas...)
  2633  }
  2634  
  2635  func (o *RemoveCronJob) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (kit.Metadata, error) {
  2636  	meta, err := cli.Do(ctx, o, metas...).Into(nil)
  2637  	return meta, err
  2638  }
  2639  
  2640  func (o *RemoveCronJob) Invoke(cli kit.Client, metas ...kit.Metadata) (kit.Metadata, error) {
  2641  	return o.InvokeContext(context.Background(), cli, metas...)
  2642  }
  2643  
  2644  type RemoveInstance struct {
  2645  	InstanceID   GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID `in:"path" name:"instanceID"`
  2646  	AuthInHeader string                                             `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
  2647  	AuthInQuery  string                                             `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
  2648  }
  2649  
  2650  func (o *RemoveInstance) Path() string {
  2651  	return "/srv-applet-mgr/v0/deploy/data/:instanceID"
  2652  }
  2653  
  2654  func (o *RemoveInstance) Method() string {
  2655  	return "DELETE"
  2656  }
  2657  
  2658  func (o *RemoveInstance) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
  2659  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.RemoveInstance")
  2660  	return cli.Do(ctx, o, metas...)
  2661  }
  2662  
  2663  func (o *RemoveInstance) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (kit.Metadata, error) {
  2664  	meta, err := cli.Do(ctx, o, metas...).Into(nil)
  2665  	return meta, err
  2666  }
  2667  
  2668  func (o *RemoveInstance) Invoke(cli kit.Client, metas ...kit.Metadata) (kit.Metadata, error) {
  2669  	return o.InvokeContext(context.Background(), cli, metas...)
  2670  }
  2671  
  2672  type RemoveOperator struct {
  2673  	OperatorID   GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID `in:"path" name:"operatorID"`
  2674  	AuthInHeader string                                             `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
  2675  	AuthInQuery  string                                             `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
  2676  }
  2677  
  2678  func (o *RemoveOperator) Path() string {
  2679  	return "/srv-applet-mgr/v0/operator/data/:operatorID"
  2680  }
  2681  
  2682  func (o *RemoveOperator) Method() string {
  2683  	return "DELETE"
  2684  }
  2685  
  2686  func (o *RemoveOperator) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
  2687  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.RemoveOperator")
  2688  	return cli.Do(ctx, o, metas...)
  2689  }
  2690  
  2691  func (o *RemoveOperator) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (kit.Metadata, error) {
  2692  	meta, err := cli.Do(ctx, o, metas...).Into(nil)
  2693  	return meta, err
  2694  }
  2695  
  2696  func (o *RemoveOperator) Invoke(cli kit.Client, metas ...kit.Metadata) (kit.Metadata, error) {
  2697  	return o.InvokeContext(context.Background(), cli, metas...)
  2698  }
  2699  
  2700  type RemoveProject struct {
  2701  	ProjectName  string `in:"path" name:"projectName" validate:"@projectName"`
  2702  	AuthInHeader string `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
  2703  	AuthInQuery  string `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
  2704  }
  2705  
  2706  func (o *RemoveProject) Path() string {
  2707  	return "/srv-applet-mgr/v0/project/x/:projectName"
  2708  }
  2709  
  2710  func (o *RemoveProject) Method() string {
  2711  	return "DELETE"
  2712  }
  2713  
  2714  func (o *RemoveProject) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
  2715  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.RemoveProject")
  2716  	return cli.Do(ctx, o, metas...)
  2717  }
  2718  
  2719  func (o *RemoveProject) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (kit.Metadata, error) {
  2720  	meta, err := cli.Do(ctx, o, metas...).Into(nil)
  2721  	return meta, err
  2722  }
  2723  
  2724  func (o *RemoveProject) Invoke(cli kit.Client, metas ...kit.Metadata) (kit.Metadata, error) {
  2725  	return o.InvokeContext(context.Background(), cli, metas...)
  2726  }
  2727  
  2728  type RemoveProjectOperator struct {
  2729  	ProjectID    GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID `in:"path" name:"projectID"`
  2730  	AuthInHeader string                                             `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
  2731  	AuthInQuery  string                                             `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
  2732  }
  2733  
  2734  func (o *RemoveProjectOperator) Path() string {
  2735  	return "/srv-applet-mgr/v0/project_operator/:projectID"
  2736  }
  2737  
  2738  func (o *RemoveProjectOperator) Method() string {
  2739  	return "DELETE"
  2740  }
  2741  
  2742  func (o *RemoveProjectOperator) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
  2743  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.RemoveProjectOperator")
  2744  	return cli.Do(ctx, o, metas...)
  2745  }
  2746  
  2747  func (o *RemoveProjectOperator) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (kit.Metadata, error) {
  2748  	meta, err := cli.Do(ctx, o, metas...).Into(nil)
  2749  	return meta, err
  2750  }
  2751  
  2752  func (o *RemoveProjectOperator) Invoke(cli kit.Client, metas ...kit.Metadata) (kit.Metadata, error) {
  2753  	return o.InvokeContext(context.Background(), cli, metas...)
  2754  }
  2755  
  2756  type RemovePublisher struct {
  2757  	PublisherID  GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID `in:"path" name:"publisherID"`
  2758  	AuthInHeader string                                             `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
  2759  	AuthInQuery  string                                             `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
  2760  }
  2761  
  2762  func (o *RemovePublisher) Path() string {
  2763  	return "/srv-applet-mgr/v0/publisher/data/:publisherID"
  2764  }
  2765  
  2766  func (o *RemovePublisher) Method() string {
  2767  	return "DELETE"
  2768  }
  2769  
  2770  func (o *RemovePublisher) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
  2771  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.RemovePublisher")
  2772  	return cli.Do(ctx, o, metas...)
  2773  }
  2774  
  2775  func (o *RemovePublisher) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (kit.Metadata, error) {
  2776  	meta, err := cli.Do(ctx, o, metas...).Into(nil)
  2777  	return meta, err
  2778  }
  2779  
  2780  func (o *RemovePublisher) Invoke(cli kit.Client, metas ...kit.Metadata) (kit.Metadata, error) {
  2781  	return o.InvokeContext(context.Background(), cli, metas...)
  2782  }
  2783  
  2784  type RemoveResource struct {
  2785  	ResourceID   GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID `in:"path" name:"resourceID"`
  2786  	AuthInHeader string                                             `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
  2787  	AuthInQuery  string                                             `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
  2788  }
  2789  
  2790  func (o *RemoveResource) Path() string {
  2791  	return "/srv-applet-mgr/v0/resource/:resourceID"
  2792  }
  2793  
  2794  func (o *RemoveResource) Method() string {
  2795  	return "DELETE"
  2796  }
  2797  
  2798  func (o *RemoveResource) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
  2799  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.RemoveResource")
  2800  	return cli.Do(ctx, o, metas...)
  2801  }
  2802  
  2803  func (o *RemoveResource) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (kit.Metadata, error) {
  2804  	meta, err := cli.Do(ctx, o, metas...).Into(nil)
  2805  	return meta, err
  2806  }
  2807  
  2808  func (o *RemoveResource) Invoke(cli kit.Client, metas ...kit.Metadata) (kit.Metadata, error) {
  2809  	return o.InvokeContext(context.Background(), cli, metas...)
  2810  }
  2811  
  2812  type RemoveStrategy struct {
  2813  	StrategyID   GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID `in:"path" name:"strategyID"`
  2814  	AuthInHeader string                                             `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
  2815  	AuthInQuery  string                                             `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
  2816  }
  2817  
  2818  func (o *RemoveStrategy) Path() string {
  2819  	return "/srv-applet-mgr/v0/strategy/data/:strategyID"
  2820  }
  2821  
  2822  func (o *RemoveStrategy) Method() string {
  2823  	return "DELETE"
  2824  }
  2825  
  2826  func (o *RemoveStrategy) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
  2827  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.RemoveStrategy")
  2828  	return cli.Do(ctx, o, metas...)
  2829  }
  2830  
  2831  func (o *RemoveStrategy) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (kit.Metadata, error) {
  2832  	meta, err := cli.Do(ctx, o, metas...).Into(nil)
  2833  	return meta, err
  2834  }
  2835  
  2836  func (o *RemoveStrategy) Invoke(cli kit.Client, metas ...kit.Metadata) (kit.Metadata, error) {
  2837  	return o.InvokeContext(context.Background(), cli, metas...)
  2838  }
  2839  
  2840  type RemoveTrafficLimit struct {
  2841  	ProjectName    string                                             `in:"path" name:"projectName" validate:"@projectName"`
  2842  	TrafficLimitID GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID `in:"path" name:"trafficLimitID"`
  2843  	AuthInHeader   string                                             `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
  2844  	AuthInQuery    string                                             `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
  2845  }
  2846  
  2847  func (o *RemoveTrafficLimit) Path() string {
  2848  	return "/srv-applet-mgr/v0/traffic/x/:projectName/data/:trafficLimitID"
  2849  }
  2850  
  2851  func (o *RemoveTrafficLimit) Method() string {
  2852  	return "DELETE"
  2853  }
  2854  
  2855  func (o *RemoveTrafficLimit) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
  2856  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.RemoveTrafficLimit")
  2857  	return cli.Do(ctx, o, metas...)
  2858  }
  2859  
  2860  func (o *RemoveTrafficLimit) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (kit.Metadata, error) {
  2861  	meta, err := cli.Do(ctx, o, metas...).Into(nil)
  2862  	return meta, err
  2863  }
  2864  
  2865  func (o *RemoveTrafficLimit) Invoke(cli kit.Client, metas ...kit.Metadata) (kit.Metadata, error) {
  2866  	return o.InvokeContext(context.Background(), cli, metas...)
  2867  }
  2868  
  2869  type RemoveWasmLogByInstanceID struct {
  2870  	InstanceID   GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID `in:"path" name:"instanceID"`
  2871  	AuthInHeader string                                             `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
  2872  	AuthInQuery  string                                             `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
  2873  }
  2874  
  2875  func (o *RemoveWasmLogByInstanceID) Path() string {
  2876  	return "/srv-applet-mgr/v0/wasmlog/:instanceID"
  2877  }
  2878  
  2879  func (o *RemoveWasmLogByInstanceID) Method() string {
  2880  	return "DELETE"
  2881  }
  2882  
  2883  func (o *RemoveWasmLogByInstanceID) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
  2884  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.RemoveWasmLogByInstanceID")
  2885  	return cli.Do(ctx, o, metas...)
  2886  }
  2887  
  2888  func (o *RemoveWasmLogByInstanceID) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (kit.Metadata, error) {
  2889  	meta, err := cli.Do(ctx, o, metas...).Into(nil)
  2890  	return meta, err
  2891  }
  2892  
  2893  func (o *RemoveWasmLogByInstanceID) Invoke(cli kit.Client, metas ...kit.Metadata) (kit.Metadata, error) {
  2894  	return o.InvokeContext(context.Background(), cli, metas...)
  2895  }
  2896  
  2897  type UpdateAccountAccessKeyByName struct {
  2898  	Name         string                                                  `in:"path" name:"name"`
  2899  	AuthInHeader string                                                  `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
  2900  	AuthInQuery  string                                                  `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
  2901  	UpdateReq    GithubComMachinefiW3BstreamPkgModulesAccessKeyUpdateReq `in:"body"`
  2902  }
  2903  
  2904  func (o *UpdateAccountAccessKeyByName) Path() string {
  2905  	return "/srv-applet-mgr/v0/account_access_key/:name"
  2906  }
  2907  
  2908  func (o *UpdateAccountAccessKeyByName) Method() string {
  2909  	return "PUT"
  2910  }
  2911  
  2912  // @StatusErr[AccessKeyNotFound][404999022][Account Key Not Found]!
  2913  // @StatusErr[AccountNotFound][404999017][Account Not Found]!
  2914  // @StatusErr[DatabaseError][500999002][Database Error]!
  2915  // @StatusErr[DatabaseError][500999002][Database Error]!
  2916  // @StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!
  2917  // @StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!
  2918  // @StatusErr[InvalidClaim][401999003][Invalid Claim]!
  2919  // @StatusErr[InvalidToken][401999002][Invalid Token]!
  2920  
  2921  func (o *UpdateAccountAccessKeyByName) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
  2922  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.UpdateAccountAccessKeyByName")
  2923  	return cli.Do(ctx, o, metas...)
  2924  }
  2925  
  2926  func (o *UpdateAccountAccessKeyByName) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModulesAccessKeyUpdateRsp, kit.Metadata, error) {
  2927  	rsp := new(GithubComMachinefiW3BstreamPkgModulesAccessKeyUpdateRsp)
  2928  	meta, err := cli.Do(ctx, o, metas...).Into(rsp)
  2929  	return rsp, meta, err
  2930  }
  2931  
  2932  func (o *UpdateAccountAccessKeyByName) Invoke(cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModulesAccessKeyUpdateRsp, kit.Metadata, error) {
  2933  	return o.InvokeContext(context.Background(), cli, metas...)
  2934  }
  2935  
  2936  type UpdateApplet struct {
  2937  	AppletID     GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID   `in:"path" name:"appletID"`
  2938  	AuthInHeader string                                               `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
  2939  	AuthInQuery  string                                               `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
  2940  	UpdateReq    GithubComMachinefiW3BstreamPkgModulesAppletUpdateReq `in:"body" mime:"multipart"`
  2941  }
  2942  
  2943  func (o *UpdateApplet) Path() string {
  2944  	return "/srv-applet-mgr/v0/applet/:appletID"
  2945  }
  2946  
  2947  func (o *UpdateApplet) Method() string {
  2948  	return "PUT"
  2949  }
  2950  
  2951  // @StatusErr[AccountNotFound][404999017][Account Not Found]!
  2952  // @StatusErr[AppletNameConflict][409999009][Applet Name Conflict]!
  2953  // @StatusErr[AppletNotFound][404999005][Applet Not Found]!
  2954  // @StatusErr[ConfigConflict][409999006][Config Conflict]!
  2955  // @StatusErr[ConfigInitFailed][500999005][Config Init Failed]!
  2956  // @StatusErr[ConfigParseFailed][500999007][Config Parse Failed]!
  2957  // @StatusErr[ConfigUninitFailed][500999006][Config Uninit Failed]!
  2958  // @StatusErr[CreateInstanceFailed][500999008][Create Instance Failed]!
  2959  // @StatusErr[DatabaseError][500999002][Database Error]!
  2960  // @StatusErr[DatabaseError][500999002][Database Error]!
  2961  // @StatusErr[InstanceNotFound][404999006][Instance Not Found]!
  2962  // @StatusErr[InvalidAppletContext][401999016][Invalid Applet]!
  2963  // @StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!
  2964  // @StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!
  2965  // @StatusErr[InvalidClaim][401999003][Invalid Claim]!
  2966  // @StatusErr[InvalidConfigType][400999002][Invalid Config Type]!
  2967  // @StatusErr[InvalidToken][401999002][Invalid Token]!
  2968  // @StatusErr[InvalidVMState][400999012][Invalid VM State]!
  2969  // @StatusErr[MultiInstanceDeployed][409999008][Multi Instance Deployed]!
  2970  // @StatusErr[NoProjectPermission][401999004][No Project Permission]!
  2971  // @StatusErr[ProjectNotFound][404999002][Project Not Found]!
  2972  // @StatusErr[ProjectOperatorNotFound][404999021][Project Operator relationship Not Found]!
  2973  // @StatusErr[ResourceConflict][409999003][Resource Conflict]!
  2974  // @StatusErr[StrategyConflict][409999005][Strategy Conflict]!
  2975  // @StatusErr[UploadFileDiskLimit][403999006][Upload File Disk Limit]!
  2976  // @StatusErr[UploadFileFailed][500999003][Upload File Failed]!
  2977  // @StatusErr[UploadFileMd5Unmatched][403999005][Upload File Md5 Unmatched]!
  2978  // @StatusErr[UploadFileSizeLimit][403999004][Upload File Size Limit]!
  2979  
  2980  func (o *UpdateApplet) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
  2981  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.UpdateApplet")
  2982  	return cli.Do(ctx, o, metas...)
  2983  }
  2984  
  2985  func (o *UpdateApplet) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModulesAppletCreateRsp, kit.Metadata, error) {
  2986  	rsp := new(GithubComMachinefiW3BstreamPkgModulesAppletCreateRsp)
  2987  	meta, err := cli.Do(ctx, o, metas...).Into(rsp)
  2988  	return rsp, meta, err
  2989  }
  2990  
  2991  func (o *UpdateApplet) Invoke(cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModulesAppletCreateRsp, kit.Metadata, error) {
  2992  	return o.InvokeContext(context.Background(), cli, metas...)
  2993  }
  2994  
  2995  type UpdatePasswordByAccountID struct {
  2996  	AuthInHeader      string                                                        `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
  2997  	AuthInQuery       string                                                        `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
  2998  	UpdatePasswordReq GithubComMachinefiW3BstreamPkgModulesAccountUpdatePasswordReq `in:"body"`
  2999  }
  3000  
  3001  func (o *UpdatePasswordByAccountID) Path() string {
  3002  	return "/srv-applet-mgr/v0/account"
  3003  }
  3004  
  3005  func (o *UpdatePasswordByAccountID) Method() string {
  3006  	return "PUT"
  3007  }
  3008  
  3009  func (o *UpdatePasswordByAccountID) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
  3010  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.UpdatePasswordByAccountID")
  3011  	return cli.Do(ctx, o, metas...)
  3012  }
  3013  
  3014  func (o *UpdatePasswordByAccountID) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (kit.Metadata, error) {
  3015  	meta, err := cli.Do(ctx, o, metas...).Into(nil)
  3016  	return meta, err
  3017  }
  3018  
  3019  func (o *UpdatePasswordByAccountID) Invoke(cli kit.Client, metas ...kit.Metadata) (kit.Metadata, error) {
  3020  	return o.InvokeContext(context.Background(), cli, metas...)
  3021  }
  3022  
  3023  type UpdatePublisher struct {
  3024  	ProjectName  string                                                  `in:"path" name:"projectName" validate:"@projectName"`
  3025  	PublisherID  GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID      `in:"path" name:"publisherID"`
  3026  	AuthInHeader string                                                  `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
  3027  	AuthInQuery  string                                                  `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
  3028  	UpdateReq    GithubComMachinefiW3BstreamPkgModulesPublisherUpdateReq `in:"body"`
  3029  }
  3030  
  3031  func (o *UpdatePublisher) Path() string {
  3032  	return "/srv-applet-mgr/v0/publisher/x/:projectName/:publisherID"
  3033  }
  3034  
  3035  func (o *UpdatePublisher) Method() string {
  3036  	return "PUT"
  3037  }
  3038  
  3039  func (o *UpdatePublisher) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
  3040  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.UpdatePublisher")
  3041  	return cli.Do(ctx, o, metas...)
  3042  }
  3043  
  3044  func (o *UpdatePublisher) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (kit.Metadata, error) {
  3045  	meta, err := cli.Do(ctx, o, metas...).Into(nil)
  3046  	return meta, err
  3047  }
  3048  
  3049  func (o *UpdatePublisher) Invoke(cli kit.Client, metas ...kit.Metadata) (kit.Metadata, error) {
  3050  	return o.InvokeContext(context.Background(), cli, metas...)
  3051  }
  3052  
  3053  type UpdateStrategy struct {
  3054  	StrategyID   GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID     `in:"path" name:"strategyID"`
  3055  	AuthInHeader string                                                 `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
  3056  	AuthInQuery  string                                                 `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
  3057  	UpdateReq    GithubComMachinefiW3BstreamPkgModulesStrategyCreateReq `in:"body"`
  3058  }
  3059  
  3060  func (o *UpdateStrategy) Path() string {
  3061  	return "/srv-applet-mgr/v0/strategy/:strategyID"
  3062  }
  3063  
  3064  func (o *UpdateStrategy) Method() string {
  3065  	return "PUT"
  3066  }
  3067  
  3068  func (o *UpdateStrategy) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
  3069  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.UpdateStrategy")
  3070  	return cli.Do(ctx, o, metas...)
  3071  }
  3072  
  3073  func (o *UpdateStrategy) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (kit.Metadata, error) {
  3074  	meta, err := cli.Do(ctx, o, metas...).Into(nil)
  3075  	return meta, err
  3076  }
  3077  
  3078  func (o *UpdateStrategy) Invoke(cli kit.Client, metas ...kit.Metadata) (kit.Metadata, error) {
  3079  	return o.InvokeContext(context.Background(), cli, metas...)
  3080  }
  3081  
  3082  type UpdateTrafficLimit struct {
  3083  	ProjectName    string                                                     `in:"path" name:"projectName" validate:"@projectName"`
  3084  	TrafficLimitID GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID         `in:"path" name:"trafficLimitID"`
  3085  	AuthInHeader   string                                                     `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
  3086  	AuthInQuery    string                                                     `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
  3087  	UpdateReq      GithubComMachinefiW3BstreamPkgModulesTrafficlimitUpdateReq `in:"body"`
  3088  }
  3089  
  3090  func (o *UpdateTrafficLimit) Path() string {
  3091  	return "/srv-applet-mgr/v0/traffic/x/:projectName/:trafficLimitID"
  3092  }
  3093  
  3094  func (o *UpdateTrafficLimit) Method() string {
  3095  	return "PUT"
  3096  }
  3097  
  3098  // @StatusErr[AccountIdentityNotFound][404999009][Account Identity Not Found]!
  3099  // @StatusErr[AccountNotFound][404999017][Account Not Found]!
  3100  // @StatusErr[CurrentAccountAbsence][401999013][Current Account Absence]!
  3101  // @StatusErr[DatabaseError][500999002][Database Error]!
  3102  // @StatusErr[DatabaseError][500999002][Database Error]!
  3103  // @StatusErr[DatabaseError][500999002][Database Error]!
  3104  // @StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!
  3105  // @StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!
  3106  // @StatusErr[InvalidClaim][401999003][Invalid Claim]!
  3107  // @StatusErr[InvalidToken][401999002][Invalid Token]!
  3108  // @StatusErr[NoAdminPermission][401999006][No Admin Permission]!
  3109  // @StatusErr[TrafficLimitNotFound][404999020][Traffic Limit Not Found]!
  3110  
  3111  func (o *UpdateTrafficLimit) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
  3112  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.UpdateTrafficLimit")
  3113  	return cli.Do(ctx, o, metas...)
  3114  }
  3115  
  3116  func (o *UpdateTrafficLimit) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModelsTrafficLimit, kit.Metadata, error) {
  3117  	rsp := new(GithubComMachinefiW3BstreamPkgModelsTrafficLimit)
  3118  	meta, err := cli.Do(ctx, o, metas...).Into(rsp)
  3119  	return rsp, meta, err
  3120  }
  3121  
  3122  func (o *UpdateTrafficLimit) Invoke(cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModelsTrafficLimit, kit.Metadata, error) {
  3123  	return o.InvokeContext(context.Background(), cli, metas...)
  3124  }
  3125  
  3126  type UpsertPublisher struct {
  3127  	ProjectName  string                                                  `in:"path" name:"projectName" validate:"@projectName"`
  3128  	AuthInHeader string                                                  `in:"header" name:"Authorization,omitempty" validate:"@string[1,]"`
  3129  	AuthInQuery  string                                                  `in:"query" name:"authorization,omitempty" validate:"@string[1,]"`
  3130  	CreateReq    GithubComMachinefiW3BstreamPkgModulesPublisherCreateReq `in:"body"`
  3131  }
  3132  
  3133  func (o *UpsertPublisher) Path() string {
  3134  	return "/srv-applet-mgr/v0/publisher/x/:projectName/upsert"
  3135  }
  3136  
  3137  func (o *UpsertPublisher) Method() string {
  3138  	return "POST"
  3139  }
  3140  
  3141  // @StatusErr[AccessKeyNameConflict][409999020][Access Key Name Conflict]!
  3142  // @StatusErr[AccountIdentityNotFound][404999009][Account Identity Not Found]!
  3143  // @StatusErr[AccountNotFound][404999017][Account Not Found]!
  3144  // @StatusErr[CurrentAccountAbsence][401999013][Current Account Absence]!
  3145  // @StatusErr[DatabaseError][500999002][Database Error]!
  3146  // @StatusErr[DatabaseError][500999002][Database Error]!
  3147  // @StatusErr[DatabaseError][500999002][Database Error]!
  3148  // @StatusErr[InvalidAccessKeyIdentityType][400999013][Invalid Access Key Identity Type]!
  3149  // @StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!
  3150  // @StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!
  3151  // @StatusErr[InvalidClaim][401999003][Invalid Claim]!
  3152  // @StatusErr[InvalidToken][401999002][Invalid Token]!
  3153  // @StatusErr[NoProjectPermission][401999004][No Project Permission]!
  3154  // @StatusErr[ProjectNotFound][404999002][Project Not Found]!
  3155  // @StatusErr[PublisherConflict][409999007][Publisher Conflict]!
  3156  
  3157  func (o *UpsertPublisher) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
  3158  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.UpsertPublisher")
  3159  	return cli.Do(ctx, o, metas...)
  3160  }
  3161  
  3162  func (o *UpsertPublisher) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModelsPublisher, kit.Metadata, error) {
  3163  	rsp := new(GithubComMachinefiW3BstreamPkgModelsPublisher)
  3164  	meta, err := cli.Do(ctx, o, metas...).Into(rsp)
  3165  	return rsp, meta, err
  3166  }
  3167  
  3168  func (o *UpsertPublisher) Invoke(cli kit.Client, metas ...kit.Metadata) (*GithubComMachinefiW3BstreamPkgModelsPublisher, kit.Metadata, error) {
  3169  	return o.InvokeContext(context.Background(), cli, metas...)
  3170  }
  3171  
  3172  type VersionRouter struct {
  3173  }
  3174  
  3175  func (o *VersionRouter) Path() string {
  3176  	return "/version"
  3177  }
  3178  
  3179  func (o *VersionRouter) Method() string {
  3180  	return "GET"
  3181  }
  3182  
  3183  func (o *VersionRouter) Do(ctx context.Context, cli kit.Client, metas ...kit.Metadata) kit.Result {
  3184  	ctx = metax.ContextWith(ctx, "operationID", "applet-mgr.VersionRouter")
  3185  	return cli.Do(ctx, o, metas...)
  3186  }
  3187  
  3188  func (o *VersionRouter) InvokeContext(ctx context.Context, cli kit.Client, metas ...kit.Metadata) (*string, kit.Metadata, error) {
  3189  	rsp := new(string)
  3190  	meta, err := cli.Do(ctx, o, metas...).Into(rsp)
  3191  	return rsp, meta, err
  3192  }
  3193  
  3194  func (o *VersionRouter) Invoke(cli kit.Client, metas ...kit.Metadata) (*string, kit.Metadata, error) {
  3195  	return o.InvokeContext(context.Background(), cli, metas...)
  3196  }