···2626//
2727// commits: Filter pipelines by commits. When provided, maximum one pipeline per commit id will be returned.
2828// cursor: Pagination cursor
2929+// kinds: Filter pipelines by trigger kind. When provided, pipelines matching any listed kind are returned; when omitted, every kind is returned.
2930// limit: Maximum number of pipelines to return
3031// repo: DID of the repository
3131-func CiQueryPipelines(ctx context.Context, c util.LexClient, commits []string, cursor string, limit int64, repo string) (*CiQueryPipelines_Output, error) {
3232+func CiQueryPipelines(ctx context.Context, c util.LexClient, commits []string, cursor string, kinds []string, limit int64, repo string) (*CiQueryPipelines_Output, error) {
3233 var out CiQueryPipelines_Output
33343435 params := map[string]interface{}{}
···3738 }
3839 if cursor != "" {
3940 params["cursor"] = cursor
4141+ }
4242+ if len(kinds) != 0 {
4343+ params["kinds"] = kinds
4044 }
4145 if limit != 0 {
4246 params["limit"] = limit
···2222 },
2323 "description": "Filter pipelines by commits. When provided, maximum one pipeline per commit id will be returned."
2424 },
2525+ "kinds": {
2626+ "type": "array",
2727+ "items": {
2828+ "type": "string",
2929+ "enum": ["push", "pull_request", "manual"]
3030+ },
3131+ "description": "Filter pipelines by trigger kind. When provided, pipelines matching any listed kind are returned; when omitted, every kind is returned."
3232+ },
2533 "limit": {
2634 "type": "integer",
2735 "description": "Maximum number of pipelines to return",