Comparing version 5.0.0-rc.5 to 5.0.0-rc.6
# [5.0.0-rc.1](https://github.com/jdalrymple/node-gitlab/compare/4.2.0...5.0.0) (2018-11-07) | ||
# [5.0.0](https://github.com/jdalrymple/node-gitlab/compare/4.2.0...5.0.0) (2018-12-19) | ||
@@ -23,3 +23,5 @@ ### Breaking | ||
## Features | ||
* Adding the ability to add sudo to specific requests (780244f (https://github.com/jdalrymple/node-gitlab/commit/780244f)) | ||
* Added the ability to add sudo to specific requests (780244f (https://github.com/jdalrymple/node-gitlab/commit/780244f)) | ||
* Added the missing edit function to the Groups API | ||
* Added LDAP support to the Groups API | ||
@@ -30,2 +32,44 @@ ## Documentation | ||
# [4.3.0](https://github.com/jdalrymple/node-gitlab/compare/4.2.7...4.3.0) (2018-12-12) | ||
### Features | ||
* **services:** add protected tags ([8203830](https://github.com/jdalrymple/node-gitlab/commit/8203830)) | ||
## [4.2.7](https://github.com/jdalrymple/node-gitlab/compare/4.2.6...4.2.7) (2018-11-26) | ||
### Bug Fixes | ||
* handing the function arguments in the incorrect order ([26235ff](https://github.com/jdalrymple/node-gitlab/commit/26235ff)) | ||
## [4.2.6](https://github.com/jdalrymple/node-gitlab/compare/4.2.5...4.2.6) (2018-11-26) | ||
### Bug Fixes | ||
* Update pagination docs and conditions [#238](https://github.com/jdalrymple/node-gitlab/issues/238) ([266de00](https://github.com/jdalrymple/node-gitlab/commit/266de00)) | ||
## [4.2.5](https://github.com/jdalrymple/node-gitlab/compare/4.2.4...4.2.5) (2018-11-26) | ||
### Bug Fixes | ||
* Project variables urls were being generated incorrectly ([28b28cf](https://github.com/jdalrymple/node-gitlab/commit/28b28cf)) | ||
## [4.2.4](https://github.com/jdalrymple/node-gitlab/compare/4.2.3...4.2.4) (2018-11-26) | ||
### Bug Fixes | ||
* Event properties using the incorrect boolean operator ([5f21a46](https://github.com/jdalrymple/node-gitlab/commit/5f21a46)) | ||
## [4.2.3](https://github.com/jdalrymple/node-gitlab/compare/4.2.2...4.2.3) (2018-11-26) | ||
### Bug Fixes | ||
* Filtering all events shouldnt require an action or a target [#61](https://github.com/jdalrymple/node-gitlab/issues/61) ([cda23b8](https://github.com/jdalrymple/node-gitlab/commit/cda23b8)) | ||
## [4.2.1](https://github.com/jdalrymple/node-gitlab/compare/4.2.0...4.2.1) (2018-10-29) | ||
@@ -32,0 +76,0 @@ |
@@ -1,1 +0,1 @@ | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("humps"),require("query-string"),require("got"),require("randomstring"),require("form-data")):"function"==typeof define&&define.amd?define(["exports","humps","query-string","got","randomstring","form-data"],t):t(e["node-gitlab"]={},e.Humps,e.QueryString,e.Request,e.RandomString,e.FormData)}(this,function(e,t,o,n,r,s){"use strict";n=n&&n.hasOwnProperty("default")?n.default:n,r=r&&r.hasOwnProperty("default")?r.default:r,s=s&&s.hasOwnProperty("default")?s.default:s;var p=function(e,t){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)};function i(e,t){function o(){this.constructor=e}p(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}var u=function(){return(u=Object.assign||function(e){for(var t,o=1,n=arguments.length;o<n;o++)for(var r in t=arguments[o])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};function c(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);r<n.length;r++)t.indexOf(n[r])<0&&(o[n[r]]=e[n[r]])}return o}function a(e,t,o,n){return new(o||(o=Promise))(function(r,s){function p(e){try{u(n.next(e))}catch(e){s(e)}}function i(e){try{u(n.throw(e))}catch(e){s(e)}}function u(e){e.done?r(e.value):new o(function(t){t(e.value)}).then(p,i)}u((n=n.apply(e,t||[])).next())})}function h(e,t){var o,n,r,s,p={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return s={next:i(0),throw:i(1),return:i(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function i(s){return function(i){return function(s){if(o)throw new TypeError("Generator is already executing.");for(;p;)try{if(o=1,n&&(r=2&s[0]?n.return:s[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,s[1])).done)return r;switch(n=0,r&&(s=[2&s[0],r.value]),s[0]){case 0:case 1:r=s;break;case 4:return p.label++,{value:s[1],done:!1};case 5:p.label++,n=s[1],s=[0];continue;case 7:s=p.ops.pop(),p.trys.pop();continue;default:if(!(r=(r=p.trys).length>0&&r[r.length-1])&&(6===s[0]||2===s[0])){p=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1]<r[3])){p.label=s[1];break}if(6===s[0]&&p.label<r[1]){p.label=r[1],r=s;break}if(r&&p.label<r[2]){p.label=r[2],p.ops.push(s);break}r[2]&&p.ops.pop(),p.trys.pop();continue}s=t.call(e,p)}catch(e){s=[6,e],n=0}finally{o=r=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,i])}}}function m(e,n,r){var s=r.body,p=r.query,i=r.sudo;return[n,{retry:{retries:4,status:429},baseUrl:e.url,headers:u({sudo:i},e.headers),query:p&&o.stringify(t.decamelizeKeys(p),{arrayFormat:"bracket"}),body:s&&t.decamelizeKeys(s),rejectUnauthorized:e.rejectUnauthorized,json:!0}]}function l(e,t,o){return void 0===o&&(o={}),a(this,void 0,void 0,function(){var n,r,s,p,i,a,l,d,f,y,I,v;return h(this,function(h){switch(h.label){case 0:return r=o.showPagination,s=o.maxPages,p=o.sudo,i=c(o,["showPagination","maxPages","sudo"]),a=m(e,t,{query:i,sudo:p}),[4,(n=e.requester).get.apply(n,a)];case 1:return l=h.sent(),d=l.headers,f=l.body,y={total:d["x-total"],next:d["x-next-page"]||null,current:d["x-page"]||null,previous:d["x-prev-page"]||null,perPage:d["x-per-page"],totalPages:d["x-total-pages"]},I=!s||y.current<s,!i.page&&I&&y.next?[4,this.get(e,t,u({page:y.next},o))]:[3,3];case 2:return v=h.sent(),[2,f.concat(v)];case 3:return[2,(i.page||s)&&r?{data:f,pagination:y}:f]}})})}function d(e,t,o){var n;return void 0===o&&(o={}),(n=e.requester).stream.apply(n,m(e,t,{query:o}))}function f(e,t,o){return void 0===o&&(o={}),a(this,void 0,void 0,function(){var n,r,s;return h(this,function(p){switch(p.label){case 0:return r=o.sudo,s=c(o,["sudo"]),[4,(n=e.requester).post.apply(n,m(e,t,{body:s,sudo:r}))];case 1:return[2,p.sent().body]}})})}function y(e,t,o){return void 0===o&&(o={}),a(this,void 0,void 0,function(){var n,r;return h(this,function(s){switch(s.label){case 0:return o.sudo,r=c(o,["sudo"]),[4,(n=e.requester).put.apply(n,m(e,t,{body:r}))];case 1:return[2,s.sent().body]}})})}function I(e,t,o){return void 0===o&&(o={}),a(this,void 0,void 0,function(){var n,r;return h(this,function(s){switch(s.label){case 0:return o.sudo,r=c(o,["sudo"]),[4,(n=e.requester).delete.apply(n,m(e,t,{query:r}))];case 1:return[2,s.sent().body]}})})}var v=function(){return function(e){var t=e.token,o=e.oauthToken,r=e.sudo,s=e.host,p=void 0===s?"https://gitlab.com":s,i=e.url,u=void 0===i?"":i,c=e.version,a=void 0===c?"v4":c,h=e.rejectUnauthorized,m=void 0===h||h,l=e.requester,d=void 0===l?n:l;this.url=[p,"api",a,u].join("/"),this.headers={},this.rejectUnauthorized=m,this.requester=d,o?this.headers.authorization="Bearer "+o:t&&(this.headers["private-token"]=t),r&&(this.headers.Sudo=r)}}();function R(e){return function(t){var o=this;Object.entries(e||{}).forEach(function(e){var n=e[0],r=e[1];o[n]=new r(t)})}}var U=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.all=function(e){return l(this,"groups",e)},t.prototype.create=function(e){return f(this,"groups",e)},t.prototype.createLDAPLink=function(e,t,o,n,r){return f(this,"groups/"+encodeURIComponent(e)+"/ldap_group_links",u({cn:t,groupAccess:o,provider:n},r))},t.prototype.edit=function(e,t){return y(this,"groups/"+encodeURIComponent(e),t)},t.prototype.remove=function(e,t){return I(this,"groups/"+encodeURIComponent(e),t)},t.prototype.removeLDAPLink=function(e,t,o){void 0===o&&(o={});var n=o.provider,r=c(o,["provider"]);return I(this,"groups/"+encodeURIComponent(e)+"/ldap_group_links/"+(n?n+"/"+t:""+t),r)},t.prototype.search=function(e,t){return l(this,"groups",u({search:e},t))},t.prototype.show=function(e,t){return l(this,"groups/"+encodeURIComponent(e),t)},t.prototype.subgroups=function(e,t){return l(this,"groups/"+encodeURIComponent(e)+"/subgroups",t)},t.prototype.syncLDAP=function(e,t){return f(this,"groups/"+encodeURIComponent(e)+"/ldap_sync",t)},t}(v),j=function(e){function t(t,o){return e.call(this,u({url:t},o))||this}return i(t,e),t.prototype.all=function(e){return l(this,encodeURIComponent(e)+"/access_requests")},t.prototype.request=function(e){return f(this,encodeURIComponent(e)+"/access_requests")},t.prototype.approve=function(e,t,o){var n=o.accessLevel,r=[e,t].map(encodeURIComponent);return f(this,r[0]+"/access_requests/"+r[1]+"/approve",{accessLevel:n})},t.prototype.deny=function(e,t){var o=[e,t].map(encodeURIComponent);return I(this,o[0]+"/access_requests/"+o[1])},t}(v);function C(e,t,o,n,r){var s=[e,o].map(encodeURIComponent),p=[s[0],t,s[1]];return r&&p.push("notes",encodeURIComponent(r)),p.push(encodeURIComponent("award_emoji")),n&&p.push(encodeURIComponent(n)),p.join("/")}var g=function(e){function t(t,o){var n=e.call(this,u({url:"projects"},o))||this;return n.resourceType=t,n}return i(t,e),t.prototype.all=function(e,t,o,n){return l(this,C(e,this.resourceType,t,null,o),n)},t.prototype.award=function(e,t,o,n,r){return f(this,C(e,this.resourceType,t,null,n),u({name:o},r))},t.prototype.remove=function(e,t,o,n,r){return I(this,C(e,this.resourceType,t,o,n),r)},t.prototype.show=function(e,t,o,n,r){return l(this,C(e,this.resourceType,t,o,n),r)},t}(v),b=function(e){function t(t,o){return e.call(this,u({url:t},o))||this}return i(t,e),t.prototype.add=function(e,t){return f(this,encodeURIComponent(e)+"/badges",t)},t.prototype.all=function(e,t){return l(this,encodeURIComponent(e)+"/badges",t)},t.prototype.edit=function(e,t,o){var n=[e,t].map(encodeURIComponent);return y(this,n[0]+"/badges/"+n[1],o)},t.prototype.preview=function(e,t,o,n){return l(this,encodeURIComponent(e)+"/badges/render",u({linkUrl:t,imageUrl:o},n))},t.prototype.remove=function(e,t,o){var n=[e,t].map(encodeURIComponent);return I(this,n[0]+"/badges/"+n[1],o)},t.prototype.show=function(e,t,o){var n=[e,t].map(encodeURIComponent);return l(this,n[0]+"/badges/"+n[1],o)},t}(v),_=function(e){function t(t,o){return e.call(this,u({url:t},o))||this}return i(t,e),t.prototype.all=function(e,t){return l(this,encodeURIComponent(e)+"/custom_attributes",t)},t.prototype.set=function(e,t,o,n){var r=[e,t].map(encodeURIComponent);return y(this,r[0]+"/custom_attributes/"+r[1],u({value:o},n))},t.prototype.remove=function(e,t,o){var n=[e,t].map(encodeURIComponent);return I(this,n[0]+"/custom_attributes/"+n[1],o)},t.prototype.show=function(e,t,o){var n=[e,t].map(encodeURIComponent);return l(this,n[0]+"/custom_attributes/"+n[1],o)},t}(v),w=function(e){function t(t,o,n){var r=e.call(this,u({url:t},n))||this;return r.resource2Type=o,r}return i(t,e),t.prototype.addNote=function(e,t,o,n,r,s){if(!r)throw new Error("Missing required content argument");var p=[e,t,o,n].map(encodeURIComponent),i=p[0],c=p[1],a=p[2],h=p[3];return y(this,i+"/"+this.resource2Type+"/"+c+"/discussions/"+a+"/notes/"+h,u({body:r},s))},t.prototype.all=function(e,t,o){var n=[e,t].map(encodeURIComponent),r=n[0],s=n[1];return l(this,r+"/"+this.resource2Type+"/"+s+"/discussions",o)},t.prototype.create=function(e,t,o,n){if(!o)throw new Error("Missing required content argument");var r=[e,t].map(encodeURIComponent),s=r[0],p=r[1];return f(this,s+"/"+this.resource2Type+"/"+p+"/discussions",u({body:o},n))},t.prototype.editNote=function(e,t,o,n,r){var s=[e,t,o,n].map(encodeURIComponent),p=s[0],i=s[1],u=s[2],c=s[3];return y(this,p+"/"+this.resource2Type+"/"+i+"/discussions/"+u+"/notes/"+c,{body:r})},t.prototype.removeNote=function(e,t,o,n,r){var s=[e,t,o,n].map(encodeURIComponent),p=s[0],i=s[1],u=s[2],c=s[3];return I(this,p+"/"+this.resource2Type+"/"+i+"/discussions/"+u+"/notes/"+c,r)},t.prototype.show=function(e,t,o,n){var r=[e,t,o].map(encodeURIComponent),s=r[0],p=r[1],i=r[2];return l(this,s+"/"+this.resource2Type+"/"+p+"/discussions/"+i,n)},t}(v),P=function(e){function t(t,o){return e.call(this,u({url:t},o))||this}return i(t,e),t.prototype.all=function(e,t){return l(this,encodeURIComponent(e)+"/boards",t)},t.prototype.create=function(e,t,o){return f(this,encodeURIComponent(e)+"/boards",u({name:t},o))},t.prototype.createList=function(e,t,o,n){var r=[e,t].map(encodeURIComponent);return f(this,r[0]+"/boards/"+r[1]+"/lists",u({labelId:o},n))},t.prototype.edit=function(e,t,o){var n=[e,t].map(encodeURIComponent);return y(this,n[0]+"/boards/"+n[1],o)},t.prototype.editList=function(e,t,o,n,r){var s=[e,t,o].map(encodeURIComponent);return y(this,s[0]+"/boards/"+s[1]+"/lists/"+s[2],u({position:n},r))},t.prototype.lists=function(e,t,o){var n=[e,t].map(encodeURIComponent);return l(this,n[0]+"/boards/"+n[1]+"/lists",o)},t.prototype.remove=function(e,t,o){var n=[e,t].map(encodeURIComponent);return I(this,n[0]+"/boards/"+n[1],o)},t.prototype.removeList=function(e,t,o,n){var r=[e,t,o].map(encodeURIComponent);return I(this,r[0]+"/boards/"+r[1]+"/lists/"+r[2],n)},t.prototype.show=function(e,t,o){var n=[e,t].map(encodeURIComponent);return l(this,n[0]+"/boards/"+n[1],o)},t.prototype.showList=function(e,t,o,n){var r=[e,t,o].map(encodeURIComponent);return l(this,r[0]+"/boards/"+r[1]+"/lists/"+r[2],n)},t}(v),q=function(e){function t(t,o){return e.call(this,u({url:t},o))||this}return i(t,e),t.prototype.all=function(e,t,o){void 0===t&&(t=!1);var n=[encodeURIComponent(e),"members"];return t&&n.push("all"),l(this,n.join("/"),{options:o})},t.prototype.add=function(e,t,o,n){var r=[e,t].map(encodeURIComponent),s=r[0],p=r[1];return f(this,s+"/members",u({userId:p,accessLevel:o},n))},t.prototype.edit=function(e,t,o,n){var r=[e,t].map(encodeURIComponent);return y(this,r[0]+"/members/"+r[1],u({accessLevel:o},n))},t.prototype.show=function(e,t,o){var n=[e,t].map(encodeURIComponent);return l(this,n[0]+"/members/"+n[1],o)},t.prototype.remove=function(e,t,o){var n=[e,t].map(encodeURIComponent);return I(this,n[0]+"/members/"+n[1],o)},t}(v),k=function(e){function t(t,o){return e.call(this,u({url:t},o))||this}return i(t,e),t.prototype.all=function(e,t){return l(this,encodeURIComponent(e)+"/milestones",t)},t.prototype.create=function(e,t,o){return f(this,encodeURIComponent(e)+"/milestones",u({title:t},o))},t.prototype.edit=function(e,t,o){var n=[e,t].map(encodeURIComponent);return y(this,n[0]+"/milestones/"+n[1],o)},t.prototype.issues=function(e,t,o){var n=[e,t].map(encodeURIComponent);return l(this,n[0]+"/milestones/"+n[1]+"/issues",o)},t.prototype.mergeRequests=function(e,t,o){var n=[e,t].map(encodeURIComponent);return l(this,n[0]+"/milestones/"+n[1]+"/merge_requests",o)},t.prototype.show=function(e,t,o){var n=[e,t].map(encodeURIComponent);return l(this,n[0]+"/milestones/"+n[1],o)},t}(v),S=function(e){function t(t,o,n){var r=e.call(this,u({url:t},n))||this;return r.resource2Type=o,r}return i(t,e),t.prototype.all=function(e,t,o){var n=[e,t].map(encodeURIComponent),r=n[0],s=n[1];return l(this,r+"/"+this.resource2Type+"/"+s+"/notes",o)},t.prototype.create=function(e,t,o,n){var r=[e,t].map(encodeURIComponent),s=r[0],p=r[1];return f(this,s+"/"+this.resource2Type+"/"+p+"/notes",u({body:o},n))},t.prototype.edit=function(e,t,o,n,r){var s=[e,t,o].map(encodeURIComponent),p=s[0],i=s[1],c=s[2];return y(this,p+"/"+this.resource2Type+"/"+i+"/notes/"+c,u({body:n},r))},t.prototype.remove=function(e,t,o,n){var r=[e,t,o].map(encodeURIComponent),s=r[0],p=r[1],i=r[2];return I(this,s+"/"+this.resource2Type+"/"+p+"/notes/"+i,n)},t.prototype.show=function(e,t,o,n){var r=[e,t,o].map(encodeURIComponent),s=r[0],p=r[1],i=r[2];return l(this,s+"/"+this.resource2Type+"/"+p+"/notes/"+i,n)},t}(v),T=function(e){function t(t,o){return e.call(this,u({url:["templates",t].join("/")},o))||this}return i(t,e),t.prototype.all=function(e){return l(this,"",e)},t.prototype.show=function(e,t){return f(this,""+encodeURIComponent(e),t)},t}(v),G=function(e){function t(t,o){return e.call(this,u({url:t},o))||this}return i(t,e),t.prototype.all=function(e,t){return l(this,encodeURIComponent(e)+"/variables",t)},t.prototype.create=function(e,t){return f(this,encodeURIComponent(e)+"/variables",t)},t.prototype.edit=function(e,t,o){var n=[e,t].map(encodeURIComponent);return y(this,n[0]+"/variables/"+n[1],o)},t.prototype.show=function(e,t,o){var n=[e,t].map(encodeURIComponent);return l(this,n[0]+"/variables/"+n[1],o)},t.prototype.remove=function(e,t,o){var n=[e,t].map(encodeURIComponent);return I(this,n[0]+"/variables/"+n[1],o)},t}(v),A=function(e){function t(t){return e.call(this,"groups",t)||this}return i(t,e),t}(j),E=function(e){function t(t){return e.call(this,"groups",t)||this}return i(t,e),t}(b),M=function(e){function t(t){return e.call(this,"groups",t)||this}return i(t,e),t}(_),x=function(e){function t(t){return e.call(this,"groups",t)||this}return i(t,e),t}(P),D=function(e){function t(t){return e.call(this,"groups",t)||this}return i(t,e),t}(q),B=function(e){function t(t){return e.call(this,"groups",t)||this}return i(t,e),t}(k),L=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.all=function(e,t){return l(this,"groups/"+encodeURIComponent(e)+"/projects",t)},t.prototype.add=function(e,t,o){var n=[e,t].map(encodeURIComponent);return f(this,"groups/"+n[0]+"/projects/"+n[1],o)},t}(v),N=function(e){function t(t){return e.call(this,"groups",t)||this}return i(t,e),t}(G),O=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.all=function(e,t){return l(this,"groups/"+encodeURIComponent(e)+"/epics",t)},t.prototype.create=function(e,t,o){return f(this,"groups/"+encodeURIComponent(e)+"/epics",u({title:t},o))},t.prototype.edit=function(e,t,o){var n=[e,t].map(encodeURIComponent);return y(this,"groups/"+n[0]+"/epics/"+n[1],o)},t.prototype.remove=function(e,t,o){var n=[e,t].map(encodeURIComponent);return I(this,"groups/"+n[0]+"/epics/"+n[1],o)},t.prototype.show=function(e,t,o){var n=[e,t].map(encodeURIComponent);return l(this,"groups/"+n[0]+"/epics/"+n[1],o)},t}(v),K=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.all=function(e,t,o){var n=[e,t].map(encodeURIComponent);return l(this,"groups/"+n[0]+"/epics/"+n[1]+"/issues",o)},t.prototype.assign=function(e,t,o,n){var r=[e,t,o].map(encodeURIComponent);return y(this,"groups/"+r[0]+"/epics/"+r[1]+"/issues/"+r[2],n)},t.prototype.edit=function(e,t,o,n){var r=[e,t,o].map(encodeURIComponent);return I(this,"groups/"+r[0]+"/epics/"+r[1]+"/issues/"+r[2],n)},t.prototype.remove=function(e,t,o,n){var r=[e,t,o].map(encodeURIComponent);return I(this,"groups/"+r[0]+"/epics/"+r[1]+"/issues/"+r[2],n)},t}(v),F=function(e){function t(t){return e.call(this,"groups","epics",t)||this}return i(t,e),t}(S),V=function(e){function t(t){return e.call(this,"groups","epics",t)||this}return i(t,e),t}(w),z=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.all=function(e){return l(this,"users",e)},t.prototype.activities=function(e){return l(this,"users/activities",e)},t.prototype.projects=function(e,t){return l(this,"users/"+encodeURIComponent(e)+"/projects",t)},t.prototype.block=function(e,t){return f(this,"users/"+encodeURIComponent(e)+"/block",t)},t.prototype.create=function(e){return f(this,"users",e)},t.prototype.current=function(e){return l(this,"user",e)},t.prototype.edit=function(e,t){return y(this,"users/"+encodeURIComponent(e),t)},t.prototype.events=function(e,t){return l(this,"users/"+encodeURIComponent(e)+"/events",t)},t.prototype.session=function(e,t,o){return f(this,"session",u({email:e,password:t},o))},t.prototype.search=function(e,t){return l(this,"users",u({search:e},t))},t.prototype.show=function(e,t){return l(this,"users/"+encodeURIComponent(e),t)},t.prototype.remove=function(e,t){return I(this,"users/"+encodeURIComponent(e),t)},t.prototype.unblock=function(e,t){return f(this,"users/"+encodeURIComponent(e)+"/unblock",t)},t}(v),H=function(e){function t(t){return e.call(this,"users",t)||this}return i(t,e),t}(_),J=function(e){return e?"users/"+encodeURIComponent(e)+"/emails":"user/emails"},W=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.all=function(e){void 0===e&&(e={});var t=e.userId,o=c(e,["userId"]);return l(this,J(t),o)},t.prototype.add=function(e,t){void 0===t&&(t={});var o=t.userId,n=c(t,["userId"]);return f(this,J(o),u({email:e},n))},t.prototype.show=function(e,t){return l(this,"user/emails/"+encodeURIComponent(e),t)},t.prototype.remove=function(e,t){void 0===t&&(t={});var o=t.userId,n=c(t,["userId"]),r=encodeURIComponent(e);return I(this,J(o)+"/"+r,n)},t}(v),Y=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.all=function(e,t){return l(this,"users/"+encodeURIComponent(e)+"/impersonation_tokens",t)},t.prototype.add=function(e,t,o,n,r){return f(this,"users/"+encodeURIComponent(e)+"/impersonation_tokens",u({name:t,expiresAt:n,scopes:o},r))},t.prototype.show=function(e,t,o){var n=[e,t].map(encodeURIComponent);return l(this,"users/"+n[0]+"/impersonation_tokens/"+n[1],o)},t.prototype.revoke=function(e,t,o){var n=[e,t].map(encodeURIComponent);return I(this,"users/"+n[0]+"/impersonation_tokens/"+n[1],o)},t}(v),Q=function(e){return e?"users/"+encodeURIComponent(e)+"/keys":"user/keys"},X=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.all=function(e){void 0===e&&(e={});var t=e.userId,o=c(e,["userId"]);return l(this,Q(t),o)},t.prototype.create=function(e,t,o){void 0===o&&(o={});var n=o.userId,r=c(o,["userId"]);return f(this,Q(n),u({title:e,key:t},r))},t.prototype.show=function(e,t){return l(this,"user/keys/"+encodeURIComponent(e),t)},t.prototype.remove=function(e,t){void 0===t&&(t={});var o=t.userId,n=c(t,["userId"]),r=encodeURIComponent(e);return I(this,Q(o)+"/"+r,n)},t}(v),Z=function(e){return e?"users/"+encodeURIComponent(e)+"/gpg_keys":"users/gpg_keys"},$=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.all=function(e){void 0===e&&(e={});var t=e.userId,o=c(e,["userId"]);return l(this,Z(t),o)},t.prototype.add=function(e,t,o){void 0===o&&(o={});var n=o.userId,r=c(o,["userId"]);return f(this,Z(n),u({title:e,key:t},r))},t.prototype.show=function(e,t){void 0===t&&(t={});var o=t.userId,n=c(t,["userId"]),r=encodeURIComponent(e);return l(this,Z(o)+"/"+r,n)},t.prototype.remove=function(e,t){void 0===t&&(t={});var o=t.userId,n=c(t,["userId"]),r=encodeURIComponent(e);return I(this,Z(o)+"/"+r,n)},t}(v),ee=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.all=function(e,t){return l(this,"projects/"+encodeURIComponent(e)+"/repository/branches",t)},t.prototype.create=function(e,t,o,n){return f(this,"projects/"+encodeURIComponent(e)+"/repository/branches",u({branch:t,ref:o},n))},t.prototype.protect=function(e,t,o){return f(this,"projects/"+encodeURIComponent(e)+"/protected_branches",u({name:t},o))},t.prototype.remove=function(e,t,o){var n=[e,t].map(encodeURIComponent);return I(this,"projects/"+n[0]+"/repository/branches/"+n[1],o)},t.prototype.show=function(e,t,o){var n=[e,t].map(encodeURIComponent);return l(this,"projects/"+n[0]+"/repository/branches/"+n[1],o)},t.prototype.unprotect=function(e,t,o){var n=[e,t].map(encodeURIComponent);return y(this,"projects/"+n[0]+"/repository/branches/"+n[1]+"/unprotect",o)},t}(v),te=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.all=function(e,t){return l(this,"projects/"+encodeURIComponent(e)+"/repository/commits",t)},t.prototype.cherryPick=function(e,t,o,n){return f(this,"projects/"+encodeURIComponent(e)+"/repository/commits/"+t+"/cherry_pick",u({branch:o},n))},t.prototype.comments=function(e,t,o){return l(this,"projects/"+encodeURIComponent(e)+"/repository/commits/"+t+"/comments",o)},t.prototype.create=function(e,t,o,n,r){return void 0===n&&(n=[]),f(this,"projects/"+encodeURIComponent(e)+"/repository/commits",u({branch:t,commitMessage:o,actions:n},r))},t.prototype.createComment=function(e,t,o,n){return f(this,"projects/"+encodeURIComponent(e)+"/repository/commits/"+t+"/comments",u({note:o},n))},t.prototype.diff=function(e,t,o){return l(this,"projects/"+encodeURIComponent(e)+"/repository/commits/"+t+"/diff",o)},t.prototype.editStatus=function(e,t,o){return f(this,"projects/"+encodeURIComponent(e)+"/statuses/"+t,o)},t.prototype.references=function(e,t,o){return l(this,"projects/"+encodeURIComponent(e)+"/repository/commits/"+t+"/refs",o)},t.prototype.show=function(e,t,o){return l(this,"projects/"+encodeURIComponent(e)+"/repository/commits/"+t,o)},t.prototype.status=function(e,t,o){return l(this,"projects/"+encodeURIComponent(e)+"/repository/commits/"+t+"/statuses",o)},t}(v),oe=function(e){function t(t){return e.call(this,"projects","commits",t)||this}return i(t,e),t}(w),ne=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.all=function(e,t){return l(this,"projects/"+encodeURIComponent(e)+"/deployments",t)},t.prototype.show=function(e,t,o){var n=[e,t].map(encodeURIComponent);return f(this,"projects/"+n[0]+"/deployments/"+n[1],o)},t}(v),re=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.add=function(e,t){return f(this,"projects/"+encodeURIComponent(e)+"/deploy_keys",t)},t.prototype.all=function(e,t){return l(this,"projects/"+encodeURIComponent(e)+"/deploy_keys",t)},t.prototype.show=function(e,t,o){var n=[e,t].map(encodeURIComponent);return l(this,"projects/"+n[0]+"/deploy_keys/"+n[1],o)},t.prototype.enable=function(e,t,o){var n=[e,t].map(encodeURIComponent);return f(this,"projects/"+n[0]+"/deploy_keys/"+n[1]+"/enable",o)},t}(v),se=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.all=function(e,t){return l(this,"projects/"+encodeURIComponent(e)+"/environments",t)},t.prototype.create=function(e,t){return f(this,"projects/"+encodeURIComponent(e)+"/environments",t)},t.prototype.edit=function(e,t,o){var n=[e,t].map(encodeURIComponent);return y(this,"projects/"+n[0]+"/environments/"+n[1],o)},t.prototype.remove=function(e,t,o){var n=[e,t].map(encodeURIComponent);return I(this,"projects/"+n[0]+"/environments/"+n[1],o)},t.prototype.stop=function(e,t,o){var n=[e,t].map(encodeURIComponent);return f(this,"projects/"+n[0]+"/environments/"+n[1]+"/stop",o)},t}(v),pe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.addSpentTime=function(e,t,o,n){var r=[e,t].map(encodeURIComponent);return f(this,"projects/"+r[0]+"/issues/"+r[1]+"/add_spent_time",u({duration:o},n))},t.prototype.addTimeEstimate=function(e,t,o,n){var r=[e,t].map(encodeURIComponent);return f(this,"projects/"+r[0]+"/issues/"+r[1]+"/time_estimate",u({duration:o},n))},t.prototype.all=function(e){var t=e.projectId,o=c(e,["projectId"]);return l(this,t?"projects/"+encodeURIComponent(t)+"/issues":"issues",o)},t.prototype.create=function(e,t){return f(this,"projects/"+encodeURIComponent(e)+"/issues",t)},t.prototype.edit=function(e,t,o){var n=[e,t].map(encodeURIComponent);return y(this,"projects/"+n[0]+"/issues/"+n[1],o)},t.prototype.link=function(e,t,o,n,r){var s=[e,t].map(encodeURIComponent),p=s[0],i=s[1],c=[o,n].map(encodeURIComponent),a=c[0],h=c[1];return f(this,"projects/"+p+"/issues/"+i+"/links",u({targetProjectId:a,targetIssueId:h},r))},t.prototype.participants=function(e,t,o){var n=[e,t].map(encodeURIComponent);return l(this,"projects/"+n[0]+"/issues/"+n[1]+"/participants",o)},t.prototype.remove=function(e,t,o){var n=[e,t].map(encodeURIComponent);return I(this,"projects/"+n[0]+"/issues/"+n[1],o)},t.prototype.resetSpentTime=function(e,t,o){var n=[e,t].map(encodeURIComponent);return f(this,"projects/"+n[0]+"/issues/"+n[1]+"/reset_spent_time",o)},t.prototype.resetTimeEstimate=function(e,t,o){var n=[e,t].map(encodeURIComponent);return f(this,"projects/"+n[0]+"/issues/"+n[1]+"/reset_time_estimate",o)},t.prototype.show=function(e,t,o){var n=[e,t].map(encodeURIComponent);return l(this,"projects/"+n[0]+"/issues/"+n[1],o)},t.prototype.subscribe=function(e,t,o){var n=[e,t].map(encodeURIComponent);return f(this,"projects/"+n[0]+"/issues/"+n[1]+"/subscribe",o)},t.prototype.timeStats=function(e,t,o){var n=[e,t].map(encodeURIComponent);return l(this,"projects/"+n[0]+"/issues/"+n[1]+"/time_stats",o)},t.prototype.unsubscribe=function(e,t,o){var n=[e,t].map(encodeURIComponent);return I(this,"projects/"+n[0]+"/issues/"+n[1]+"/unsubscribe",o)},t}(v),ie=function(e){function t(t){return e.call(this,"projects","issues",t)||this}return i(t,e),t}(S),ue=function(e){function t(t){return e.call(this,"projects","issues",t)||this}return i(t,e),t}(w),ce=function(e){function t(t){return e.call(this,"issues",t)||this}return i(t,e),t}(g),ae=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.all=function(e,t){return l(this,"projects/"+encodeURIComponent(e)+"/jobs",t)},t.prototype.cancel=function(e,t,o){var n=[e,t].map(encodeURIComponent);return f(this,"projects/"+n[0]+"/jobs/"+n[1]+"/cancel",o)},t.prototype.downloadSingleArtifactFile=function(e,t,o,n){var r=n.stream,s=void 0!==r&&r,p=c(n,["stream"]),i=[e,t].map(encodeURIComponent),u=i[0],a=i[1];return s?d(this,"projects/"+u+"/jobs/"+a+"/artifacts/"+o,p):l(this,"projects/"+u+"/jobs/"+a+"/artifacts/"+o,p)},t.prototype.downloadLatestArtifactFile=function(e,t,o,n){var r=n.stream,s=void 0!==r&&r,p=c(n,["stream"]),i=[e,t,o].map(encodeURIComponent),u=i[0],a=i[1],h=i[2];return s?d(this,"projects/"+u+"/jobs/artifacts/"+a+"/download?job="+h,p):l(this,"projects/"+u+"/jobs/artifacts/"+a+"/download?job="+h,p)},t.prototype.downloadTraceFile=function(e,t,o){var n=[e,t].map(encodeURIComponent);return l(this,"projects/"+n[0]+"/jobs/"+n[1]+"/trace",o)},t.prototype.erase=function(e,t,o){var n=[e,t].map(encodeURIComponent);return f(this,"projects/"+n[0]+"/jobs/"+n[1]+"/erase",o)},t.prototype.keepArtifacts=function(e,t,o){var n=[e,t].map(encodeURIComponent);return f(this,"projects/"+n[0]+"/jobs/"+n[1]+"/artifacts/keep",o)},t.prototype.play=function(e,t,o){var n=[e,t].map(encodeURIComponent);return f(this,"projects/"+n[0]+"/jobs/"+n[1]+"/play",o)},t.prototype.retry=function(e,t,o){var n=[e,t].map(encodeURIComponent);return f(this,"projects/"+n[0]+"/jobs/"+n[1]+"/retry",o)},t.prototype.show=function(e,t,o){var n=[e,t].map(encodeURIComponent);return l(this,"projects/"+n[0]+"/jobs/"+n[1],o)},t.prototype.showPipelineJobs=function(e,t,o){var n=[e,t].map(encodeURIComponent);return l(this,"projects/"+n[0]+"/pipelines/"+n[1]+"/jobs",o)},t}(v),he=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.all=function(e,t){return l(this,"projects/"+encodeURIComponent(e)+"/labels",t)},t.prototype.create=function(e,t){return f(this,"projects/"+encodeURIComponent(e)+"/labels",t)},t.prototype.edit=function(e,t,o){return y(this,"projects/"+encodeURIComponent(e)+"/labels",u({name:t},o))},t.prototype.remove=function(e,t,o){return I(this,"projects/"+encodeURIComponent(e)+"/labels",u({name:t},o))},t.prototype.subscribe=function(e,t,o){var n=[e,t].map(encodeURIComponent);return f(this,"projects/"+n[0]+"/issues/"+n[1]+"/subscribe",o)},t.prototype.unsubscribe=function(e,t,o){var n=[e,t].map(encodeURIComponent);return I(this,"projects/"+n[0]+"/issues/"+n[1]+"/unsubscribe",o)},t}(v),me=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.accept=function(e,t,o){var n=[e,t].map(encodeURIComponent);return y(this,"projects/"+n[0]+"/merge_requests/"+n[1]+"/merge",o)},t.prototype.addSpentTime=function(e,t,o,n){var r=[e,t].map(encodeURIComponent);return f(this,"projects/"+r[0]+"/issues/"+r[1]+"/add_spent_time",u({duration:o},n))},t.prototype.addTimeEstimate=function(e,t,o,n){var r=[e,t].map(encodeURIComponent);return f(this,"projects/"+r[0]+"/issues/"+r[1]+"/time_estimate",u({duration:o},n))},t.prototype.all=function(e){var t=e.projectId,o=e.groupId,n=c(e,["projectId","groupId"]);return l(this,t?"projects/"+encodeURIComponent(t)+"/merge_requests":o?"groups/"+encodeURIComponent(o)+"/merge_requests":"merge_requests",n)},t.prototype.approve=function(e,t,o){var n=[e,t].map(encodeURIComponent);return f(this,"projects/"+n[0]+"/merge_requests/"+n[1]+"/approve",o)},t.prototype.approvals=function(e,t){var o=t.mergerequestIId,n=c(t,["mergerequestIId"]),r=[e,o].map(encodeURIComponent),s=r[0],p=r[1];return l(this,o?"projects/"+s+"/merge_requests/"+p+"/approvals":"projects/"+s+"/approvals",n)},t.prototype.approvers=function(e,t,o,n){var r=n.mergerequestIId,s=c(n,["mergerequestIId"]),p=[e,r].map(encodeURIComponent),i=p[0],a=p[1];return f(this,r?"projects/"+i+"/merge_requests/"+a+"/approvals":"projects/"+i+"/approvals",u({approverIds:t,approverGroupIds:o},s))},t.prototype.cancelOnPipelineSucess=function(e,t,o){var n=[e,t].map(encodeURIComponent);return y(this,"projects/"+n[0]+"/merge_requests/"+n[1]+"/cancel_merge_when_pipeline_succeeds",o)},t.prototype.changes=function(e,t,o){var n=[e,t].map(encodeURIComponent);return l(this,"projects/"+n[0]+"/merge_requests/"+n[1]+"/changes",o)},t.prototype.closesIssues=function(e,t,o){var n=[e,t].map(encodeURIComponent);return l(this,"projects/"+n[0]+"/merge_requests/"+n[1]+"/closes_issues",o)},t.prototype.commits=function(e,t,o){var n=[e,t].map(encodeURIComponent);return l(this,"projects/"+n[0]+"/merge_requests/"+n[1]+"/commits",o)},t.prototype.create=function(e,t,o,n,r){var s=encodeURIComponent(e);return f(this,"projects/"+s+"/merge_requests",u({id:s,sourceBranch:t,targetBranch:o,title:n},r))},t.prototype.edit=function(e,t,o){var n=[e,t].map(encodeURIComponent);return y(this,"projects/"+n[0]+"/merge_requests/"+n[1],o)},t.prototype.editApprovals=function(e,t){var o=t.mergerequestIId,n=c(t,["mergerequestIId"]),r=[e,o].map(encodeURIComponent),s=r[0],p=r[1];return f(this,o?"projects/"+s+"/merge_requests/"+p+"/approvals":"projects/"+s+"/approvals",n)},t.prototype.pipelines=function(e,t,o){var n=[e,t].map(encodeURIComponent);return l(this,"projects/"+n[0]+"/merge_requests/"+n[1]+"/pipelines",o)},t.prototype.remove=function(e,t,o){var n=[e,t].map(encodeURIComponent);return I(this,"projects/"+n[0]+"/merge_requests/"+n[1],o)},t.prototype.resetSpentTime=function(e,t,o){var n=[e,t].map(encodeURIComponent);return f(this,"projects/"+n[0]+"/merge_requests/"+n[1]+"/reset_spent_time",o)},t.prototype.resetTimeEstimate=function(e,t,o){var n=[e,t].map(encodeURIComponent);return f(this,"projects/"+n[0]+"/merge_requests/"+n[1]+"/reset_time_estimate",o)},t.prototype.show=function(e,t,o){var n=[e,t].map(encodeURIComponent);return l(this,"projects/"+n[0]+"/merge_requests/"+n[1],o)},t.prototype.timeStats=function(e,t,o){var n=[e,t].map(encodeURIComponent);return l(this,"projects/"+n[0]+"/merge_requests/"+n[1]+"/time_stats",o)},t.prototype.version=function(e,t,o,n){var r=[e,t,o].map(encodeURIComponent);return l(this,"projects/"+r[0]+"/merge_requests/"+r[1]+"/versions/"+r[2],n)},t.prototype.versions=function(e,t,o){var n=[e,t].map(encodeURIComponent);return l(this,"projects/"+n[0]+"/merge_requests/"+n[1]+"/versions",o)},t.prototype.unapprove=function(e,t,o){var n=[e,t].map(encodeURIComponent);return f(this,"projects/"+n[0]+"/merge_requests/"+n[1]+"/approve",o)},t.prototype.unsubscribe=function(e,t,o){var n=[e,t].map(encodeURIComponent);return I(this,"projects/"+n[0]+"/merge_requests/"+n[1]+"/unsubscribe",o)},t}(v),le=function(e){function t(t){return e.call(this,"merge_requests",t)||this}return i(t,e),t}(g),de=function(e){function t(t){return e.call(this,"projects","merge_requests",t)||this}return i(t,e),t}(w),fe=function(e){function t(t){return e.call(this,"projects","merge_requests",t)||this}return i(t,e),t}(S),ye=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.all=function(e,t){return l(this,"projects/"+encodeURIComponent(e)+"/pipelines",t)},t.prototype.create=function(e,t,o){return f(this,"projects/"+encodeURIComponent(e)+"/pipeline",u({ref:t},o))},t.prototype.show=function(e,t,o){return l(this,"projects/"+encodeURIComponent(e)+"/pipelines/"+t,o)},t.prototype.retry=function(e,t,o){return f(this,"projects/"+encodeURIComponent(e)+"/pipelines/"+t+"/retry",o)},t.prototype.cancel=function(e,t,o){return f(this,"projects/"+encodeURIComponent(e)+"/pipelines/"+t+"/cancel",o)},t.prototype.showJobs=function(e,t,o){return l(this,"projects/"+encodeURIComponent(e)+"/pipelines/"+t+"/jobs",o)},t}(v),Ie=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.all=function(e,t){return l(this,"projects/"+encodeURIComponent(e)+"/pipeline_schedules",t)},t.prototype.create=function(e,t,o,n,r){return f(this,"projects/"+encodeURIComponent(e)+"/pipeline_schedules",u({description:t,ref:o,cron:n},r))},t.prototype.edit=function(e,t,o){var n=[e,t].map(encodeURIComponent);return y(this,"projects/"+n[0]+"/pipeline_schedules/"+n[1],o)},t.prototype.remove=function(e,t,o){var n=[e,t].map(encodeURIComponent);return I(this,"projects/"+n[0]+"/pipeline_schedules/"+n[1],o)},t.prototype.show=function(e,t,o){var n=[e,t].map(encodeURIComponent);return l(this,"projects/"+n[0]+"/pipeline_schedules/"+n[1],o)},t.prototype.takeOwnership=function(e,t,o){var n=[e,t].map(encodeURIComponent);return f(this,"projects/"+n[0]+"/pipeline_schedules/"+n[1]+"/take_ownership",o)},t}(v),ve=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.all=function(e,t,o){var n=[e,t].map(encodeURIComponent);return l(this,"projects/"+n[0]+"/pipeline_schedules/"+n[1]+"/variables",o)},t.prototype.create=function(e,t,o){var n=[e,t].map(encodeURIComponent);return f(this,"projects/"+n[0]+"/pipeline_schedules/"+n[1]+"/variables",o)},t.prototype.edit=function(e,t,o,n){var r=[e,t,o].map(encodeURIComponent);return y(this,"projects/"+r[0]+"/pipeline_schedules/"+r[1]+"/variables/"+r[2],n)},t.prototype.show=function(e,t,o,n){var r=[e,t,o].map(encodeURIComponent);return l(this,"projects/"+r[0]+"/pipeline_schedules/"+r[1]+"/variables/"+r[2],n)},t.prototype.remove=function(e,t,o,n){var r=[e,t,o].map(encodeURIComponent);return I(this,"projects/"+r[0]+"/pipeline_schedules/"+r[1]+"/variables/"+r[2],n)},t}(v),Re=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.all=function(e){return l(this,"projects",e)},t.prototype.archive=function(e,t){return f(this,"projects/"+encodeURIComponent(e)+"/archive",t)},t.prototype.create=function(e){var t=e.userId,o=c(e,["userId"]);return f(this,t?"projects/user/"+encodeURIComponent(t):"projects",o)},t.prototype.edit=function(e,t){return y(this,"projects/"+encodeURIComponent(e),t)},t.prototype.events=function(e,t){return l(this,"projects/"+encodeURIComponent(e)+"/events",t)},t.prototype.fork=function(e,t){return f(this,"projects/"+encodeURIComponent(e)+"/fork",t)},t.prototype.forks=function(e,t){return l(this,"projects/"+encodeURIComponent(e)+"/forks",t)},t.prototype.languages=function(e,t){return l(this,"projects/"+encodeURIComponent(e)+"/languages",t)},t.prototype.mirrorPull=function(e,t){return f(this,"projects/"+encodeURIComponent(e)+"/mirror/pull",t)},t.prototype.remove=function(e,t){return I(this,"projects/"+encodeURIComponent(e),t)},t.prototype.search=function(e){return l(this,"projects",{search:e})},t.prototype.share=function(e,t,o,n){return f(this,"projects/"+encodeURIComponent(e)+"/share",u({groupId:t,groupAccess:o},n))},t.prototype.show=function(e,t){return l(this,"projects/"+encodeURIComponent(e),t)},t.prototype.star=function(e,t){return f(this,"projects/"+encodeURIComponent(e)+"/star",t)},t.prototype.statuses=function(e,t,o,n){return f(this,"projects/"+encodeURIComponent(e)+"/statuses/"+t,u({state:o},n))},t.prototype.transfer=function(e,t){return y(this,"projects/"+encodeURIComponent(e)+"/transfer",{namespace:t})},t.prototype.unarchive=function(e,t){return f(this,"projects/"+encodeURIComponent(e)+"/unarchive",t)},t.prototype.unshare=function(e,t,o){var n=[e,t].map(encodeURIComponent);return I(this,"projects/"+n[0]+"/share"+n[1],o)},t.prototype.unstar=function(e,t){return f(this,"projects/"+encodeURIComponent(e)+"/unstar",t)},t.prototype.updatePushRule=function(e,t){return y(this,"projects/"+encodeURIComponent(e)+"/push_rule",t)},t.prototype.upload=function(e,t,o){var n=o.fileName,p=void 0===n?r(8):n,i=encodeURIComponent(e),u=new s;return u.append(p,{file:{value:t,options:{filename:p,contentType:"application/octet-stream"}}}),f(this,"projects/"+i+"/uploads",u)},t}(v),Ue=function(e){function t(t){return e.call(this,"projects",t)||this}return i(t,e),t}(j),je=function(e){function t(t){return e.call(this,"projects",t)||this}return i(t,e),t}(b),Ce=function(e){function t(t){return e.call(this,"projects",t)||this}return i(t,e),t}(_),ge=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.download=function(e,t){return l(this,"projects/"+encodeURIComponent(e)+"/export/download",t)},t.prototype.exportStatus=function(e,t){return l(this,"projects/"+encodeURIComponent(e)+"/export",t)},t.prototype.import=function(e,t,o){var n=new s;return n.append(t,{file:{value:e,options:{filename:t,contentType:"application/octet-stream"}}}),f(this,"projects/import",u({},n,o))},t.prototype.importStatus=function(e,t){return l(this,"projects/"+encodeURIComponent(e)+"/import",t)},t.prototype.schedule=function(e,t){return f(this,"projects/"+encodeURIComponent(e)+"/export",t)},t}(v),be=function(e){function t(t){return e.call(this,"projects",t)||this}return i(t,e),t}(P),_e=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.all=function(e,t){return l(this,"projects/"+encodeURIComponent(e)+"/hooks",t)},t.prototype.show=function(e,t,o){var n=[e,t].map(encodeURIComponent);return l(this,"projects/"+n[0]+"/hooks/"+n[1],o)},t.prototype.add=function(e,t,o){return f(this,"projects/"+encodeURIComponent(e)+"/hooks",u({url:t},o))},t.prototype.edit=function(e,t,o,n){var r=[e,t].map(encodeURIComponent);return y(this,"projects/"+r[0]+"/hooks/"+r[1],u({url:o},n))},t.prototype.remove=function(e,t,o){var n=[e,t].map(encodeURIComponent);return I(this,"projects/"+n[0]+"/hooks/"+n[1],o)},t}(v),we=function(e){function t(t){return e.call(this,"projects",t)||this}return i(t,e),t}(q),Pe=function(e){function t(t){return e.call(this,"projects",t)||this}return i(t,e),t}(k),qe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.all=function(e,t){return l(this,"projects/"+encodeURIComponent(e)+"/snippets",t)},t.prototype.content=function(e,t,o){var n=[e,t].map(encodeURIComponent);return l(this,"projects/"+n[0]+"/snippets/"+n[1]+"/raw",o)},t.prototype.create=function(e,t,o,n,r,s){return f(this,"projects/"+encodeURIComponent(e)+"/snippets",u({title:t,fileName:o,code:n,visibility:r},s))},t.prototype.edit=function(e,t,o){var n=[e,t].map(encodeURIComponent);return y(this,"projects/"+n[0]+"/snippets/"+n[1],o)},t.prototype.remove=function(e,t,o){var n=[e,t].map(encodeURIComponent);return I(this,"projects/"+n[0]+"/snippets/"+n[1],o)},t.prototype.show=function(e,t,o){var n=[e,t].map(encodeURIComponent);return l(this,"projects/"+n[0]+"/snippets/"+n[1],o)},t.prototype.userAgentDetails=function(e,t,o){var n=[e,t].map(encodeURIComponent);return l(this,"projects/"+n[0]+"/snippets/"+n[1]+"/user_agent_detail",o)},t}(v),ke=function(e){function t(t){return e.call(this,"projects","snippets",t)||this}return i(t,e),t}(S),Se=function(e){function t(t){return e.call(this,"projects","snippets",t)||this}return i(t,e),t}(w),Te=function(e){function t(t){return e.call(this,"issues",t)||this}return i(t,e),t}(g),Ge=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.all=function(e,t){return l(this,"projects/"+encodeURIComponent(e)+"/protected_branches",t)},t.prototype.protect=function(e,t,o){return f(this,"projects/"+encodeURIComponent(e)+"/protected_branches",u({name:t},o))},t.prototype.show=function(e,t,o){var n=[e,t].map(encodeURIComponent);return l(this,"projects/"+n[0]+"/protected_branches/"+n[1],o)},t.prototype.unprotect=function(e,t,o){var n=[e,t].map(encodeURIComponent);return I(this,"projects/"+n[0]+"/protected_branches/"+n[1],o)},t}(v),Ae=function(e){function t(t){return e.call(this,"projects",t)||this}return i(t,e),t}(G),Ee=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.compare=function(e,t,o,n){return l(this,"projects/"+encodeURIComponent(e)+"/repository/compare",u({from:t,to:o},n))},t.prototype.contributors=function(e,t){return l(this,"projects/"+encodeURIComponent(e)+"/repository/contributors",t)},t.prototype.showArchive=function(e,t){return l(this,"projects/"+encodeURIComponent(e)+"/repository/archive",t)},t.prototype.showBlob=function(e,t,o){return l(this,"projects/"+encodeURIComponent(e)+"/repository/blobs/"+t,o)},t.prototype.showBlobRaw=function(e,t,o){return l(this,"projects/"+encodeURIComponent(e)+"/repository/blobs/"+t+"/raw",o)},t.prototype.tree=function(e,t){return l(this,"projects/"+encodeURIComponent(e)+"/repository/tree",t)},t}(v),Me=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.create=function(e,t,o,n,r){var s=[e,t].map(encodeURIComponent);return f(this,"projects/"+s[0]+"/repository/files/"+s[1],u({branch:o,content:n},r))},t.prototype.edit=function(e,t,o,n,r){var s=[e,t].map(encodeURIComponent);return y(this,"projects/"+s[0]+"/repository/files/"+s[1],u({branch:o,content:n},r))},t.prototype.remove=function(e,t,o,n){var r=[e,t].map(encodeURIComponent);return I(this,"projects/"+r[0]+"/repository/files/"+r[1],u({branch:o},n))},t.prototype.show=function(e,t,o,n){var r=[e,t].map(encodeURIComponent);return l(this,"projects/"+r[0]+"/repository/files/"+r[1],u({ref:o},n))},t.prototype.showRaw=function(e,t,o,n){var r=[e,t].map(encodeURIComponent);return l(this,"projects/"+r[0]+"/repository/files/"+r[1]+"/raw",u({ref:o},n))},t}(v),xe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.all=function(e){var t=e.projectId,o=c(e,["projectId"]);return l(this,t?"projects/"+encodeURIComponent(t)+"/runners":"runners/all",o)},t.prototype.allOwned=function(e){return l(this,"runners",e)},t.prototype.edit=function(e,t){return y(this,"runners/"+encodeURIComponent(e),t)},t.prototype.enable=function(e,t,o){var n=[e,t].map(encodeURIComponent),r=n[0],s=n[1];return f(this,"projects/"+r+"/runners",u({runnerId:s},o))},t.prototype.disable=function(e,t,o){var n=[e,t].map(encodeURIComponent);return I(this,"projects/"+n[0]+"/runners/"+n[1],o)},t.prototype.jobs=function(e,t){return l(this,"runners/"+encodeURIComponent(e)+"/jobs",t)},t.prototype.remove=function(e,t){return I(this,"runners/"+encodeURIComponent(e),t)},t.prototype.show=function(e,t){return l(this,"runners/"+encodeURIComponent(e),t)},t}(v),De=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.edit=function(e,t,o){return y(this,"projects/"+encodeURIComponent(e)+"/services/"+t,o)},t.prototype.remove=function(e,t,o){return I(this,"projects/"+encodeURIComponent(e)+"/services/"+t,o)},t.prototype.show=function(e,t,o){return l(this,"projects/"+encodeURIComponent(e)+"/services/"+t,o)},t}(v),Be=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.all=function(e,t){return l(this,"projects/"+encodeURIComponent(e)+"/repository/tags",t)},t.prototype.create=function(e,t){return f(this,"projects/"+encodeURIComponent(e)+"/repository/tags",t)},t.prototype.remove=function(e,t,o){var n=[e,t].map(encodeURIComponent);return I(this,"projects/"+n[0]+"/repository/tags/"+n[1],o)},t.prototype.show=function(e,t,o){var n=[e,t].map(encodeURIComponent);return l(this,"projects/"+n[0]+"/repository/tags/"+n[1],o)},t}(v),Le=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.all=function(e){return l(this,"todos",e)},t.prototype.create=function(e,t,o){return f(this,"projects/"+e+"/merge_requests/"+t+"/todo",o)},t.prototype.done=function(e){var t=e.todoId,o="mark_as_done";return t&&(o=t+"/"+o),I(this,"todos/"+o,c(e,["todoId"]))},t}(v),Ne=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.add=function(e,t){return f(this,"projects/"+encodeURIComponent(e)+"/triggers",t)},t.prototype.all=function(e,t){return l(this,"projects/"+encodeURIComponent(e)+"/triggers",t)},t.prototype.edit=function(e,t,o){var n=[e,t].map(encodeURIComponent);return y(this,"projects/"+n[0]+"/triggers/"+n[1],o)},t.prototype.remove=function(e,t,o){var n=[e,t].map(encodeURIComponent);return I(this,"projects/"+n[0]+"/triggers/"+n[1],o)},t.prototype.show=function(e,t,o){var n=[e,t].map(encodeURIComponent);return l(this,"projects/"+n[0]+"/triggers/"+n[1],o)},t}(v),Oe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.create=function(e,t){return f(this,"projects/"+encodeURIComponent(e)+"/push_rule",t)},t.prototype.edit=function(e,t){t.upsert;var o=c(t,["upsert"]),n=encodeURIComponent(e);try{return y(this,"projects/"+n+"/push_rule",o)}catch(t){if(t.message.includes("exist"))return this.create(e,o);throw t}},t.prototype.remove=function(e,t){return I(this,"projects/"+encodeURIComponent(e)+"/push_rule",t)},t.prototype.show=function(e,t){return l(this,"projects/"+encodeURIComponent(e)+"/push_rule",t)},t}(v),Ke=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.all=function(e){return l(this,"application/settings",e)},t.prototype.edit=function(e){return y(this,"application/settings",e)},t}(v),Fe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.all=function(e){return l(this,"broadcast_messages",e)},t.prototype.create=function(e){return f(this,"broadcast_messages",e)},t.prototype.edit=function(e,t){return y(this,"broadcast_messages/"+encodeURIComponent(e),t)},t.prototype.remove=function(e){return I(this,"broadcast_messages/"+encodeURIComponent(e))},t.prototype.show=function(e,t){return l(this,"broadcast_messages/"+encodeURIComponent(e),t)},t}(v),Ve=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.all=function(e){return l(this,"events",e)},t}(v),ze=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.all=function(e){return l(this,"features",e)},t.prototype.set=function(e,t){return f(this,"features/"+encodeURIComponent(e),t)},t}(v),He=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.all=function(e){return l(this,"geo_nodes",e)},t.prototype.create=function(e,t){return f(this,"geo_nodes/"+encodeURIComponent(e),t)},t.prototype.edit=function(e,t){return y(this,"geo_nodes/"+encodeURIComponent(e),t)},t.prototype.failures=function(e){return f(this,"geo_nodes/current/failures",e)},t.prototype.repair=function(e,t){return I(this,"geo_nodes/"+encodeURIComponent(e),t)},t.prototype.show=function(e,t){return l(this,"geo_nodes/"+encodeURIComponent(e),t)},t.prototype.status=function(e,t){return l(this,"geo_nodes/"+encodeURIComponent(e)+"/status",t)},t.prototype.statuses=function(e){return l(this,"geo_nodes/statuses",e)},t}(v),Je=function(e){function t(t){return e.call(this,"gitignores",t)||this}return i(t,e),t}(T),We=function(e){function t(t){return e.call(this,"gitlab_ci_ymls",t)||this}return i(t,e),t}(T),Ye=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.show=function(e,t){return l(this,"keys/"+encodeURIComponent(e),t)},t}(v),Qe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.all=function(e){return l(this,"licence",e)},t.prototype.create=function(e){return f(this,"licence",e)},t}(v),Xe=function(e){function t(t){return e.call(this,"licences",t)||this}return i(t,e),t}(T),Ze=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.lint=function(e,t){return f(this,"lint",u({content:e},t))},t}(v),$e=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.all=function(e){return l(this,"namespaces",e)},t.prototype.show=function(e,t){return l(this,"namespaces/"+encodeURIComponent(e),t)},t}(v),et=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.all=function(e){void 0===e&&(e={});var t=e.projectId,o=e.groupId,n=c(e,["projectId","groupId"]),r="";return t?r+="projects/"+encodeURIComponent(t)+"/":o&&(r+="groups/"+encodeURIComponent(o)+"/"),l(this,r+"notification_settings",n)},t.prototype.edit=function(e){void 0===e&&(e={});var t=e.projectId,o=e.groupId,n=c(e,["projectId","groupId"]),r="";return t?r+="projects/"+encodeURIComponent(t)+"/":o&&(r+="groups/"+encodeURIComponent(o)+"/"),y(this,r+"notification_settings",n)},t}(v),tt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.render=function(e,t){return f(this,"markdown",u({text:e},t))},t}(v),ot=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.all=function(e){void 0===e&&(e={});var t=e.projectId,o=c(e,["projectId"]);return l(this,(t?"projects/"+encodeURIComponent(t)+"/":"")+"pages/domains",o)},t.prototype.create=function(e,t,o){return f(this,"projects/"+encodeURIComponent(e)+"/pages/domains",u({domain:t},o))},t.prototype.edit=function(e,t,o){return y(this,"projects/"+encodeURIComponent(e)+"/pages/domains/"+t,o)},t.prototype.show=function(e,t,o){return l(this,"projects/"+encodeURIComponent(e)+"/pages/domains/"+t,o)},t.prototype.remove=function(e,t,o){return I(this,"projects/"+encodeURIComponent(e)+"/pages/domains/"+t,o)},t}(v),nt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.all=function(e,t,o){var n=o.projectId,r=o.groupId,s=c(o,["projectId","groupId"]),p="";return n?p+="projects/"+encodeURIComponent(n)+"/":r&&(p+="groups/"+encodeURIComponent(r)+"/"),l(this,p+"search",u({scope:e,search:t},s))},t}(v),rt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.queueMetrics=function(){return l(this,"sidekiq/queue_metrics")},t.prototype.processMetrics=function(){return l(this,"sidekiq/process_metrics")},t.prototype.jobStats=function(){return l(this,"sidekiq/job_stats")},t.prototype.compoundMetrics=function(){return l(this,"sidekiq/compound_metrics")},t}(v),st=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.all=function(e){return l(this,e.public?"snippets/public":"snippets",c(e,["public"]))},t.prototype.content=function(e,t){return l(this,"snippets/"+encodeURIComponent(e)+"/raw",t)},t.prototype.create=function(e,t,o,n,r){return f(this,"snippets",u({title:e,fileName:t,content:o,visibility:n},r))},t.prototype.edit=function(e,t){return y(this,"snippets/"+encodeURIComponent(e),t)},t.prototype.remove=function(e,t){return I(this,"snippets/"+encodeURIComponent(e),t)},t.prototype.show=function(e,t){return l(this,"snippets/"+encodeURIComponent(e),t)},t.prototype.userAgentDetails=function(e,t){return l(this,"snippets/"+encodeURIComponent(e)+"/user_agent_detail",t)},t}(v),pt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.add=function(e,t){return f(this,"hooks",u({url:e},t))},t.prototype.all=function(e){return l(this,"hooks",e)},t.prototype.edit=function(e,t,o){return y(this,"hooks/"+encodeURIComponent(e),u({url:t},o))},t.prototype.remove=function(e,t){return I(this,"hooks/"+encodeURIComponent(e),t)},t}(v),it=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.show=function(e){return l(this,"version",e)},t}(v),ut=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.all=function(e,t){return l(this,"projects/"+encodeURIComponent(e)+"/wikis",t)},t.prototype.create=function(e,t){return f(this,"projects/"+encodeURIComponent(e)+"/wikis",t)},t.prototype.edit=function(e,t,o){return y(this,"projects/"+encodeURIComponent(e)+"/wikis/"+t,o)},t.prototype.show=function(e,t,o){return l(this,"projects/"+encodeURIComponent(e)+"/wikis/"+t,o)},t.prototype.remove=function(e,t,o){return I(this,"projects/"+encodeURIComponent(e)+"/wikis/"+t,o)},t}(v),ct=Object.freeze({Groups:U,GroupAccessRequests:A,GroupBadges:E,GroupCustomAttributes:M,GroupIssueBoards:x,GroupMembers:D,GroupMilestones:B,GroupProjects:L,GroupVariables:N,Epics:O,EpicIssues:K,EpicNotes:F,EpicDiscussions:V,Users:z,UserCustomAttributes:H,UserEmails:W,UserImpersonationTokens:Y,UserKeys:X,UserGPGKeys:$,Branches:ee,Commits:te,CommitDiscussions:oe,Deployments:ne,DeployKeys:re,Environments:se,Issues:pe,IssueNotes:ie,IssueDiscussions:ue,IssueAwardEmojis:ce,Jobs:ae,Labels:he,MergeRequests:me,MergeRequestAwardEmojis:le,MergeRequestDiscussions:de,MergeRequestNotes:fe,Pipelines:ye,PipelineSchedules:Ie,PipelineScheduleVariables:ve,Projects:Re,ProjectAccessRequests:Ue,ProjectBadges:je,ProjectCustomAttributes:Ce,ProjectImportExport:ge,ProjectIssueBoards:be,ProjectHooks:_e,ProjectMembers:we,ProjectMilestones:Pe,ProjectSnippets:qe,ProjectSnippetNotes:ke,ProjectSnippetDiscussions:Se,ProjectSnippetAwardEmojis:Te,ProtectedBranches:Ge,ProjectVariables:Ae,Repositories:Ee,RepositoryFiles:Me,Runners:xe,Services:De,Tags:Be,Todos:Le,Triggers:Ne,PushRule:Oe,ApplicationSettings:Ke,BroadcastMessages:Fe,Events:Ve,FeatureFlags:ze,GeoNodes:He,GitignoreTemplates:Je,GitLabCIYMLTemplates:We,Keys:Ye,Licence:Qe,LicenceTemplates:Xe,Lint:Ze,Namespaces:$e,NotificationSettings:et,Markdown:tt,PagesDomains:ot,Search:nt,SidekiqMetrics:rt,Snippets:st,SystemHooks:pt,Version:it,Wikis:ut}),at=R({Groups:U,GroupAccessRequests:A,GroupBadges:E,GroupCustomAttributes:M,GroupIssueBoards:x,GroupMembers:D,GroupMilestones:B,GroupProjects:L,GroupVariables:N,Epics:O,EpicIssues:K,EpicNotes:F,EpicDiscussions:V}),ht=R({Users:z,UserCustomAttributes:H,UserEmails:W,UserImpersonationTokens:Y,UserKeys:X,UserGPGKeys:$}),mt=R({Branches:ee,Commits:te,CommitDiscussions:oe,DeployKeys:re,Deployments:ne,Environments:se,Issues:pe,IssueAwardEmojis:ce,IssueNotes:ie,IssueDiscussions:ue,Jobs:ae,Labels:he,MergeRequests:me,MergeRequestAwardEmojis:le,MergeRequestDiscussions:de,MergeRequestNotes:fe,Pipelines:ye,PipelineSchedules:Ie,PipelineScheduleVariables:ve,Projects:Re,ProjectAccessRequests:Ue,ProjectBadges:je,ProjectCustomAttributes:Ce,ProjectImportExport:ge,ProjectIssueBoards:be,ProjectHooks:_e,ProjectMembers:we,ProjectMilestones:Pe,ProjectSnippets:qe,ProjectSnippetNotes:ke,ProjectSnippetDiscussions:Se,ProjectSnippetAwardEmojis:Te,ProtectedBranches:Ge,ProjectVariables:Ae,Repositories:Ee,RepositoryFiles:Me,Runners:xe,Services:De,Tags:Be,Triggers:Ne}),lt=R(ct);e.GroupsBundle=at,e.UsersBundle=ht,e.ProjectsBundle=mt,e.Gitlab=lt,e.Groups=U,e.GroupAccessRequests=A,e.GroupBadges=E,e.GroupCustomAttributes=M,e.GroupIssueBoards=x,e.GroupMembers=D,e.GroupMilestones=B,e.GroupProjects=L,e.GroupVariables=N,e.Epics=O,e.EpicIssues=K,e.EpicNotes=F,e.EpicDiscussions=V,e.Users=z,e.UserCustomAttributes=H,e.UserEmails=W,e.UserImpersonationTokens=Y,e.UserKeys=X,e.UserGPGKeys=$,e.Branches=ee,e.Commits=te,e.CommitDiscussions=oe,e.Deployments=ne,e.DeployKeys=re,e.Environments=se,e.Issues=pe,e.IssueNotes=ie,e.IssueDiscussions=ue,e.IssueAwardEmojis=ce,e.Jobs=ae,e.Labels=he,e.MergeRequests=me,e.MergeRequestAwardEmojis=le,e.MergeRequestDiscussions=de,e.MergeRequestNotes=fe,e.Pipelines=ye,e.PipelineSchedules=Ie,e.PipelineScheduleVariables=ve,e.Projects=Re,e.ProjectAccessRequests=Ue,e.ProjectBadges=je,e.ProjectCustomAttributes=Ce,e.ProjectImportExport=ge,e.ProjectIssueBoards=be,e.ProjectHooks=_e,e.ProjectMembers=we,e.ProjectMilestones=Pe,e.ProjectSnippets=qe,e.ProjectSnippetNotes=ke,e.ProjectSnippetDiscussions=Se,e.ProjectSnippetAwardEmojis=Te,e.ProtectedBranches=Ge,e.ProjectVariables=Ae,e.Repositories=Ee,e.RepositoryFiles=Me,e.Runners=xe,e.Services=De,e.Tags=Be,e.Todos=Le,e.Triggers=Ne,e.PushRule=Oe,e.ApplicationSettings=Ke,e.BroadcastMessages=Fe,e.Events=Ve,e.FeatureFlags=ze,e.GeoNodes=He,e.GitignoreTemplates=Je,e.GitLabCIYMLTemplates=We,e.Keys=Ye,e.Licence=Qe,e.LicenceTemplates=Xe,e.Lint=Ze,e.Namespaces=$e,e.NotificationSettings=et,e.Markdown=tt,e.PagesDomains=ot,e.Search=nt,e.SidekiqMetrics=rt,e.Snippets=st,e.SystemHooks=pt,e.Version=it,e.Wikis=ut,Object.defineProperty(e,"__esModule",{value:!0})}); | ||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("humps"),require("query-string"),require("got"),require("randomstring"),require("form-data")):"function"==typeof define&&define.amd?define(["exports","humps","query-string","got","randomstring","form-data"],e):e(t["node-gitlab"]={},t.Humps,t.QueryString,t.Request,t.RandomString,t.FormData)}(this,function(t,e,o,n,r,s){"use strict";n=n&&n.hasOwnProperty("default")?n.default:n,r=r&&r.hasOwnProperty("default")?r.default:r,s=s&&s.hasOwnProperty("default")?s.default:s;var p=function(t,e){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)};function i(t,e){function o(){this.constructor=t}p(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}var u=function(){return(u=Object.assign||function(t){for(var e,o=1,n=arguments.length;o<n;o++)for(var r in e=arguments[o])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};function c(t,e){var o={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(o[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(t);r<n.length;r++)e.indexOf(n[r])<0&&(o[n[r]]=t[n[r]])}return o}function a(t,e,o,n){return new(o||(o=Promise))(function(r,s){function p(t){try{u(n.next(t))}catch(t){s(t)}}function i(t){try{u(n.throw(t))}catch(t){s(t)}}function u(t){t.done?r(t.value):new o(function(e){e(t.value)}).then(p,i)}u((n=n.apply(t,e||[])).next())})}function h(t,e){var o,n,r,s,p={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return s={next:i(0),throw:i(1),return:i(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function i(s){return function(i){return function(s){if(o)throw new TypeError("Generator is already executing.");for(;p;)try{if(o=1,n&&(r=2&s[0]?n.return:s[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,s[1])).done)return r;switch(n=0,r&&(s=[2&s[0],r.value]),s[0]){case 0:case 1:r=s;break;case 4:return p.label++,{value:s[1],done:!1};case 5:p.label++,n=s[1],s=[0];continue;case 7:s=p.ops.pop(),p.trys.pop();continue;default:if(!(r=(r=p.trys).length>0&&r[r.length-1])&&(6===s[0]||2===s[0])){p=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1]<r[3])){p.label=s[1];break}if(6===s[0]&&p.label<r[1]){p.label=r[1],r=s;break}if(r&&p.label<r[2]){p.label=r[2],p.ops.push(s);break}r[2]&&p.ops.pop(),p.trys.pop();continue}s=e.call(t,p)}catch(t){s=[6,t],n=0}finally{o=r=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,i])}}}function m(t,e){var o="function"==typeof Symbol&&t[Symbol.iterator];if(!o)return t;var n,r,s=o.call(t),p=[];try{for(;(void 0===e||e-- >0)&&!(n=s.next()).done;)p.push(n.value)}catch(t){r={error:t}}finally{try{n&&!n.done&&(o=s.return)&&o.call(s)}finally{if(r)throw r.error}}return p}function l(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(m(arguments[e]));return t}function d(t,n,r){var s=r.body,p=r.query,i=r.sudo;return[n,{baseUrl:t.url,headers:u({sudo:i},t.headers),query:p&&o.stringify(e.decamelizeKeys(p),{arrayFormat:"bracket"}),body:s&&e.decamelizeKeys(s),rejectUnauthorized:t.rejectUnauthorized,json:!0}]}function f(t,e,o){return void 0===o&&(o={}),a(this,void 0,void 0,function(){var r,s,p,i,a,m,y,I,v,R,U;return h(this,function(h){switch(h.label){case 0:return r=o.showPagination,s=o.maxPages,p=o.sudo,i=c(o,["showPagination","maxPages","sudo"]),a=d(t,e,{query:i,sudo:p}),[4,n.get.apply(n,l(a))];case 1:return m=h.sent(),y=m.headers,I=m.body,v={total:y["x-total"],next:y["x-next-page"]||null,current:y["x-page"]||null,previous:y["x-prev-page"]||null,perPage:y["x-per-page"],totalPages:y["x-total-pages"]},R=!s||v.current<s,!i.page&&R&&v.next?[4,f(t,e,u({page:v.next},o))]:[3,3];case 2:return U=h.sent(),[2,l(I,U)];case 3:return[2,(i.page||s)&&r?{data:I,pagination:v}:I]}})})}function y(t,e,o){return void 0===o&&(o={}),n.stream.apply(n,l(d(t,e,{query:o})))}function I(t,e,o){return void 0===o&&(o={}),a(this,void 0,void 0,function(){var r,s;return h(this,function(p){switch(p.label){case 0:return r=o.sudo,s=c(o,["sudo"]),[4,n.post.apply(n,l(d(t,e,{body:s,sudo:r})))];case 1:return[2,p.sent().body]}})})}function v(t,e,o){return void 0===o&&(o={}),a(this,void 0,void 0,function(){var r;return h(this,function(s){switch(s.label){case 0:return o.sudo,r=c(o,["sudo"]),[4,n.put.apply(n,l(d(t,e,{body:r})))];case 1:return[2,s.sent().body]}})})}function R(t,e,o){return void 0===o&&(o={}),a(this,void 0,void 0,function(){var r;return h(this,function(s){switch(s.label){case 0:return o.sudo,r=c(o,["sudo"]),[4,n.delete.apply(n,l(d(t,e,{query:r})))];case 1:return[2,s.sent().body]}})})}var U=function(){return function(t){var e=t.token,o=t.oauthToken,r=t.sudo,s=t.host,p=void 0===s?"https://gitlab.com":s,i=t.url,u=void 0===i?"":i,c=t.version,a=void 0===c?"v4":c,h=t.rejectUnauthorized,m=void 0===h||h,l=t.requester,d=void 0===l?n:l;this.url=[p,"api",a,u].join("/"),this.headers={},this.rejectUnauthorized=m,this.requester=d,o?this.headers.authorization="Bearer "+o:e&&(this.headers["private-token"]=e),r&&(this.headers.Sudo=r)}}();function j(t){return function(e){var o=this;Object.entries(t||{}).forEach(function(t){var n=m(t,2),r=n[0],s=n[1];o[r]=new s(e)})}}var C=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.all=function(t){return f(this,"groups",t)},e.prototype.create=function(t){return I(this,"groups",t)},e.prototype.createLDAPLink=function(t,e,o,n,r){return I(this,"groups/"+encodeURIComponent(t)+"/ldap_group_links",u({cn:e,groupAccess:o,provider:n},r))},e.prototype.edit=function(t,e){return v(this,"groups/"+encodeURIComponent(t),e)},e.prototype.remove=function(t,e){return R(this,"groups/"+encodeURIComponent(t),e)},e.prototype.removeLDAPLink=function(t,e,o){void 0===o&&(o={});var n=o.provider,r=c(o,["provider"]);return R(this,"groups/"+encodeURIComponent(t)+"/ldap_group_links/"+(n?n+"/"+e:""+e),r)},e.prototype.search=function(t,e){return f(this,"groups",u({search:t},e))},e.prototype.show=function(t,e){return f(this,"groups/"+encodeURIComponent(t),e)},e.prototype.subgroups=function(t,e){return f(this,"groups/"+encodeURIComponent(t)+"/subgroups",e)},e.prototype.syncLDAP=function(t,e){return I(this,"groups/"+encodeURIComponent(t)+"/ldap_sync",e)},e}(U),g=function(t){function e(e,o){return t.call(this,u({url:e},o))||this}return i(e,t),e.prototype.all=function(t){return f(this,encodeURIComponent(t)+"/access_requests")},e.prototype.request=function(t){return I(this,encodeURIComponent(t)+"/access_requests")},e.prototype.approve=function(t,e,o){var n=o.accessLevel,r=m([t,e].map(encodeURIComponent),2);return I(this,r[0]+"/access_requests/"+r[1]+"/approve",{accessLevel:n})},e.prototype.deny=function(t,e){var o=m([t,e].map(encodeURIComponent),2);return R(this,o[0]+"/access_requests/"+o[1])},e}(U);function b(t,e,o,n,r){var s=m([t,o].map(encodeURIComponent),2),p=[s[0],e,s[1]];return r&&p.push("notes",encodeURIComponent(r)),p.push(encodeURIComponent("award_emoji")),n&&p.push(encodeURIComponent(n)),p.join("/")}var _=function(t){function e(e,o){var n=t.call(this,u({url:"projects"},o))||this;return n.resourceType=e,n}return i(e,t),e.prototype.all=function(t,e,o,n){return f(this,b(t,this.resourceType,e,null,o),n)},e.prototype.award=function(t,e,o,n,r){return I(this,b(t,this.resourceType,e,null,n),u({name:o},r))},e.prototype.remove=function(t,e,o,n,r){return R(this,b(t,this.resourceType,e,o,n),r)},e.prototype.show=function(t,e,o,n,r){return f(this,b(t,this.resourceType,e,o,n),r)},e}(U),w=function(t){function e(e,o){return t.call(this,u({url:e},o))||this}return i(e,t),e.prototype.add=function(t,e){return I(this,encodeURIComponent(t)+"/badges",e)},e.prototype.all=function(t,e){return f(this,encodeURIComponent(t)+"/badges",e)},e.prototype.edit=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return v(this,n[0]+"/badges/"+n[1],o)},e.prototype.preview=function(t,e,o,n){return f(this,encodeURIComponent(t)+"/badges/render",u({linkUrl:e,imageUrl:o},n))},e.prototype.remove=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return R(this,n[0]+"/badges/"+n[1],o)},e.prototype.show=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return f(this,n[0]+"/badges/"+n[1],o)},e}(U),P=function(t){function e(e,o){return t.call(this,u({url:e},o))||this}return i(e,t),e.prototype.all=function(t,e){return f(this,encodeURIComponent(t)+"/custom_attributes",e)},e.prototype.set=function(t,e,o,n){var r=m([t,e].map(encodeURIComponent),2);return v(this,r[0]+"/custom_attributes/"+r[1],u({value:o},n))},e.prototype.remove=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return R(this,n[0]+"/custom_attributes/"+n[1],o)},e.prototype.show=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return f(this,n[0]+"/custom_attributes/"+n[1],o)},e}(U),q=function(t){function e(e,o,n){var r=t.call(this,u({url:e},n))||this;return r.resource2Type=o,r}return i(e,t),e.prototype.addNote=function(t,e,o,n,r,s){if(!r)throw new Error("Missing required content argument");var p=m([t,e,o,n].map(encodeURIComponent),4),i=p[0],c=p[1],a=p[2],h=p[3];return v(this,i+"/"+this.resource2Type+"/"+c+"/discussions/"+a+"/notes/"+h,u({body:r},s))},e.prototype.all=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2),r=n[0],s=n[1];return f(this,r+"/"+this.resource2Type+"/"+s+"/discussions",o)},e.prototype.create=function(t,e,o,n){if(!o)throw new Error("Missing required content argument");var r=m([t,e].map(encodeURIComponent),2),s=r[0],p=r[1];return I(this,s+"/"+this.resource2Type+"/"+p+"/discussions",u({body:o},n))},e.prototype.editNote=function(t,e,o,n,r){var s=m([t,e,o,n].map(encodeURIComponent),4),p=s[0],i=s[1],u=s[2],c=s[3];return v(this,p+"/"+this.resource2Type+"/"+i+"/discussions/"+u+"/notes/"+c,{body:r})},e.prototype.removeNote=function(t,e,o,n,r){var s=m([t,e,o,n].map(encodeURIComponent),4),p=s[0],i=s[1],u=s[2],c=s[3];return R(this,p+"/"+this.resource2Type+"/"+i+"/discussions/"+u+"/notes/"+c,r)},e.prototype.show=function(t,e,o,n){var r=m([t,e,o].map(encodeURIComponent),3),s=r[0],p=r[1],i=r[2];return f(this,s+"/"+this.resource2Type+"/"+p+"/discussions/"+i,n)},e}(U),k=function(t){function e(e,o){return t.call(this,u({url:e},o))||this}return i(e,t),e.prototype.all=function(t,e){return f(this,encodeURIComponent(t)+"/boards",e)},e.prototype.create=function(t,e,o){return I(this,encodeURIComponent(t)+"/boards",u({name:e},o))},e.prototype.createList=function(t,e,o,n){var r=m([t,e].map(encodeURIComponent),2);return I(this,r[0]+"/boards/"+r[1]+"/lists",u({labelId:o},n))},e.prototype.edit=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return v(this,n[0]+"/boards/"+n[1],o)},e.prototype.editList=function(t,e,o,n,r){var s=m([t,e,o].map(encodeURIComponent),3);return v(this,s[0]+"/boards/"+s[1]+"/lists/"+s[2],u({position:n},r))},e.prototype.lists=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return f(this,n[0]+"/boards/"+n[1]+"/lists",o)},e.prototype.remove=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return R(this,n[0]+"/boards/"+n[1],o)},e.prototype.removeList=function(t,e,o,n){var r=m([t,e,o].map(encodeURIComponent),3);return R(this,r[0]+"/boards/"+r[1]+"/lists/"+r[2],n)},e.prototype.show=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return f(this,n[0]+"/boards/"+n[1],o)},e.prototype.showList=function(t,e,o,n){var r=m([t,e,o].map(encodeURIComponent),3);return f(this,r[0]+"/boards/"+r[1]+"/lists/"+r[2],n)},e}(U),S=function(t){function e(e,o){return t.call(this,u({url:e},o))||this}return i(e,t),e.prototype.all=function(t,e,o){void 0===e&&(e=!1);var n=[encodeURIComponent(t),"members"];return e&&n.push("all"),f(this,n.join("/"),{options:o})},e.prototype.add=function(t,e,o,n){var r=m([t,e].map(encodeURIComponent),2),s=r[0],p=r[1];return I(this,s+"/members",u({userId:p,accessLevel:o},n))},e.prototype.edit=function(t,e,o,n){var r=m([t,e].map(encodeURIComponent),2);return v(this,r[0]+"/members/"+r[1],u({accessLevel:o},n))},e.prototype.show=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return f(this,n[0]+"/members/"+n[1],o)},e.prototype.remove=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return R(this,n[0]+"/members/"+n[1],o)},e}(U),T=function(t){function e(e,o){return t.call(this,u({url:e},o))||this}return i(e,t),e.prototype.all=function(t,e){return f(this,encodeURIComponent(t)+"/milestones",e)},e.prototype.create=function(t,e,o){return I(this,encodeURIComponent(t)+"/milestones",u({title:e},o))},e.prototype.edit=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return v(this,n[0]+"/milestones/"+n[1],o)},e.prototype.issues=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return f(this,n[0]+"/milestones/"+n[1]+"/issues",o)},e.prototype.mergeRequests=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return f(this,n[0]+"/milestones/"+n[1]+"/merge_requests",o)},e.prototype.show=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return f(this,n[0]+"/milestones/"+n[1],o)},e}(U),G=function(t){function e(e,o,n){var r=t.call(this,u({url:e},n))||this;return r.resource2Type=o,r}return i(e,t),e.prototype.all=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2),r=n[0],s=n[1];return f(this,r+"/"+this.resource2Type+"/"+s+"/notes",o)},e.prototype.create=function(t,e,o,n){var r=m([t,e].map(encodeURIComponent),2),s=r[0],p=r[1];return I(this,s+"/"+this.resource2Type+"/"+p+"/notes",u({body:o},n))},e.prototype.edit=function(t,e,o,n,r){var s=m([t,e,o].map(encodeURIComponent),3),p=s[0],i=s[1],c=s[2];return v(this,p+"/"+this.resource2Type+"/"+i+"/notes/"+c,u({body:n},r))},e.prototype.remove=function(t,e,o,n){var r=m([t,e,o].map(encodeURIComponent),3),s=r[0],p=r[1],i=r[2];return R(this,s+"/"+this.resource2Type+"/"+p+"/notes/"+i,n)},e.prototype.show=function(t,e,o,n){var r=m([t,e,o].map(encodeURIComponent),3),s=r[0],p=r[1],i=r[2];return f(this,s+"/"+this.resource2Type+"/"+p+"/notes/"+i,n)},e}(U),A=function(t){function e(e,o){return t.call(this,u({url:["templates",e].join("/")},o))||this}return i(e,t),e.prototype.all=function(t){return f(this,"",t)},e.prototype.show=function(t,e){return I(this,""+encodeURIComponent(t),e)},e}(U),E=function(t){function e(e,o){return t.call(this,u({url:e},o))||this}return i(e,t),e.prototype.all=function(t,e){return f(this,encodeURIComponent(t)+"/variables",e)},e.prototype.create=function(t,e){return I(this,encodeURIComponent(t)+"/variables",e)},e.prototype.edit=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return v(this,n[0]+"/variables/"+n[1],o)},e.prototype.show=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return f(this,n[0]+"/variables/"+n[1],o)},e.prototype.remove=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return R(this,n[0]+"/variables/"+n[1],o)},e}(U),M=function(t){function e(e){return t.call(this,"groups",e)||this}return i(e,t),e}(g),x=function(t){function e(e){return t.call(this,"groups",e)||this}return i(e,t),e}(w),D=function(t){function e(e){return t.call(this,"groups",e)||this}return i(e,t),e}(P),B=function(t){function e(e){return t.call(this,"groups",e)||this}return i(e,t),e}(k),L=function(t){function e(e){return t.call(this,"groups",e)||this}return i(e,t),e}(S),N=function(t){function e(e){return t.call(this,"groups",e)||this}return i(e,t),e}(T),O=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.all=function(t,e){return f(this,"groups/"+encodeURIComponent(t)+"/projects",e)},e.prototype.add=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return I(this,"groups/"+n[0]+"/projects/"+n[1],o)},e}(U),K=function(t){function e(e){return t.call(this,"groups",e)||this}return i(e,t),e}(E),F=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.all=function(t,e){return f(this,"groups/"+encodeURIComponent(t)+"/epics",e)},e.prototype.create=function(t,e,o){return I(this,"groups/"+encodeURIComponent(t)+"/epics",u({title:e},o))},e.prototype.edit=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return v(this,"groups/"+n[0]+"/epics/"+n[1],o)},e.prototype.remove=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return R(this,"groups/"+n[0]+"/epics/"+n[1],o)},e.prototype.show=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return f(this,"groups/"+n[0]+"/epics/"+n[1],o)},e}(U),V=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.all=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return f(this,"groups/"+n[0]+"/epics/"+n[1]+"/issues",o)},e.prototype.assign=function(t,e,o,n){var r=m([t,e,o].map(encodeURIComponent),3);return v(this,"groups/"+r[0]+"/epics/"+r[1]+"/issues/"+r[2],n)},e.prototype.edit=function(t,e,o,n){var r=m([t,e,o].map(encodeURIComponent),3);return R(this,"groups/"+r[0]+"/epics/"+r[1]+"/issues/"+r[2],n)},e.prototype.remove=function(t,e,o,n){var r=m([t,e,o].map(encodeURIComponent),3);return R(this,"groups/"+r[0]+"/epics/"+r[1]+"/issues/"+r[2],n)},e}(U),z=function(t){function e(e){return t.call(this,"groups","epics",e)||this}return i(e,t),e}(G),H=function(t){function e(e){return t.call(this,"groups","epics",e)||this}return i(e,t),e}(q),J=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.all=function(t){return f(this,"users",t)},e.prototype.activities=function(t){return f(this,"users/activities",t)},e.prototype.projects=function(t,e){return f(this,"users/"+encodeURIComponent(t)+"/projects",e)},e.prototype.block=function(t,e){return I(this,"users/"+encodeURIComponent(t)+"/block",e)},e.prototype.create=function(t){return I(this,"users",t)},e.prototype.current=function(t){return f(this,"user",t)},e.prototype.edit=function(t,e){return v(this,"users/"+encodeURIComponent(t),e)},e.prototype.events=function(t,e){return f(this,"users/"+encodeURIComponent(t)+"/events",e)},e.prototype.session=function(t,e,o){return I(this,"session",u({email:t,password:e},o))},e.prototype.search=function(t,e){return f(this,"users",u({search:t},e))},e.prototype.show=function(t,e){return f(this,"users/"+encodeURIComponent(t),e)},e.prototype.remove=function(t,e){return R(this,"users/"+encodeURIComponent(t),e)},e.prototype.unblock=function(t,e){return I(this,"users/"+encodeURIComponent(t)+"/unblock",e)},e}(U),W=function(t){function e(e){return t.call(this,"users",e)||this}return i(e,t),e}(P),Y=function(t){return t?"users/"+encodeURIComponent(t)+"/emails":"user/emails"},Q=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.all=function(t){void 0===t&&(t={});var e=t.userId,o=c(t,["userId"]);return f(this,Y(e),o)},e.prototype.add=function(t,e){void 0===e&&(e={});var o=e.userId,n=c(e,["userId"]);return I(this,Y(o),u({email:t},n))},e.prototype.show=function(t,e){return f(this,"user/emails/"+encodeURIComponent(t),e)},e.prototype.remove=function(t,e){void 0===e&&(e={});var o=e.userId,n=c(e,["userId"]),r=encodeURIComponent(t);return R(this,Y(o)+"/"+r,n)},e}(U),X=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.all=function(t,e){return f(this,"users/"+encodeURIComponent(t)+"/impersonation_tokens",e)},e.prototype.add=function(t,e,o,n,r){return I(this,"users/"+encodeURIComponent(t)+"/impersonation_tokens",u({name:e,expiresAt:n,scopes:o},r))},e.prototype.show=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return f(this,"users/"+n[0]+"/impersonation_tokens/"+n[1],o)},e.prototype.revoke=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return R(this,"users/"+n[0]+"/impersonation_tokens/"+n[1],o)},e}(U),Z=function(t){return t?"users/"+encodeURIComponent(t)+"/keys":"user/keys"},$=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.all=function(t){void 0===t&&(t={});var e=t.userId,o=c(t,["userId"]);return f(this,Z(e),o)},e.prototype.create=function(t,e,o){void 0===o&&(o={});var n=o.userId,r=c(o,["userId"]);return I(this,Z(n),u({title:t,key:e},r))},e.prototype.show=function(t,e){return f(this,"user/keys/"+encodeURIComponent(t),e)},e.prototype.remove=function(t,e){void 0===e&&(e={});var o=e.userId,n=c(e,["userId"]),r=encodeURIComponent(t);return R(this,Z(o)+"/"+r,n)},e}(U),tt=function(t){return t?"users/"+encodeURIComponent(t)+"/gpg_keys":"users/gpg_keys"},et=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.all=function(t){void 0===t&&(t={});var e=t.userId,o=c(t,["userId"]);return f(this,tt(e),o)},e.prototype.add=function(t,e,o){void 0===o&&(o={});var n=o.userId,r=c(o,["userId"]);return I(this,tt(n),u({title:t,key:e},r))},e.prototype.show=function(t,e){void 0===e&&(e={});var o=e.userId,n=c(e,["userId"]),r=encodeURIComponent(t);return f(this,tt(o)+"/"+r,n)},e.prototype.remove=function(t,e){void 0===e&&(e={});var o=e.userId,n=c(e,["userId"]),r=encodeURIComponent(t);return R(this,tt(o)+"/"+r,n)},e}(U),ot=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.all=function(t,e){return f(this,"projects/"+encodeURIComponent(t)+"/repository/branches",e)},e.prototype.create=function(t,e,o,n){return I(this,"projects/"+encodeURIComponent(t)+"/repository/branches",u({branch:e,ref:o},n))},e.prototype.protect=function(t,e,o){return I(this,"projects/"+encodeURIComponent(t)+"/protected_branches",u({name:e},o))},e.prototype.remove=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return R(this,"projects/"+n[0]+"/repository/branches/"+n[1],o)},e.prototype.show=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return f(this,"projects/"+n[0]+"/repository/branches/"+n[1],o)},e.prototype.unprotect=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return v(this,"projects/"+n[0]+"/repository/branches/"+n[1]+"/unprotect",o)},e}(U),nt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.all=function(t,e){return f(this,"projects/"+encodeURIComponent(t)+"/repository/commits",e)},e.prototype.cherryPick=function(t,e,o,n){return I(this,"projects/"+encodeURIComponent(t)+"/repository/commits/"+e+"/cherry_pick",u({branch:o},n))},e.prototype.comments=function(t,e,o){return f(this,"projects/"+encodeURIComponent(t)+"/repository/commits/"+e+"/comments",o)},e.prototype.create=function(t,e,o,n,r){return void 0===n&&(n=[]),I(this,"projects/"+encodeURIComponent(t)+"/repository/commits",u({branch:e,commitMessage:o,actions:n},r))},e.prototype.createComment=function(t,e,o,n){return I(this,"projects/"+encodeURIComponent(t)+"/repository/commits/"+e+"/comments",u({note:o},n))},e.prototype.diff=function(t,e,o){return f(this,"projects/"+encodeURIComponent(t)+"/repository/commits/"+e+"/diff",o)},e.prototype.editStatus=function(t,e,o){return I(this,"projects/"+encodeURIComponent(t)+"/statuses/"+e,o)},e.prototype.references=function(t,e,o){return f(this,"projects/"+encodeURIComponent(t)+"/repository/commits/"+e+"/refs",o)},e.prototype.show=function(t,e,o){return f(this,"projects/"+encodeURIComponent(t)+"/repository/commits/"+e,o)},e.prototype.status=function(t,e,o){return f(this,"projects/"+encodeURIComponent(t)+"/repository/commits/"+e+"/statuses",o)},e}(U),rt=function(t){function e(e){return t.call(this,"projects","commits",e)||this}return i(e,t),e}(q),st=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.all=function(t,e){return f(this,"projects/"+encodeURIComponent(t)+"/deployments",e)},e.prototype.show=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return I(this,"projects/"+n[0]+"/deployments/"+n[1],o)},e}(U),pt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.add=function(t,e){return I(this,"projects/"+encodeURIComponent(t)+"/deploy_keys",e)},e.prototype.all=function(t,e){return f(this,"projects/"+encodeURIComponent(t)+"/deploy_keys",e)},e.prototype.show=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return f(this,"projects/"+n[0]+"/deploy_keys/"+n[1],o)},e.prototype.enable=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return I(this,"projects/"+n[0]+"/deploy_keys/"+n[1]+"/enable",o)},e}(U),it=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.all=function(t,e){return f(this,"projects/"+encodeURIComponent(t)+"/environments",e)},e.prototype.create=function(t,e){return I(this,"projects/"+encodeURIComponent(t)+"/environments",e)},e.prototype.edit=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return v(this,"projects/"+n[0]+"/environments/"+n[1],o)},e.prototype.remove=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return R(this,"projects/"+n[0]+"/environments/"+n[1],o)},e.prototype.stop=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return I(this,"projects/"+n[0]+"/environments/"+n[1]+"/stop",o)},e}(U),ut=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.addSpentTime=function(t,e,o,n){var r=m([t,e].map(encodeURIComponent),2);return I(this,"projects/"+r[0]+"/issues/"+r[1]+"/add_spent_time",u({duration:o},n))},e.prototype.addTimeEstimate=function(t,e,o,n){var r=m([t,e].map(encodeURIComponent),2);return I(this,"projects/"+r[0]+"/issues/"+r[1]+"/time_estimate",u({duration:o},n))},e.prototype.all=function(t){var e=t.projectId,o=c(t,["projectId"]);return f(this,e?"projects/"+encodeURIComponent(e)+"/issues":"issues",o)},e.prototype.create=function(t,e){return I(this,"projects/"+encodeURIComponent(t)+"/issues",e)},e.prototype.edit=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return v(this,"projects/"+n[0]+"/issues/"+n[1],o)},e.prototype.link=function(t,e,o,n,r){var s=m([t,e].map(encodeURIComponent),2),p=s[0],i=s[1],c=m([o,n].map(encodeURIComponent),2),a=c[0],h=c[1];return I(this,"projects/"+p+"/issues/"+i+"/links",u({targetProjectId:a,targetIssueId:h},r))},e.prototype.participants=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return f(this,"projects/"+n[0]+"/issues/"+n[1]+"/participants",o)},e.prototype.remove=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return R(this,"projects/"+n[0]+"/issues/"+n[1],o)},e.prototype.resetSpentTime=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return I(this,"projects/"+n[0]+"/issues/"+n[1]+"/reset_spent_time",o)},e.prototype.resetTimeEstimate=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return I(this,"projects/"+n[0]+"/issues/"+n[1]+"/reset_time_estimate",o)},e.prototype.show=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return f(this,"projects/"+n[0]+"/issues/"+n[1],o)},e.prototype.subscribe=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return I(this,"projects/"+n[0]+"/issues/"+n[1]+"/subscribe",o)},e.prototype.timeStats=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return f(this,"projects/"+n[0]+"/issues/"+n[1]+"/time_stats",o)},e.prototype.unsubscribe=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return R(this,"projects/"+n[0]+"/issues/"+n[1]+"/unsubscribe",o)},e}(U),ct=function(t){function e(e){return t.call(this,"projects","issues",e)||this}return i(e,t),e}(G),at=function(t){function e(e){return t.call(this,"projects","issues",e)||this}return i(e,t),e}(q),ht=function(t){function e(e){return t.call(this,"issues",e)||this}return i(e,t),e}(_),mt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.all=function(t,e){return f(this,"projects/"+encodeURIComponent(t)+"/jobs",e)},e.prototype.cancel=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return I(this,"projects/"+n[0]+"/jobs/"+n[1]+"/cancel",o)},e.prototype.downloadSingleArtifactFile=function(t,e,o,n){var r=n.stream,s=void 0!==r&&r,p=c(n,["stream"]),i=m([t,e].map(encodeURIComponent),2),u=i[0],a=i[1];return s?y(this,"projects/"+u+"/jobs/"+a+"/artifacts/"+o,p):f(this,"projects/"+u+"/jobs/"+a+"/artifacts/"+o,p)},e.prototype.downloadLatestArtifactFile=function(t,e,o,n){var r=n.stream,s=void 0!==r&&r,p=c(n,["stream"]),i=m([t,e,o].map(encodeURIComponent),3),u=i[0],a=i[1],h=i[2];return s?y(this,"projects/"+u+"/jobs/artifacts/"+a+"/download?job="+h,p):f(this,"projects/"+u+"/jobs/artifacts/"+a+"/download?job="+h,p)},e.prototype.downloadTraceFile=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return f(this,"projects/"+n[0]+"/jobs/"+n[1]+"/trace",o)},e.prototype.erase=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return I(this,"projects/"+n[0]+"/jobs/"+n[1]+"/erase",o)},e.prototype.keepArtifacts=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return I(this,"projects/"+n[0]+"/jobs/"+n[1]+"/artifacts/keep",o)},e.prototype.play=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return I(this,"projects/"+n[0]+"/jobs/"+n[1]+"/play",o)},e.prototype.retry=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return I(this,"projects/"+n[0]+"/jobs/"+n[1]+"/retry",o)},e.prototype.show=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return f(this,"projects/"+n[0]+"/jobs/"+n[1],o)},e.prototype.showPipelineJobs=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return f(this,"projects/"+n[0]+"/pipelines/"+n[1]+"/jobs",o)},e}(U),lt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.all=function(t,e){return f(this,"projects/"+encodeURIComponent(t)+"/labels",e)},e.prototype.create=function(t,e){return I(this,"projects/"+encodeURIComponent(t)+"/labels",e)},e.prototype.edit=function(t,e,o){return v(this,"projects/"+encodeURIComponent(t)+"/labels",u({name:e},o))},e.prototype.remove=function(t,e,o){return R(this,"projects/"+encodeURIComponent(t)+"/labels",u({name:e},o))},e.prototype.subscribe=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return I(this,"projects/"+n[0]+"/issues/"+n[1]+"/subscribe",o)},e.prototype.unsubscribe=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return R(this,"projects/"+n[0]+"/issues/"+n[1]+"/unsubscribe",o)},e}(U),dt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.accept=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return v(this,"projects/"+n[0]+"/merge_requests/"+n[1]+"/merge",o)},e.prototype.addSpentTime=function(t,e,o,n){var r=m([t,e].map(encodeURIComponent),2);return I(this,"projects/"+r[0]+"/issues/"+r[1]+"/add_spent_time",u({duration:o},n))},e.prototype.addTimeEstimate=function(t,e,o,n){var r=m([t,e].map(encodeURIComponent),2);return I(this,"projects/"+r[0]+"/issues/"+r[1]+"/time_estimate",u({duration:o},n))},e.prototype.all=function(t){var e=t.projectId,o=t.groupId,n=c(t,["projectId","groupId"]);return f(this,e?"projects/"+encodeURIComponent(e)+"/merge_requests":o?"groups/"+encodeURIComponent(o)+"/merge_requests":"merge_requests",n)},e.prototype.approve=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return I(this,"projects/"+n[0]+"/merge_requests/"+n[1]+"/approve",o)},e.prototype.approvals=function(t,e){var o=e.mergerequestIId,n=c(e,["mergerequestIId"]),r=m([t,o].map(encodeURIComponent),2),s=r[0],p=r[1];return f(this,o?"projects/"+s+"/merge_requests/"+p+"/approvals":"projects/"+s+"/approvals",n)},e.prototype.approvers=function(t,e,o,n){var r=n.mergerequestIId,s=c(n,["mergerequestIId"]),p=m([t,r].map(encodeURIComponent),2),i=p[0],a=p[1];return I(this,r?"projects/"+i+"/merge_requests/"+a+"/approvals":"projects/"+i+"/approvals",u({approverIds:e,approverGroupIds:o},s))},e.prototype.cancelOnPipelineSucess=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return v(this,"projects/"+n[0]+"/merge_requests/"+n[1]+"/cancel_merge_when_pipeline_succeeds",o)},e.prototype.changes=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return f(this,"projects/"+n[0]+"/merge_requests/"+n[1]+"/changes",o)},e.prototype.closesIssues=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return f(this,"projects/"+n[0]+"/merge_requests/"+n[1]+"/closes_issues",o)},e.prototype.commits=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return f(this,"projects/"+n[0]+"/merge_requests/"+n[1]+"/commits",o)},e.prototype.create=function(t,e,o,n,r){var s=encodeURIComponent(t);return I(this,"projects/"+s+"/merge_requests",u({id:s,sourceBranch:e,targetBranch:o,title:n},r))},e.prototype.edit=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return v(this,"projects/"+n[0]+"/merge_requests/"+n[1],o)},e.prototype.editApprovals=function(t,e){var o=e.mergerequestIId,n=c(e,["mergerequestIId"]),r=m([t,o].map(encodeURIComponent),2),s=r[0],p=r[1];return I(this,o?"projects/"+s+"/merge_requests/"+p+"/approvals":"projects/"+s+"/approvals",n)},e.prototype.pipelines=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return f(this,"projects/"+n[0]+"/merge_requests/"+n[1]+"/pipelines",o)},e.prototype.remove=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return R(this,"projects/"+n[0]+"/merge_requests/"+n[1],o)},e.prototype.resetSpentTime=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return I(this,"projects/"+n[0]+"/merge_requests/"+n[1]+"/reset_spent_time",o)},e.prototype.resetTimeEstimate=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return I(this,"projects/"+n[0]+"/merge_requests/"+n[1]+"/reset_time_estimate",o)},e.prototype.show=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return f(this,"projects/"+n[0]+"/merge_requests/"+n[1],o)},e.prototype.timeStats=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return f(this,"projects/"+n[0]+"/merge_requests/"+n[1]+"/time_stats",o)},e.prototype.version=function(t,e,o,n){var r=m([t,e,o].map(encodeURIComponent),3);return f(this,"projects/"+r[0]+"/merge_requests/"+r[1]+"/versions/"+r[2],n)},e.prototype.versions=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return f(this,"projects/"+n[0]+"/merge_requests/"+n[1]+"/versions",o)},e.prototype.unapprove=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return I(this,"projects/"+n[0]+"/merge_requests/"+n[1]+"/approve",o)},e.prototype.unsubscribe=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return R(this,"projects/"+n[0]+"/merge_requests/"+n[1]+"/unsubscribe",o)},e}(U),ft=function(t){function e(e){return t.call(this,"merge_requests",e)||this}return i(e,t),e}(_),yt=function(t){function e(e){return t.call(this,"projects","merge_requests",e)||this}return i(e,t),e}(q),It=function(t){function e(e){return t.call(this,"projects","merge_requests",e)||this}return i(e,t),e}(G),vt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.all=function(t,e){return f(this,"projects/"+encodeURIComponent(t)+"/pipelines",e)},e.prototype.create=function(t,e,o){return I(this,"projects/"+encodeURIComponent(t)+"/pipeline",u({ref:e},o))},e.prototype.show=function(t,e,o){return f(this,"projects/"+encodeURIComponent(t)+"/pipelines/"+e,o)},e.prototype.retry=function(t,e,o){return I(this,"projects/"+encodeURIComponent(t)+"/pipelines/"+e+"/retry",o)},e.prototype.cancel=function(t,e,o){return I(this,"projects/"+encodeURIComponent(t)+"/pipelines/"+e+"/cancel",o)},e.prototype.showJobs=function(t,e,o){return f(this,"projects/"+encodeURIComponent(t)+"/pipelines/"+e+"/jobs",o)},e}(U),Rt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.all=function(t,e){return f(this,"projects/"+encodeURIComponent(t)+"/pipeline_schedules",e)},e.prototype.create=function(t,e,o,n,r){return I(this,"projects/"+encodeURIComponent(t)+"/pipeline_schedules",u({description:e,ref:o,cron:n},r))},e.prototype.edit=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return v(this,"projects/"+n[0]+"/pipeline_schedules/"+n[1],o)},e.prototype.remove=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return R(this,"projects/"+n[0]+"/pipeline_schedules/"+n[1],o)},e.prototype.show=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return f(this,"projects/"+n[0]+"/pipeline_schedules/"+n[1],o)},e.prototype.takeOwnership=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return I(this,"projects/"+n[0]+"/pipeline_schedules/"+n[1]+"/take_ownership",o)},e}(U),Ut=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.all=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return f(this,"projects/"+n[0]+"/pipeline_schedules/"+n[1]+"/variables",o)},e.prototype.create=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return I(this,"projects/"+n[0]+"/pipeline_schedules/"+n[1]+"/variables",o)},e.prototype.edit=function(t,e,o,n){var r=m([t,e,o].map(encodeURIComponent),3);return v(this,"projects/"+r[0]+"/pipeline_schedules/"+r[1]+"/variables/"+r[2],n)},e.prototype.show=function(t,e,o,n){var r=m([t,e,o].map(encodeURIComponent),3);return f(this,"projects/"+r[0]+"/pipeline_schedules/"+r[1]+"/variables/"+r[2],n)},e.prototype.remove=function(t,e,o,n){var r=m([t,e,o].map(encodeURIComponent),3);return R(this,"projects/"+r[0]+"/pipeline_schedules/"+r[1]+"/variables/"+r[2],n)},e}(U),jt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.all=function(t){return f(this,"projects",t)},e.prototype.archive=function(t,e){return I(this,"projects/"+encodeURIComponent(t)+"/archive",e)},e.prototype.create=function(t){var e=t.userId,o=c(t,["userId"]);return I(this,e?"projects/user/"+encodeURIComponent(e):"projects",o)},e.prototype.edit=function(t,e){return v(this,"projects/"+encodeURIComponent(t),e)},e.prototype.events=function(t,e){return f(this,"projects/"+encodeURIComponent(t)+"/events",e)},e.prototype.fork=function(t,e){return I(this,"projects/"+encodeURIComponent(t)+"/fork",e)},e.prototype.forks=function(t,e){return f(this,"projects/"+encodeURIComponent(t)+"/forks",e)},e.prototype.languages=function(t,e){return f(this,"projects/"+encodeURIComponent(t)+"/languages",e)},e.prototype.mirrorPull=function(t,e){return I(this,"projects/"+encodeURIComponent(t)+"/mirror/pull",e)},e.prototype.remove=function(t,e){return R(this,"projects/"+encodeURIComponent(t),e)},e.prototype.search=function(t){return f(this,"projects",{search:t})},e.prototype.share=function(t,e,o,n){return I(this,"projects/"+encodeURIComponent(t)+"/share",u({groupId:e,groupAccess:o},n))},e.prototype.show=function(t,e){return f(this,"projects/"+encodeURIComponent(t),e)},e.prototype.star=function(t,e){return I(this,"projects/"+encodeURIComponent(t)+"/star",e)},e.prototype.statuses=function(t,e,o,n){return I(this,"projects/"+encodeURIComponent(t)+"/statuses/"+e,u({state:o},n))},e.prototype.transfer=function(t,e){return v(this,"projects/"+encodeURIComponent(t)+"/transfer",{namespace:e})},e.prototype.unarchive=function(t,e){return I(this,"projects/"+encodeURIComponent(t)+"/unarchive",e)},e.prototype.unshare=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return R(this,"projects/"+n[0]+"/share"+n[1],o)},e.prototype.unstar=function(t,e){return I(this,"projects/"+encodeURIComponent(t)+"/unstar",e)},e.prototype.updatePushRule=function(t,e){return v(this,"projects/"+encodeURIComponent(t)+"/push_rule",e)},e.prototype.upload=function(t,e,o){var n=o.fileName,p=void 0===n?r(8):n,i=encodeURIComponent(t),u=new s;return u.append(p,{file:{value:e,options:{filename:p,contentType:"application/octet-stream"}}}),I(this,"projects/"+i+"/uploads",u)},e}(U),Ct=function(t){function e(e){return t.call(this,"projects",e)||this}return i(e,t),e}(g),gt=function(t){function e(e){return t.call(this,"projects",e)||this}return i(e,t),e}(w),bt=function(t){function e(e){return t.call(this,"projects",e)||this}return i(e,t),e}(P),_t=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.download=function(t,e){return f(this,"projects/"+encodeURIComponent(t)+"/export/download",e)},e.prototype.exportStatus=function(t,e){return f(this,"projects/"+encodeURIComponent(t)+"/export",e)},e.prototype.import=function(t,e,o){var n=new s;return n.append(e,{file:{value:t,options:{filename:e,contentType:"application/octet-stream"}}}),I(this,"projects/import",u({},n,o))},e.prototype.importStatus=function(t,e){return f(this,"projects/"+encodeURIComponent(t)+"/import",e)},e.prototype.schedule=function(t,e){return I(this,"projects/"+encodeURIComponent(t)+"/export",e)},e}(U),wt=function(t){function e(e){return t.call(this,"projects",e)||this}return i(e,t),e}(k),Pt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.all=function(t,e){return f(this,"projects/"+encodeURIComponent(t)+"/hooks",e)},e.prototype.show=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return f(this,"projects/"+n[0]+"/hooks/"+n[1],o)},e.prototype.add=function(t,e,o){return I(this,"projects/"+encodeURIComponent(t)+"/hooks",u({url:e},o))},e.prototype.edit=function(t,e,o,n){var r=m([t,e].map(encodeURIComponent),2);return v(this,"projects/"+r[0]+"/hooks/"+r[1],u({url:o},n))},e.prototype.remove=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return R(this,"projects/"+n[0]+"/hooks/"+n[1],o)},e}(U),qt=function(t){function e(e){return t.call(this,"projects",e)||this}return i(e,t),e}(S),kt=function(t){function e(e){return t.call(this,"projects",e)||this}return i(e,t),e}(T),St=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.all=function(t,e){return f(this,"projects/"+encodeURIComponent(t)+"/snippets",e)},e.prototype.content=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return f(this,"projects/"+n[0]+"/snippets/"+n[1]+"/raw",o)},e.prototype.create=function(t,e,o,n,r,s){return I(this,"projects/"+encodeURIComponent(t)+"/snippets",u({title:e,fileName:o,code:n,visibility:r},s))},e.prototype.edit=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return v(this,"projects/"+n[0]+"/snippets/"+n[1],o)},e.prototype.remove=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return R(this,"projects/"+n[0]+"/snippets/"+n[1],o)},e.prototype.show=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return f(this,"projects/"+n[0]+"/snippets/"+n[1],o)},e.prototype.userAgentDetails=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return f(this,"projects/"+n[0]+"/snippets/"+n[1]+"/user_agent_detail",o)},e}(U),Tt=function(t){function e(e){return t.call(this,"projects","snippets",e)||this}return i(e,t),e}(G),Gt=function(t){function e(e){return t.call(this,"projects","snippets",e)||this}return i(e,t),e}(q),At=function(t){function e(e){return t.call(this,"issues",e)||this}return i(e,t),e}(_),Et=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.all=function(t,e){return f(this,"projects/"+encodeURIComponent(t)+"/protected_branches",e)},e.prototype.protect=function(t,e,o){return I(this,"projects/"+encodeURIComponent(t)+"/protected_branches",u({name:e},o))},e.prototype.show=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return f(this,"projects/"+n[0]+"/protected_branches/"+n[1],o)},e.prototype.unprotect=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return R(this,"projects/"+n[0]+"/protected_branches/"+n[1],o)},e}(U),Mt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.all=function(t,e){return f(this,"projects/"+encodeURIComponent(t)+"/protected_tags",e)},e.prototype.protect=function(t,e,o){return I(this,"projects/"+encodeURIComponent(t)+"/protected_tags",u({name:e},o))},e.prototype.show=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return f(this,"projects/"+n[0]+"/protected_tags/"+n[1],o)},e.prototype.unprotect=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return R(this,"projects/"+n[0]+"/protected_tags/"+n[1],o)},e}(U),xt=function(t){function e(e){return t.call(this,"projects",e)||this}return i(e,t),e}(E),Dt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.compare=function(t,e,o,n){return f(this,"projects/"+encodeURIComponent(t)+"/repository/compare",u({from:e,to:o},n))},e.prototype.contributors=function(t,e){return f(this,"projects/"+encodeURIComponent(t)+"/repository/contributors",e)},e.prototype.showArchive=function(t,e){return f(this,"projects/"+encodeURIComponent(t)+"/repository/archive",e)},e.prototype.showBlob=function(t,e,o){return f(this,"projects/"+encodeURIComponent(t)+"/repository/blobs/"+e,o)},e.prototype.showBlobRaw=function(t,e,o){return f(this,"projects/"+encodeURIComponent(t)+"/repository/blobs/"+e+"/raw",o)},e.prototype.tree=function(t,e){return f(this,"projects/"+encodeURIComponent(t)+"/repository/tree",e)},e}(U),Bt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.create=function(t,e,o,n,r){var s=m([t,e].map(encodeURIComponent),2);return I(this,"projects/"+s[0]+"/repository/files/"+s[1],u({branch:o,content:n},r))},e.prototype.edit=function(t,e,o,n,r){var s=m([t,e].map(encodeURIComponent),2);return v(this,"projects/"+s[0]+"/repository/files/"+s[1],u({branch:o,content:n},r))},e.prototype.remove=function(t,e,o,n){var r=m([t,e].map(encodeURIComponent),2);return R(this,"projects/"+r[0]+"/repository/files/"+r[1],u({branch:o},n))},e.prototype.show=function(t,e,o,n){var r=m([t,e].map(encodeURIComponent),2);return f(this,"projects/"+r[0]+"/repository/files/"+r[1],u({ref:o},n))},e.prototype.showRaw=function(t,e,o,n){var r=m([t,e].map(encodeURIComponent),2);return f(this,"projects/"+r[0]+"/repository/files/"+r[1]+"/raw",u({ref:o},n))},e}(U),Lt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.all=function(t){var e=t.projectId,o=c(t,["projectId"]);return f(this,e?"projects/"+encodeURIComponent(e)+"/runners":"runners/all",o)},e.prototype.allOwned=function(t){return f(this,"runners",t)},e.prototype.edit=function(t,e){return v(this,"runners/"+encodeURIComponent(t),e)},e.prototype.enable=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2),r=n[0],s=n[1];return I(this,"projects/"+r+"/runners",u({runnerId:s},o))},e.prototype.disable=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return R(this,"projects/"+n[0]+"/runners/"+n[1],o)},e.prototype.jobs=function(t,e){return f(this,"runners/"+encodeURIComponent(t)+"/jobs",e)},e.prototype.remove=function(t,e){return R(this,"runners/"+encodeURIComponent(t),e)},e.prototype.show=function(t,e){return f(this,"runners/"+encodeURIComponent(t),e)},e}(U),Nt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.edit=function(t,e,o){return v(this,"projects/"+encodeURIComponent(t)+"/services/"+e,o)},e.prototype.remove=function(t,e,o){return R(this,"projects/"+encodeURIComponent(t)+"/services/"+e,o)},e.prototype.show=function(t,e,o){return f(this,"projects/"+encodeURIComponent(t)+"/services/"+e,o)},e}(U),Ot=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.all=function(t,e){return f(this,"projects/"+encodeURIComponent(t)+"/repository/tags",e)},e.prototype.create=function(t,e){return I(this,"projects/"+encodeURIComponent(t)+"/repository/tags",e)},e.prototype.remove=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return R(this,"projects/"+n[0]+"/repository/tags/"+n[1],o)},e.prototype.show=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return f(this,"projects/"+n[0]+"/repository/tags/"+n[1],o)},e}(U),Kt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.all=function(t){return f(this,"todos",t)},e.prototype.create=function(t,e,o){return I(this,"projects/"+t+"/merge_requests/"+e+"/todo",o)},e.prototype.done=function(t){var e=t.todoId,o="mark_as_done";return e&&(o=e+"/"+o),R(this,"todos/"+o,c(t,["todoId"]))},e}(U),Ft=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.add=function(t,e){return I(this,"projects/"+encodeURIComponent(t)+"/triggers",e)},e.prototype.all=function(t,e){return f(this,"projects/"+encodeURIComponent(t)+"/triggers",e)},e.prototype.edit=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return v(this,"projects/"+n[0]+"/triggers/"+n[1],o)},e.prototype.remove=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return R(this,"projects/"+n[0]+"/triggers/"+n[1],o)},e.prototype.show=function(t,e,o){var n=m([t,e].map(encodeURIComponent),2);return f(this,"projects/"+n[0]+"/triggers/"+n[1],o)},e}(U),Vt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.create=function(t,e){return I(this,"projects/"+encodeURIComponent(t)+"/push_rule",e)},e.prototype.edit=function(t,e){e.upsert;var o=c(e,["upsert"]),n=encodeURIComponent(t);try{return v(this,"projects/"+n+"/push_rule",o)}catch(e){if(e.message.includes("exist"))return this.create(t,o);throw e}},e.prototype.remove=function(t,e){return R(this,"projects/"+encodeURIComponent(t)+"/push_rule",e)},e.prototype.show=function(t,e){return f(this,"projects/"+encodeURIComponent(t)+"/push_rule",e)},e}(U),zt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.all=function(t){return f(this,"application/settings",t)},e.prototype.edit=function(t){return v(this,"application/settings",t)},e}(U),Ht=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.all=function(t){return f(this,"broadcast_messages",t)},e.prototype.create=function(t){return I(this,"broadcast_messages",t)},e.prototype.edit=function(t,e){return v(this,"broadcast_messages/"+encodeURIComponent(t),e)},e.prototype.remove=function(t){return R(this,"broadcast_messages/"+encodeURIComponent(t))},e.prototype.show=function(t,e){return f(this,"broadcast_messages/"+encodeURIComponent(t),e)},e}(U),Jt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.all=function(t){return f(this,"events",t)},e}(U),Wt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.all=function(t){return f(this,"features",t)},e.prototype.set=function(t,e){return I(this,"features/"+encodeURIComponent(t),e)},e}(U),Yt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.all=function(t){return f(this,"geo_nodes",t)},e.prototype.create=function(t,e){return I(this,"geo_nodes/"+encodeURIComponent(t),e)},e.prototype.edit=function(t,e){return v(this,"geo_nodes/"+encodeURIComponent(t),e)},e.prototype.failures=function(t){return I(this,"geo_nodes/current/failures",t)},e.prototype.repair=function(t,e){return R(this,"geo_nodes/"+encodeURIComponent(t),e)},e.prototype.show=function(t,e){return f(this,"geo_nodes/"+encodeURIComponent(t),e)},e.prototype.status=function(t,e){return f(this,"geo_nodes/"+encodeURIComponent(t)+"/status",e)},e.prototype.statuses=function(t){return f(this,"geo_nodes/statuses",t)},e}(U),Qt=function(t){function e(e){return t.call(this,"gitignores",e)||this}return i(e,t),e}(A),Xt=function(t){function e(e){return t.call(this,"gitlab_ci_ymls",e)||this}return i(e,t),e}(A),Zt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.show=function(t,e){return f(this,"keys/"+encodeURIComponent(t),e)},e}(U),$t=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.all=function(t){return f(this,"licence",t)},e.prototype.create=function(t){return I(this,"licence",t)},e}(U),te=function(t){function e(e){return t.call(this,"licences",e)||this}return i(e,t),e}(A),ee=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.lint=function(t,e){return I(this,"lint",u({content:t},e))},e}(U),oe=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.all=function(t){return f(this,"namespaces",t)},e.prototype.show=function(t,e){return f(this,"namespaces/"+encodeURIComponent(t),e)},e}(U),ne=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.all=function(t){void 0===t&&(t={});var e=t.projectId,o=t.groupId,n=c(t,["projectId","groupId"]),r="";return e?r+="projects/"+encodeURIComponent(e)+"/":o&&(r+="groups/"+encodeURIComponent(o)+"/"),f(this,r+"notification_settings",n)},e.prototype.edit=function(t){void 0===t&&(t={});var e=t.projectId,o=t.groupId,n=c(t,["projectId","groupId"]),r="";return e?r+="projects/"+encodeURIComponent(e)+"/":o&&(r+="groups/"+encodeURIComponent(o)+"/"),v(this,r+"notification_settings",n)},e}(U),re=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.render=function(t,e){return I(this,"markdown",u({text:t},e))},e}(U),se=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.all=function(t){void 0===t&&(t={});var e=t.projectId,o=c(t,["projectId"]);return f(this,(e?"projects/"+encodeURIComponent(e)+"/":"")+"pages/domains",o)},e.prototype.create=function(t,e,o){return I(this,"projects/"+encodeURIComponent(t)+"/pages/domains",u({domain:e},o))},e.prototype.edit=function(t,e,o){return v(this,"projects/"+encodeURIComponent(t)+"/pages/domains/"+e,o)},e.prototype.show=function(t,e,o){return f(this,"projects/"+encodeURIComponent(t)+"/pages/domains/"+e,o)},e.prototype.remove=function(t,e,o){return R(this,"projects/"+encodeURIComponent(t)+"/pages/domains/"+e,o)},e}(U),pe=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.all=function(t,e,o){var n=o.projectId,r=o.groupId,s=c(o,["projectId","groupId"]),p="";return n?p+="projects/"+encodeURIComponent(n)+"/":r&&(p+="groups/"+encodeURIComponent(r)+"/"),f(this,p+"search",u({scope:t,search:e},s))},e}(U),ie=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.queueMetrics=function(){return f(this,"sidekiq/queue_metrics")},e.prototype.processMetrics=function(){return f(this,"sidekiq/process_metrics")},e.prototype.jobStats=function(){return f(this,"sidekiq/job_stats")},e.prototype.compoundMetrics=function(){return f(this,"sidekiq/compound_metrics")},e}(U),ue=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.all=function(t){return f(this,t.public?"snippets/public":"snippets",c(t,["public"]))},e.prototype.content=function(t,e){return f(this,"snippets/"+encodeURIComponent(t)+"/raw",e)},e.prototype.create=function(t,e,o,n,r){return I(this,"snippets",u({title:t,fileName:e,content:o,visibility:n},r))},e.prototype.edit=function(t,e){return v(this,"snippets/"+encodeURIComponent(t),e)},e.prototype.remove=function(t,e){return R(this,"snippets/"+encodeURIComponent(t),e)},e.prototype.show=function(t,e){return f(this,"snippets/"+encodeURIComponent(t),e)},e.prototype.userAgentDetails=function(t,e){return f(this,"snippets/"+encodeURIComponent(t)+"/user_agent_detail",e)},e}(U),ce=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.add=function(t,e){return I(this,"hooks",u({url:t},e))},e.prototype.all=function(t){return f(this,"hooks",t)},e.prototype.edit=function(t,e,o){return v(this,"hooks/"+encodeURIComponent(t),u({url:e},o))},e.prototype.remove=function(t,e){return R(this,"hooks/"+encodeURIComponent(t),e)},e}(U),ae=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.show=function(t){return f(this,"version",t)},e}(U),he=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.all=function(t,e){return f(this,"projects/"+encodeURIComponent(t)+"/wikis",e)},e.prototype.create=function(t,e){return I(this,"projects/"+encodeURIComponent(t)+"/wikis",e)},e.prototype.edit=function(t,e,o){return v(this,"projects/"+encodeURIComponent(t)+"/wikis/"+e,o)},e.prototype.show=function(t,e,o){return f(this,"projects/"+encodeURIComponent(t)+"/wikis/"+e,o)},e.prototype.remove=function(t,e,o){return R(this,"projects/"+encodeURIComponent(t)+"/wikis/"+e,o)},e}(U),me=Object.freeze({Groups:C,GroupAccessRequests:M,GroupBadges:x,GroupCustomAttributes:D,GroupIssueBoards:B,GroupMembers:L,GroupMilestones:N,GroupProjects:O,GroupVariables:K,Epics:F,EpicIssues:V,EpicNotes:z,EpicDiscussions:H,Users:J,UserCustomAttributes:W,UserEmails:Q,UserImpersonationTokens:X,UserKeys:$,UserGPGKeys:et,Branches:ot,Commits:nt,CommitDiscussions:rt,Deployments:st,DeployKeys:pt,Environments:it,Issues:ut,IssueNotes:ct,IssueDiscussions:at,IssueAwardEmojis:ht,Jobs:mt,Labels:lt,MergeRequests:dt,MergeRequestAwardEmojis:ft,MergeRequestDiscussions:yt,MergeRequestNotes:It,Pipelines:vt,PipelineSchedules:Rt,PipelineScheduleVariables:Ut,Projects:jt,ProjectAccessRequests:Ct,ProjectBadges:gt,ProjectCustomAttributes:bt,ProjectImportExport:_t,ProjectIssueBoards:wt,ProjectHooks:Pt,ProjectMembers:qt,ProjectMilestones:kt,ProjectSnippets:St,ProjectSnippetNotes:Tt,ProjectSnippetDiscussions:Gt,ProjectSnippetAwardEmojis:At,ProtectedBranches:Et,ProtectedTags:Mt,ProjectVariables:xt,Repositories:Dt,RepositoryFiles:Bt,Runners:Lt,Services:Nt,Tags:Ot,Todos:Kt,Triggers:Ft,PushRule:Vt,ApplicationSettings:zt,BroadcastMessages:Ht,Events:Jt,FeatureFlags:Wt,GeoNodes:Yt,GitignoreTemplates:Qt,GitLabCIYMLTemplates:Xt,Keys:Zt,Licence:$t,LicenceTemplates:te,Lint:ee,Namespaces:oe,NotificationSettings:ne,Markdown:re,PagesDomains:se,Search:pe,SidekiqMetrics:ie,Snippets:ue,SystemHooks:ce,Version:ae,Wikis:he}),le=j({Groups:C,GroupAccessRequests:M,GroupBadges:x,GroupCustomAttributes:D,GroupIssueBoards:B,GroupMembers:L,GroupMilestones:N,GroupProjects:O,GroupVariables:K,Epics:F,EpicIssues:V,EpicNotes:z,EpicDiscussions:H}),de=j({Users:J,UserCustomAttributes:W,UserEmails:Q,UserImpersonationTokens:X,UserKeys:$,UserGPGKeys:et}),fe=j({Branches:ot,Commits:nt,CommitDiscussions:rt,DeployKeys:pt,Deployments:st,Environments:it,Issues:ut,IssueAwardEmojis:ht,IssueNotes:ct,IssueDiscussions:at,Jobs:mt,Labels:lt,MergeRequests:dt,MergeRequestAwardEmojis:ft,MergeRequestDiscussions:yt,MergeRequestNotes:It,Pipelines:vt,PipelineSchedules:Rt,PipelineScheduleVariables:Ut,Projects:jt,ProjectAccessRequests:Ct,ProjectBadges:gt,ProjectCustomAttributes:bt,ProjectImportExport:_t,ProjectIssueBoards:wt,ProjectHooks:Pt,ProjectMembers:qt,ProjectMilestones:kt,ProjectSnippets:St,ProjectSnippetNotes:Tt,ProjectSnippetDiscussions:Gt,ProjectSnippetAwardEmojis:At,ProtectedBranches:Et,ProtectedTags:Mt,ProjectVariables:xt,Repositories:Dt,RepositoryFiles:Bt,Runners:Lt,Services:Nt,Tags:Ot,Triggers:Ft}),ye=j(me);t.GroupsBundle=le,t.UsersBundle=de,t.ProjectsBundle=fe,t.Gitlab=ye,t.Groups=C,t.GroupAccessRequests=M,t.GroupBadges=x,t.GroupCustomAttributes=D,t.GroupIssueBoards=B,t.GroupMembers=L,t.GroupMilestones=N,t.GroupProjects=O,t.GroupVariables=K,t.Epics=F,t.EpicIssues=V,t.EpicNotes=z,t.EpicDiscussions=H,t.Users=J,t.UserCustomAttributes=W,t.UserEmails=Q,t.UserImpersonationTokens=X,t.UserKeys=$,t.UserGPGKeys=et,t.Branches=ot,t.Commits=nt,t.CommitDiscussions=rt,t.Deployments=st,t.DeployKeys=pt,t.Environments=it,t.Issues=ut,t.IssueNotes=ct,t.IssueDiscussions=at,t.IssueAwardEmojis=ht,t.Jobs=mt,t.Labels=lt,t.MergeRequests=dt,t.MergeRequestAwardEmojis=ft,t.MergeRequestDiscussions=yt,t.MergeRequestNotes=It,t.Pipelines=vt,t.PipelineSchedules=Rt,t.PipelineScheduleVariables=Ut,t.Projects=jt,t.ProjectAccessRequests=Ct,t.ProjectBadges=gt,t.ProjectCustomAttributes=bt,t.ProjectImportExport=_t,t.ProjectIssueBoards=wt,t.ProjectHooks=Pt,t.ProjectMembers=qt,t.ProjectMilestones=kt,t.ProjectSnippets=St,t.ProjectSnippetNotes=Tt,t.ProjectSnippetDiscussions=Gt,t.ProjectSnippetAwardEmojis=At,t.ProtectedBranches=Et,t.ProtectedTags=Mt,t.ProjectVariables=xt,t.Repositories=Dt,t.RepositoryFiles=Bt,t.Runners=Lt,t.Services=Nt,t.Tags=Ot,t.Todos=Kt,t.Triggers=Ft,t.PushRule=Vt,t.ApplicationSettings=zt,t.BroadcastMessages=Ht,t.Events=Jt,t.FeatureFlags=Wt,t.GeoNodes=Yt,t.GitignoreTemplates=Qt,t.GitLabCIYMLTemplates=Xt,t.Keys=Zt,t.Licence=$t,t.LicenceTemplates=te,t.Lint=ee,t.Namespaces=oe,t.NotificationSettings=ne,t.Markdown=re,t.PagesDomains=se,t.Search=pe,t.SidekiqMetrics=ie,t.Snippets=ue,t.SystemHooks=ce,t.Version=ae,t.Wikis=he,Object.defineProperty(t,"__esModule",{value:!0})}); |
@@ -60,2 +60,3 @@ import * as APIServices from './services'; | ||
ProtectedBranches: typeof APIServices.ProtectedBranches; | ||
ProtectedTags: typeof APIServices.ProtectedTags; | ||
ProjectVariables: typeof APIServices.ProjectVariables; | ||
@@ -68,3 +69,3 @@ Repositories: typeof APIServices.Repositories; | ||
Triggers: typeof APIServices.Triggers; | ||
}, "Branches" | "Commits" | "CommitDiscussions" | "DeployKeys" | "Deployments" | "Environments" | "Issues" | "IssueAwardEmojis" | "IssueNotes" | "IssueDiscussions" | "Jobs" | "Labels" | "MergeRequests" | "MergeRequestAwardEmojis" | "MergeRequestDiscussions" | "MergeRequestNotes" | "Pipelines" | "PipelineSchedules" | "PipelineScheduleVariables" | "Projects" | "ProjectAccessRequests" | "ProjectBadges" | "ProjectCustomAttributes" | "ProjectImportExport" | "ProjectIssueBoards" | "ProjectHooks" | "ProjectMembers" | "ProjectMilestones" | "ProjectSnippets" | "ProjectSnippetNotes" | "ProjectSnippetDiscussions" | "ProjectSnippetAwardEmojis" | "ProtectedBranches" | "ProjectVariables" | "Repositories" | "RepositoryFiles" | "Runners" | "Services" | "Tags" | "Triggers">; | ||
export declare const Gitlab: import("../types/types").Bundle<typeof APIServices, "Groups" | "GroupAccessRequests" | "GroupBadges" | "GroupCustomAttributes" | "GroupIssueBoards" | "GroupMembers" | "GroupMilestones" | "GroupProjects" | "GroupVariables" | "Epics" | "EpicIssues" | "EpicNotes" | "EpicDiscussions" | "Users" | "UserCustomAttributes" | "UserEmails" | "UserImpersonationTokens" | "UserKeys" | "UserGPGKeys" | "Branches" | "Commits" | "CommitDiscussions" | "DeployKeys" | "Deployments" | "Environments" | "Issues" | "IssueAwardEmojis" | "IssueNotes" | "IssueDiscussions" | "Jobs" | "Labels" | "MergeRequests" | "MergeRequestAwardEmojis" | "MergeRequestDiscussions" | "MergeRequestNotes" | "Pipelines" | "PipelineSchedules" | "PipelineScheduleVariables" | "Projects" | "ProjectAccessRequests" | "ProjectBadges" | "ProjectCustomAttributes" | "ProjectImportExport" | "ProjectIssueBoards" | "ProjectHooks" | "ProjectMembers" | "ProjectMilestones" | "ProjectSnippets" | "ProjectSnippetNotes" | "ProjectSnippetDiscussions" | "ProjectSnippetAwardEmojis" | "ProtectedBranches" | "ProjectVariables" | "Repositories" | "RepositoryFiles" | "Runners" | "Services" | "Tags" | "Triggers" | "Todos" | "PushRule" | "ApplicationSettings" | "BroadcastMessages" | "Events" | "FeatureFlags" | "GeoNodes" | "GitignoreTemplates" | "GitLabCIYMLTemplates" | "Keys" | "Licence" | "LicenceTemplates" | "Lint" | "Namespaces" | "NotificationSettings" | "Markdown" | "PagesDomains" | "Search" | "SidekiqMetrics" | "Snippets" | "SystemHooks" | "Version" | "Wikis">; | ||
}, "Branches" | "Commits" | "CommitDiscussions" | "DeployKeys" | "Deployments" | "Environments" | "Issues" | "IssueAwardEmojis" | "IssueNotes" | "IssueDiscussions" | "Jobs" | "Labels" | "MergeRequests" | "MergeRequestAwardEmojis" | "MergeRequestDiscussions" | "MergeRequestNotes" | "Pipelines" | "PipelineSchedules" | "PipelineScheduleVariables" | "Projects" | "ProjectAccessRequests" | "ProjectBadges" | "ProjectCustomAttributes" | "ProjectImportExport" | "ProjectIssueBoards" | "ProjectHooks" | "ProjectMembers" | "ProjectMilestones" | "ProjectSnippets" | "ProjectSnippetNotes" | "ProjectSnippetDiscussions" | "ProjectSnippetAwardEmojis" | "ProtectedBranches" | "ProtectedTags" | "ProjectVariables" | "Repositories" | "RepositoryFiles" | "Runners" | "Services" | "Tags" | "Triggers">; | ||
export declare const Gitlab: import("../types/types").Bundle<typeof APIServices, "Groups" | "GroupAccessRequests" | "GroupBadges" | "GroupCustomAttributes" | "GroupIssueBoards" | "GroupMembers" | "GroupMilestones" | "GroupProjects" | "GroupVariables" | "Epics" | "EpicIssues" | "EpicNotes" | "EpicDiscussions" | "Users" | "UserCustomAttributes" | "UserEmails" | "UserImpersonationTokens" | "UserKeys" | "UserGPGKeys" | "Branches" | "Commits" | "CommitDiscussions" | "DeployKeys" | "Deployments" | "Environments" | "Issues" | "IssueAwardEmojis" | "IssueNotes" | "IssueDiscussions" | "Jobs" | "Labels" | "MergeRequests" | "MergeRequestAwardEmojis" | "MergeRequestDiscussions" | "MergeRequestNotes" | "Pipelines" | "PipelineSchedules" | "PipelineScheduleVariables" | "Projects" | "ProjectAccessRequests" | "ProjectBadges" | "ProjectCustomAttributes" | "ProjectImportExport" | "ProjectIssueBoards" | "ProjectHooks" | "ProjectMembers" | "ProjectMilestones" | "ProjectSnippets" | "ProjectSnippetNotes" | "ProjectSnippetDiscussions" | "ProjectSnippetAwardEmojis" | "ProtectedBranches" | "ProtectedTags" | "ProjectVariables" | "Repositories" | "RepositoryFiles" | "Runners" | "Services" | "Tags" | "Triggers" | "Todos" | "PushRule" | "ApplicationSettings" | "BroadcastMessages" | "Events" | "FeatureFlags" | "GeoNodes" | "GitignoreTemplates" | "GitLabCIYMLTemplates" | "Keys" | "Licence" | "LicenceTemplates" | "Lint" | "Namespaces" | "NotificationSettings" | "Markdown" | "PagesDomains" | "Search" | "SidekiqMetrics" | "Snippets" | "SystemHooks" | "Version" | "Wikis">; |
import * as RequestHelper from './RequestHelper'; | ||
export { RequestHelper }; | ||
export { BaseService } from './BaseService'; | ||
export { bundler } from './Utils'; | ||
export { RequestHelper }; |
import { BaseService } from '../infrastructure'; | ||
import { BaseRequestOptions, Sudo } from '@typings'; | ||
declare class ApplicationSettings extends BaseService { | ||
all(options?: Sudo): any; | ||
edit(options?: BaseRequestOptions): Promise<any>; | ||
all(options?: Sudo): Promise<import("../../types/types").GetResponse>; | ||
edit(options?: BaseRequestOptions): Promise<object>; | ||
} | ||
export default ApplicationSettings; |
import { BaseService } from '../infrastructure'; | ||
import { BaseRequestOptions, PaginatedRequestOptions, Sudo, CommitAction, ProjectId } from '@typings'; | ||
declare class Commits extends BaseService { | ||
all(projectId: ProjectId, options?: PaginatedRequestOptions): any; | ||
cherryPick(projectId: ProjectId, sha: string, branch: string, options?: Sudo): Promise<any>; | ||
comments(projectId: ProjectId, sha: string, options?: Sudo): any; | ||
create(projectId: ProjectId, branch: string, message: string, actions?: CommitAction[], options?: BaseRequestOptions): Promise<any>; | ||
createComment(projectId: ProjectId, sha: string, note: string, options?: BaseRequestOptions): Promise<any>; | ||
diff(projectId: ProjectId, sha: string, options?: Sudo): any; | ||
editStatus(projectId: ProjectId, sha: string, options?: BaseRequestOptions): Promise<any>; | ||
references(projectId: ProjectId, sha: string, options?: Sudo): any; | ||
show(projectId: ProjectId, sha: string, options?: BaseRequestOptions): any; | ||
status(projectId: ProjectId, sha: string, options?: BaseRequestOptions): any; | ||
all(projectId: ProjectId, options?: PaginatedRequestOptions): Promise<import("../../types/types").GetResponse>; | ||
cherryPick(projectId: ProjectId, sha: string, branch: string, options?: Sudo): Promise<object>; | ||
comments(projectId: ProjectId, sha: string, options?: Sudo): Promise<import("../../types/types").GetResponse>; | ||
create(projectId: ProjectId, branch: string, message: string, actions?: CommitAction[], options?: BaseRequestOptions): Promise<object>; | ||
createComment(projectId: ProjectId, sha: string, note: string, options?: BaseRequestOptions): Promise<object>; | ||
diff(projectId: ProjectId, sha: string, options?: Sudo): Promise<import("../../types/types").GetResponse>; | ||
editStatus(projectId: ProjectId, sha: string, options?: BaseRequestOptions): Promise<object>; | ||
references(projectId: ProjectId, sha: string, options?: Sudo): Promise<import("../../types/types").GetResponse>; | ||
show(projectId: ProjectId, sha: string, options?: BaseRequestOptions): Promise<import("../../types/types").GetResponse>; | ||
status(projectId: ProjectId, sha: string, options?: BaseRequestOptions): Promise<import("../../types/types").GetResponse>; | ||
} | ||
export default Commits; |
import { BaseService } from '../infrastructure'; | ||
import { PaginatedRequestOptions, Sudo, ProjectId, KeyId } from '@typings'; | ||
declare class DeployKeys extends BaseService { | ||
add(projectId: ProjectId, options?: Sudo): Promise<any>; | ||
all(projectId: ProjectId, options?: PaginatedRequestOptions): any; | ||
show(projectId: ProjectId, keyId: KeyId, options?: Sudo): any; | ||
enable(projectId: ProjectId, keyId: KeyId, options?: Sudo): Promise<any>; | ||
add(projectId: ProjectId, options?: Sudo): Promise<object>; | ||
all(projectId: ProjectId, options?: PaginatedRequestOptions): Promise<import("../../types/types").GetResponse>; | ||
show(projectId: ProjectId, keyId: KeyId, options?: Sudo): Promise<import("../../types/types").GetResponse>; | ||
enable(projectId: ProjectId, keyId: KeyId, options?: Sudo): Promise<object>; | ||
} | ||
export default DeployKeys; |
import { BaseService } from '../infrastructure'; | ||
import { PaginatedRequestOptions, Sudo, ProjectId, DeploymentId } from '@typings'; | ||
declare class Deployments extends BaseService { | ||
all(projectId: ProjectId, options?: PaginatedRequestOptions): any; | ||
show(projectId: ProjectId, deploymentId: DeploymentId, options?: Sudo): Promise<any>; | ||
all(projectId: ProjectId, options?: PaginatedRequestOptions): Promise<import("../../types/types").GetResponse>; | ||
show(projectId: ProjectId, deploymentId: DeploymentId, options?: Sudo): Promise<object>; | ||
} | ||
export default Deployments; |
import { BaseService } from '../infrastructure'; | ||
import { PaginatedRequestOptions, EventOptions } from '@typings'; | ||
declare class Events extends BaseService { | ||
all(options?: PaginatedRequestOptions & EventOptions): any; | ||
all(options?: PaginatedRequestOptions & EventOptions): Promise<import("../../types/types").GetResponse>; | ||
} | ||
export default Events; |
import { BaseService } from '../infrastructure'; | ||
import { PaginatedRequestOptions, BaseRequestOptions } from '@typings'; | ||
declare class FeatureFlags extends BaseService { | ||
all(options?: PaginatedRequestOptions): any; | ||
set(name: string, options?: BaseRequestOptions): Promise<any>; | ||
all(options?: PaginatedRequestOptions): Promise<import("../../types/types").GetResponse>; | ||
set(name: string, options?: BaseRequestOptions): Promise<object>; | ||
} | ||
export default FeatureFlags; |
import { BaseService } from '../infrastructure'; | ||
import { PaginatedRequestOptions, BaseRequestOptions, GroupProjectId, ProjectId } from '@typings'; | ||
declare class GroupProjects extends BaseService { | ||
all(groupId: GroupProjectId, options?: PaginatedRequestOptions): any; | ||
add(groupId: GroupProjectId, projectId: ProjectId, options?: BaseRequestOptions): Promise<any>; | ||
all(groupId: GroupProjectId, options?: PaginatedRequestOptions): Promise<import("../../types/types").GetResponse>; | ||
add(groupId: GroupProjectId, projectId: ProjectId, options?: BaseRequestOptions): Promise<object>; | ||
} | ||
export default GroupProjects; |
@@ -53,2 +53,3 @@ export { default as Groups } from './Groups'; | ||
export { default as ProtectedBranches } from './ProtectedBranches'; | ||
export { default as ProtectedTags } from './ProtectedTags'; | ||
export { default as ProjectVariables } from './ProjectVariables'; | ||
@@ -55,0 +56,0 @@ export { default as Repositories } from './Repositories'; |
import { BaseService } from '../infrastructure'; | ||
import { PaginatedRequestOptions, BaseRequestOptions, Sudo, ProjectId, JobId, PipelineId, JobScope } from '@typings'; | ||
declare class Jobs extends BaseService { | ||
all(projectId: ProjectId, options?: PaginatedRequestOptions): any; | ||
cancel(projectId: ProjectId, jobId: JobId, options?: Sudo): Promise<any>; | ||
all(projectId: ProjectId, options?: PaginatedRequestOptions): Promise<import("../../types/types").GetResponse>; | ||
cancel(projectId: ProjectId, jobId: JobId, options?: Sudo): Promise<object>; | ||
downloadSingleArtifactFile(projectId: ProjectId, jobId: JobId, artifactPath: string, { stream, ...options }: { | ||
@@ -12,12 +12,12 @@ stream?: boolean; | ||
} & BaseRequestOptions): any; | ||
downloadTraceFile(projectId: ProjectId, jobId: JobId, options?: Sudo): any; | ||
erase(projectId: ProjectId, jobId: JobId, options?: Sudo): Promise<any>; | ||
keepArtifacts(projectId: ProjectId, jobId: JobId, options?: Sudo): Promise<any>; | ||
play(projectId: ProjectId, jobId: JobId, options?: Sudo): Promise<any>; | ||
retry(projectId: ProjectId, jobId: JobId, options?: Sudo): Promise<any>; | ||
show(projectId: ProjectId, jobId: JobId, options?: Sudo): any; | ||
downloadTraceFile(projectId: ProjectId, jobId: JobId, options?: Sudo): Promise<import("../../types/types").GetResponse>; | ||
erase(projectId: ProjectId, jobId: JobId, options?: Sudo): Promise<object>; | ||
keepArtifacts(projectId: ProjectId, jobId: JobId, options?: Sudo): Promise<object>; | ||
play(projectId: ProjectId, jobId: JobId, options?: Sudo): Promise<object>; | ||
retry(projectId: ProjectId, jobId: JobId, options?: Sudo): Promise<object>; | ||
show(projectId: ProjectId, jobId: JobId, options?: Sudo): Promise<import("../../types/types").GetResponse>; | ||
showPipelineJobs(projectId: ProjectId, pipelineId: PipelineId, options: { | ||
scope: JobScope; | ||
} & Sudo): any; | ||
} & Sudo): Promise<import("../../types/types").GetResponse>; | ||
} | ||
export default Jobs; |
import { BaseService } from '../infrastructure'; | ||
import { Sudo, KeyId } from '@typings'; | ||
declare class Keys extends BaseService { | ||
show(keyId: KeyId, options?: Sudo): any; | ||
show(keyId: KeyId, options?: Sudo): Promise<import("../../types/types").GetResponse>; | ||
} | ||
export default Keys; |
import { BaseService } from '../infrastructure'; | ||
import { Sudo } from '@typings'; | ||
declare class Licence extends BaseService { | ||
all(options?: Sudo): any; | ||
create(options?: Sudo): Promise<any>; | ||
all(options?: Sudo): Promise<import("../../types/types").GetResponse>; | ||
create(options?: Sudo): Promise<object>; | ||
} | ||
export default Licence; |
import { BaseService } from '../infrastructure'; | ||
import { Sudo } from '@typings'; | ||
declare class Lint extends BaseService { | ||
lint(content: string, options?: Sudo): Promise<any>; | ||
lint(content: string, options?: Sudo): Promise<object>; | ||
} | ||
export default Lint; |
@@ -7,4 +7,4 @@ import { BaseService } from '../infrastructure'; | ||
project?: ProjectId; | ||
} & Sudo): Promise<any>; | ||
} & Sudo): Promise<object>; | ||
} | ||
export default Markdown; |
import { BaseService } from '../infrastructure'; | ||
import { PaginatedRequestOptions, Sudo, NamespaceId } from '@typings'; | ||
declare class Namespaces extends BaseService { | ||
all(options?: PaginatedRequestOptions): any; | ||
all(options?: PaginatedRequestOptions): Promise<import("../../types/types").GetResponse>; | ||
show(namespaceId: NamespaceId, options: { | ||
search?: string; | ||
} & Sudo): any; | ||
} & Sudo): Promise<import("../../types/types").GetResponse>; | ||
} | ||
export default Namespaces; |
@@ -7,3 +7,3 @@ import { BaseService } from '../infrastructure'; | ||
groupId?: GroupId; | ||
} & PaginatedRequestOptions): any; | ||
} & PaginatedRequestOptions): Promise<import("../../types/types").GetResponse>; | ||
edit({ projectId, groupId, ...options }?: { | ||
@@ -13,4 +13,4 @@ projectId?: ProjectId; | ||
level?: NotificationSettingLevel; | ||
} & BaseRequestOptions): Promise<any>; | ||
} & BaseRequestOptions): Promise<object>; | ||
} | ||
export default NotificationSettings; |
import { BaseService } from '../infrastructure'; | ||
import { PaginatedRequestOptions, BaseRequestOptions, Sudo, ProjectId, PipelineId, JobScope } from '@typings'; | ||
declare class Pipelines extends BaseService { | ||
all(projectId: ProjectId, options?: PaginatedRequestOptions): any; | ||
create(projectId: ProjectId, ref: string, options?: BaseRequestOptions): Promise<any>; | ||
show(projectId: ProjectId, pipelineId: PipelineId, options?: Sudo): any; | ||
retry(projectId: ProjectId, pipelineId: PipelineId, options?: Sudo): Promise<any>; | ||
cancel(projectId: ProjectId, pipelineId: PipelineId, options?: Sudo): Promise<any>; | ||
all(projectId: ProjectId, options?: PaginatedRequestOptions): Promise<import("../../types/types").GetResponse>; | ||
create(projectId: ProjectId, ref: string, options?: BaseRequestOptions): Promise<object>; | ||
show(projectId: ProjectId, pipelineId: PipelineId, options?: Sudo): Promise<import("../../types/types").GetResponse>; | ||
retry(projectId: ProjectId, pipelineId: PipelineId, options?: Sudo): Promise<object>; | ||
cancel(projectId: ProjectId, pipelineId: PipelineId, options?: Sudo): Promise<object>; | ||
showJobs(projectId: ProjectId, pipelineId: PipelineId, options: { | ||
scope: JobScope; | ||
} & Sudo): any; | ||
} & Sudo): Promise<import("../../types/types").GetResponse>; | ||
} | ||
export default Pipelines; |
import { BaseService } from '../infrastructure'; | ||
import { BaseRequestOptions, Sudo, ProjectId } from '@typings'; | ||
declare class ProjectImportExport extends BaseService { | ||
download(projectId: ProjectId, options?: Sudo): any; | ||
exportStatus(projectId: ProjectId, options?: Sudo): any; | ||
import(content: string, path: string, options?: BaseRequestOptions): Promise<any>; | ||
importStatus(projectId: ProjectId, options?: Sudo): any; | ||
schedule(projectId: ProjectId, options?: BaseRequestOptions): Promise<any>; | ||
download(projectId: ProjectId, options?: Sudo): Promise<import("../../types/types").GetResponse>; | ||
exportStatus(projectId: ProjectId, options?: Sudo): Promise<import("../../types/types").GetResponse>; | ||
import(content: string, path: string, options?: BaseRequestOptions): Promise<object>; | ||
importStatus(projectId: ProjectId, options?: Sudo): Promise<import("../../types/types").GetResponse>; | ||
schedule(projectId: ProjectId, options?: BaseRequestOptions): Promise<object>; | ||
} | ||
export default ProjectImportExport; |
import { BaseService } from '../infrastructure'; | ||
import { BaseRequestOptions, Sudo, ProjectId } from '@typings'; | ||
declare class Repositories extends BaseService { | ||
compare(projectId: ProjectId, from: string, to: string, options?: Sudo): any; | ||
contributors(projectId: ProjectId, options?: Sudo): any; | ||
compare(projectId: ProjectId, from: string, to: string, options?: Sudo): Promise<import("../../types/types").GetResponse>; | ||
contributors(projectId: ProjectId, options?: Sudo): Promise<import("../../types/types").GetResponse>; | ||
showArchive(projectId: ProjectId, options?: { | ||
sha: string; | ||
} & Sudo): any; | ||
showBlob(projectId: ProjectId, sha: string, options?: Sudo): any; | ||
showBlobRaw(projectId: ProjectId, sha: string, options?: Sudo): any; | ||
tree(projectId: ProjectId, options?: BaseRequestOptions): any; | ||
} & Sudo): Promise<import("../../types/types").GetResponse>; | ||
showBlob(projectId: ProjectId, sha: string, options?: Sudo): Promise<import("../../types/types").GetResponse>; | ||
showBlobRaw(projectId: ProjectId, sha: string, options?: Sudo): Promise<import("../../types/types").GetResponse>; | ||
tree(projectId: ProjectId, options?: BaseRequestOptions): Promise<import("../../types/types").GetResponse>; | ||
} | ||
export default Repositories; |
@@ -7,4 +7,4 @@ import { BaseService } from '../infrastructure'; | ||
groupId?: GroupId; | ||
} & BaseRequestOptions): any; | ||
} & BaseRequestOptions): Promise<import("../../types/types").GetResponse>; | ||
} | ||
export default Search; |
import { BaseService } from '../infrastructure'; | ||
declare class SidekiqMetrics extends BaseService { | ||
queueMetrics(): any; | ||
processMetrics(): any; | ||
jobStats(): any; | ||
compoundMetrics(): any; | ||
queueMetrics(): Promise<import("../../types/types").GetResponse>; | ||
processMetrics(): Promise<import("../../types/types").GetResponse>; | ||
jobStats(): Promise<import("../../types/types").GetResponse>; | ||
compoundMetrics(): Promise<import("../../types/types").GetResponse>; | ||
} | ||
export default SidekiqMetrics; |
import { BaseService } from '../infrastructure'; | ||
import { Sudo } from '@typings'; | ||
declare class Version extends BaseService { | ||
show(options?: Sudo): any; | ||
show(options?: Sudo): Promise<import("../../types/types").GetResponse>; | ||
} | ||
export default Version; |
@@ -5,9 +5,9 @@ import { BaseService } from '../infrastructure'; | ||
constructor(resourceType: ResourceType, options: BaseServiceOptions); | ||
all(resourceId: ResourceId, options?: PaginatedRequestOptions): any; | ||
create(resourceId: ResourceId, title: string, options?: BaseRequestOptions): Promise<any>; | ||
edit(resourceId: ResourceId, milestoneId: MilestoneId, options?: BaseRequestOptions): Promise<any>; | ||
issues(resourceId: ResourceId, milestoneId: MilestoneId, options?: Sudo): any; | ||
mergeRequests(resourceId: ResourceId, milestoneId: MilestoneId, options?: Sudo): any; | ||
show(resourceId: ResourceId, milestoneId: MilestoneId, options?: Sudo): any; | ||
all(resourceId: ResourceId, options?: PaginatedRequestOptions): Promise<import("../../types/types").GetResponse>; | ||
create(resourceId: ResourceId, title: string, options?: BaseRequestOptions): Promise<object>; | ||
edit(resourceId: ResourceId, milestoneId: MilestoneId, options?: BaseRequestOptions): Promise<object>; | ||
issues(resourceId: ResourceId, milestoneId: MilestoneId, options?: Sudo): Promise<import("../../types/types").GetResponse>; | ||
mergeRequests(resourceId: ResourceId, milestoneId: MilestoneId, options?: Sudo): Promise<import("../../types/types").GetResponse>; | ||
show(resourceId: ResourceId, milestoneId: MilestoneId, options?: Sudo): Promise<import("../../types/types").GetResponse>; | ||
} | ||
export default ResourceMilestones; |
@@ -5,5 +5,5 @@ import { BaseService } from '../infrastructure'; | ||
constructor(resourceType: ResourceType, options: BaseServiceOptions); | ||
all(options?: PaginatedRequestOptions): any; | ||
show(resourceId: ResourceId, options?: Sudo): Promise<any>; | ||
all(options?: PaginatedRequestOptions): Promise<import("../../types/types").GetResponse>; | ||
show(resourceId: ResourceId, options?: Sudo): Promise<object>; | ||
} | ||
export default ResourceTemplates; |
@@ -0,0 +0,0 @@ The MIT License |
@@ -17,3 +17,3 @@ { | ||
}, | ||
"version": "5.0.0-rc.5", | ||
"version": "5.0.0-rc.6", | ||
"main": "dist/index.js", | ||
@@ -49,3 +49,3 @@ "module": "dist/index.es.js", | ||
"form-data": "^2.3.3", | ||
"got": "^9.3.2", | ||
"got": "^9.5.0", | ||
"humps": "^2.0.1", | ||
@@ -59,3 +59,3 @@ "ky": "^0.5.1", | ||
"@semantic-release/git": "^7.0.5", | ||
"@semantic-release/npm": "^5.1.1", | ||
"@semantic-release/npm": "^5.1.2", | ||
"@types/humps": "^1.1.2", | ||
@@ -65,3 +65,3 @@ "@types/jest": "^23.3.10", | ||
"cz-conventional-changelog": "^2.1.0", | ||
"husky": "^1.2.0", | ||
"husky": "^1.3.0", | ||
"jest": "^23.6.0", | ||
@@ -71,14 +71,14 @@ "jest-extended": "^0.11.0", | ||
"prettier": "^1.15.3", | ||
"rollup": "^0.67.3", | ||
"rollup": "^0.68.0", | ||
"rollup-plugin-commonjs": "^9.2.0", | ||
"rollup-plugin-json": "^3.1.0", | ||
"rollup-plugin-node-resolve": "^3.4.0", | ||
"rollup-plugin-node-resolve": "^4.0.0", | ||
"rollup-plugin-terser": "^3.0.0", | ||
"rollup-plugin-typescript2": "^0.18.0", | ||
"semantic-release": "^15.12.3", | ||
"rollup-plugin-typescript2": "^0.18.1", | ||
"semantic-release": "^15.13.1", | ||
"ts-jest": "^23.10.5", | ||
"tslint": "^5.11.0", | ||
"tslint": "^5.12.0", | ||
"tslint-config-airbnb": "^5.11.1", | ||
"tslint-config-prettier": "^1.17.0", | ||
"typescript": "^3.2.1" | ||
"typescript": "^3.2.2" | ||
}, | ||
@@ -85,0 +85,0 @@ "keywords": [ |
@@ -120,2 +120,3 @@ [![npm @latest](https://img.shields.io/npm/v/gitlab.svg)](https://www.npmjs.com/package/gitlab) | ||
ProtectedBranches | ||
ProtectedTags | ||
ProjectVariables | ||
@@ -236,2 +237,3 @@ Repositories | ||
ProtectedBranches | ||
ProtectedTags | ||
ProjectVariables | ||
@@ -320,3 +322,2 @@ Repositories | ||
```javascript | ||
@@ -323,0 +324,0 @@ import { Gitlab } from 'gitlab'; |
@@ -75,3 +75,3 @@ declare global { | ||
export type GetResponse = | ||
| { data: object | object[]; pagination: PaginationOptions } | ||
| { data: object | object[], pagination: PaginationOptions } | ||
| object | ||
@@ -78,0 +78,0 @@ | object[]; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
327697
109
2081
536
0
Updatedgot@^9.5.0