"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3256],{81150:function(e,r,o){var t,a,i,n,s,u,p,c,l,d,h,m,f,g,y,A,v,w,C,q,R,P,_,S,b,K=this&&this.__extends||(b=function(e,r){return(b=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var o in r)r.hasOwnProperty(o)&&(e[o]=r[o])})(e,r)},function(e,r){function o(){this.constructor=e}b(e,r),e.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}),E=this&&this.__assign||function(){return(E=Object.assign||function(e){for(var r,o=1,t=arguments.length;o<t;o++)for(var a in r=arguments[o])Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a]);return e}).apply(this,arguments)};Object.defineProperty(r,"__esModule",{value:!0}),r.UserSecurityImageApi=r.UserSecurityImageApiFactory=r.UserSecurityImageApiFp=r.UserSecurityImageApiAxiosParamCreator=r.UserApi=r.UserApiFactory=r.UserApiFp=r.UserApiAxiosParamCreator=r.TeamsApi=r.TeamsApiFactory=r.TeamsApiFp=r.TeamsApiAxiosParamCreator=r.TeacherApi=r.TeacherApiFactory=r.TeacherApiFp=r.TeacherApiAxiosParamCreator=r.SecurityImageApi=r.SecurityImageApiFactory=r.SecurityImageApiFp=r.SecurityImageApiAxiosParamCreator=r.PurchasesApi=r.PurchasesApiFactory=r.PurchasesApiFp=r.PurchasesApiAxiosParamCreator=r.ProjectBranchApi=r.ProjectBranchApiFactory=r.ProjectBranchApiFp=r.ProjectBranchApiAxiosParamCreator=r.ProjectApi=r.ProjectApiFactory=r.ProjectApiFp=r.ProjectApiAxiosParamCreator=r.ProductCodeApi=r.ProductCodeApiFactory=r.ProductCodeApiFp=r.ProductCodeApiAxiosParamCreator=r.ProductApi=r.ProductApiFactory=r.ProductApiFp=r.ProductApiAxiosParamCreator=r.NotificationsApi=r.NotificationsApiFactory=r.NotificationsApiFp=r.NotificationsApiAxiosParamCreator=r.MeApi=r.MeApiFactory=r.MeApiFp=r.MeApiAxiosParamCreator=r.InvitationRequestApi=r.InvitationRequestApiFactory=r.InvitationRequestApiFp=r.InvitationRequestApiAxiosParamCreator=r.GroupInvitationApi=r.GroupInvitationApiFactory=r.GroupInvitationApiFp=r.GroupInvitationApiAxiosParamCreator=r.GroupApi=r.GroupApiFactory=r.GroupApiFp=r.GroupApiAxiosParamCreator=r.EditorSessionApi=r.EditorSessionApiFactory=r.EditorSessionApiFp=r.EditorSessionApiAxiosParamCreator=r.EditorImageApi=r.EditorImageApiFactory=r.EditorImageApiFp=r.EditorImageApiAxiosParamCreator=r.EditorExpenseApi=r.EditorExpenseApiFactory=r.EditorExpenseApiFp=r.EditorExpenseApiAxiosParamCreator=r.EditorContainersApi=r.EditorContainersApiFactory=r.EditorContainersApiFp=r.EditorContainersApiAxiosParamCreator=r.EditorCapabilitiesApi=r.EditorCapabilitiesApiFactory=r.EditorCapabilitiesApiFp=r.EditorCapabilitiesApiAxiosParamCreator=r.CreditsApi=r.CreditsApiFactory=r.CreditsApiFp=r.CreditsApiAxiosParamCreator=r.CourseApi=r.CourseApiFactory=r.CourseApiFp=r.CourseApiAxiosParamCreator=r.ConnectedDeviceApi=r.ConnectedDeviceApiFactory=r.ConnectedDeviceApiFp=r.ConnectedDeviceApiAxiosParamCreator=r.CompetitionsApi=r.CompetitionsApiFactory=r.CompetitionsApiFp=r.CompetitionsApiAxiosParamCreator=r.ClassroomCourseApi=r.ClassroomCourseApiFactory=r.ClassroomCourseApiFp=r.ClassroomCourseApiAxiosParamCreator=r.ClassroomApi=r.ClassroomApiFactory=r.ClassroomApiFp=r.ClassroomApiAxiosParamCreator=r.CheckoutInformationsApi=r.CheckoutInformationsApiFactory=r.CheckoutInformationsApiFp=r.CheckoutInformationsApiAxiosParamCreator=r.ChallengeApi=r.ChallengeApiFactory=r.ChallengeApiFp=r.ChallengeApiAxiosParamCreator=r.CertificationApi=r.CertificationApiFactory=r.CertificationApiFp=r.CertificationApiAxiosParamCreator=r.AccountTypesApi=r.AccountTypesApiFactory=r.AccountTypesApiFp=r.AccountTypesApiAxiosParamCreator=r.AccountApi=r.AccountApiFactory=r.AccountApiFp=r.AccountApiAxiosParamCreator=r.AccessrequestApi=r.AccessrequestApiFactory=r.AccessrequestApiFp=r.AccessrequestApiAxiosParamCreator=r.TeamCompetitorStageEnum=r.QualifiersRuleSetQualificationModeEnum=r.ProjectUpdateVisibilityEnum=r.ProjectShortVisibilityEnum=r.ProjectListVisibilityEnum=r.ProjectDetailVisibilityEnum=r.ProjectCreateVisibilityEnum=r.ProjectVisibilityEnum=r.PreQualificationRuleSetThresholdModeEnum=r.GroupMembershipUpdateRoleEnum=r.GroupMembershipRoleEnum=r.GroupMemberInvitationRetrieveStatusEnum=r.GroupMemberInvitationStatusEnum=r.GroupInvitationStatusEnum=r.FinalsRuleSetQualificationModeEnum=r.CompetitorMemberStageEnum=r.ClassroomSeatRetrieveStatusEnum=r.ClassroomSeatListStatusEnum=r.ClassroomRetrieveSeatModeEnum=r.ClassroomListSeatModeEnum=r.ChallengeRetrieveAgentModeEnum=r.ChallengeProjectCreateVisibilityEnum=r.ChallengeGroupMergeRequestStatusEnum=r.ChallengeGroupInvitationStatusEnum=r.ChallengeAgentModeEnum=r.CertificateStatusEnum=void 0;var j=o(48464),T=o(73360),z=o(93145);(t=r.CertificateStatusEnum||(r.CertificateStatusEnum={})).ACTIVE="ACTIVE",t.EXPIRED="EXPIRED",(a=r.ChallengeAgentModeEnum||(r.ChallengeAgentModeEnum={})).SingleAgent="single-agent",a.MultiAgent="multi-agent",(i=r.ChallengeGroupInvitationStatusEnum||(r.ChallengeGroupInvitationStatusEnum={})).Pending="pending",i.Accepted="accepted",i.Rejected="rejected",i.Uninvited="uninvited",(n=r.ChallengeGroupMergeRequestStatusEnum||(r.ChallengeGroupMergeRequestStatusEnum={})).Pending="pending",n.Accepted="accepted",n.Rejected="rejected",(s=r.ChallengeProjectCreateVisibilityEnum||(r.ChallengeProjectCreateVisibilityEnum={})).Public="public",s.Private="private",s.BinaryOnly="binary_only",(u=r.ChallengeRetrieveAgentModeEnum||(r.ChallengeRetrieveAgentModeEnum={})).SingleAgent="single-agent",u.MultiAgent="multi-agent",(p=r.ClassroomListSeatModeEnum||(r.ClassroomListSeatModeEnum={})).Flexible="flexible",p.Strict="strict",(c=r.ClassroomRetrieveSeatModeEnum||(r.ClassroomRetrieveSeatModeEnum={})).Flexible="flexible",c.Strict="strict",(l=r.ClassroomSeatListStatusEnum||(r.ClassroomSeatListStatusEnum={})).Pending="pending",l.Accepted="accepted",l.Teacher="teacher",l.Closed="closed",(d=r.ClassroomSeatRetrieveStatusEnum||(r.ClassroomSeatRetrieveStatusEnum={})).Pending="pending",d.Accepted="accepted",d.Teacher="teacher",d.Closed="closed",(h=r.CompetitorMemberStageEnum||(r.CompetitorMemberStageEnum={})).PreQualification="pre-qualification",h.Qualifiers="qualifiers",h.Finals="finals",h.Winners="winners",(r.FinalsRuleSetQualificationModeEnum||(r.FinalsRuleSetQualificationModeEnum={})).Cumulative="cumulative",(m=r.GroupInvitationStatusEnum||(r.GroupInvitationStatusEnum={})).Pending="pending",m.Accepted="accepted",m.Rejected="rejected",m.Uninvited="uninvited",(f=r.GroupMemberInvitationStatusEnum||(r.GroupMemberInvitationStatusEnum={})).Pending="pending",f.Accepted="accepted",f.Rejected="rejected",f.Uninvited="uninvited",(g=r.GroupMemberInvitationRetrieveStatusEnum||(r.GroupMemberInvitationRetrieveStatusEnum={})).Pending="pending",g.Accepted="accepted",g.Rejected="rejected",g.Uninvited="uninvited",(y=r.GroupMembershipRoleEnum||(r.GroupMembershipRoleEnum={})).Admin="admin",y.Developer="developer",(A=r.GroupMembershipUpdateRoleEnum||(r.GroupMembershipUpdateRoleEnum={})).Admin="admin",A.Developer="developer",(v=r.PreQualificationRuleSetThresholdModeEnum||(r.PreQualificationRuleSetThresholdModeEnum={})).Average="average",v.Distinct="distinct",(w=r.ProjectVisibilityEnum||(r.ProjectVisibilityEnum={})).Public="public",w.Private="private",w.BinaryOnly="binary_only",(C=r.ProjectCreateVisibilityEnum||(r.ProjectCreateVisibilityEnum={})).Public="public",C.Private="private",C.BinaryOnly="binary_only",(q=r.ProjectDetailVisibilityEnum||(r.ProjectDetailVisibilityEnum={})).Public="public",q.Private="private",q.BinaryOnly="binary_only",(R=r.ProjectListVisibilityEnum||(r.ProjectListVisibilityEnum={})).Public="public",R.Private="private",R.BinaryOnly="binary_only",(P=r.ProjectShortVisibilityEnum||(r.ProjectShortVisibilityEnum={})).Public="public",P.Private="private",P.BinaryOnly="binary_only",(_=r.ProjectUpdateVisibilityEnum||(r.ProjectUpdateVisibilityEnum={})).Public="public",_.Private="private",_.BinaryOnly="binary_only",(r.QualifiersRuleSetQualificationModeEnum||(r.QualifiersRuleSetQualificationModeEnum={})).Cumulative="cumulative",(S=r.TeamCompetitorStageEnum||(r.TeamCompetitorStageEnum={})).PreQualification="pre-qualification",S.Qualifiers="qualifiers",S.Finals="finals",S.Winners="winners",r.AccessrequestApiAxiosParamCreator=function(e){return{accessrequestRead:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("access_request_code","Required parameter access_request_code was null or undefined when calling accessrequestRead.");var t,a="/accessrequest/{access_request_code}/".replace("{access_request_code}",encodeURIComponent(String(r))),i=j.parse(a,!0);e&&(t=e.baseOptions);var n=E(E({method:"GET"},t),o),s={};if(e&&(e.username||e.password)&&(s.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var u="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;s.Authorization=u}return i.query=E(E(E({},i.query),{}),o.query),delete i.search,n.headers=E(E({},s),o.headers),{url:j.format(i),options:n}},accessrequestSend:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("access_request_code","Required parameter access_request_code was null or undefined when calling accessrequestSend.");var t,a="/accessrequest/{access_request_code}/send/".replace("{access_request_code}",encodeURIComponent(String(r))),i=j.parse(a,!0);e&&(t=e.baseOptions);var n=E(E({method:"POST"},t),o),s={};if(e&&(e.username||e.password)&&(s.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var u="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;s.Authorization=u}return i.query=E(E(E({},i.query),{}),o.query),delete i.search,n.headers=E(E({},s),o.headers),{url:j.format(i),options:n}},accessrequestSendForDemo:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("access_request_code","Required parameter access_request_code was null or undefined when calling accessrequestSendForDemo.");var t,a="/accessrequest/{access_request_code}/send_for_demo/".replace("{access_request_code}",encodeURIComponent(String(r))),i=j.parse(a,!0);e&&(t=e.baseOptions);var n=E(E({method:"POST"},t),o),s={};if(e&&(e.username||e.password)&&(s.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var u="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;s.Authorization=u}return i.query=E(E(E({},i.query),{}),o.query),delete i.search,n.headers=E(E({},s),o.headers),{url:j.format(i),options:n}}}},r.AccessrequestApiFp=function(e){return{accessrequestRead:function(o,t){var a=r.AccessrequestApiAxiosParamCreator(e).accessrequestRead(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}},accessrequestSend:function(o,t){var a=r.AccessrequestApiAxiosParamCreator(e).accessrequestSend(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}},accessrequestSendForDemo:function(o,t){var a=r.AccessrequestApiAxiosParamCreator(e).accessrequestSendForDemo(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}}}},r.AccessrequestApiFactory=function(e,o,t){return{accessrequestRead:function(a,i){return r.AccessrequestApiFp(e).accessrequestRead(a,i)(t,o)},accessrequestSend:function(a,i){return r.AccessrequestApiFp(e).accessrequestSend(a,i)(t,o)},accessrequestSendForDemo:function(a,i){return r.AccessrequestApiFp(e).accessrequestSendForDemo(a,i)(t,o)}}};var U=function(e){function o(){return null!==e&&e.apply(this,arguments)||this}return K(o,e),o.prototype.accessrequestRead=function(e,o){return r.AccessrequestApiFp(this.configuration).accessrequestRead(e,o)(this.axios,this.basePath)},o.prototype.accessrequestSend=function(e,o){return r.AccessrequestApiFp(this.configuration).accessrequestSend(e,o)(this.axios,this.basePath)},o.prototype.accessrequestSendForDemo=function(e,o){return r.AccessrequestApiFp(this.configuration).accessrequestSendForDemo(e,o)(this.axios,this.basePath)},o}(z.BaseAPI);r.AccessrequestApi=U,r.AccountApiAxiosParamCreator=function(e){return{accountList:function(r){void 0===r&&(r={});var o,t=j.parse("/account/",!0);e&&(o=e.baseOptions);var a=E(E({method:"GET"},o),r),i={};if(e&&(e.username||e.password)&&(i.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var n="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;i.Authorization=n}return t.query=E(E(E({},t.query),{}),r.query),delete t.search,a.headers=E(E({},i),r.headers),{url:j.format(t),options:a}},accountRead:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling accountRead.");var t,a="/account/{id}/".replace("{id}",encodeURIComponent(String(r))),i=j.parse(a,!0);e&&(t=e.baseOptions);var n=E(E({method:"GET"},t),o),s={};if(e&&(e.username||e.password)&&(s.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var u="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;s.Authorization=u}return i.query=E(E(E({},i.query),{}),o.query),delete i.search,n.headers=E(E({},s),o.headers),{url:j.format(i),options:n}},accountTransfersList:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("account_pk","Required parameter account_pk was null or undefined when calling accountTransfersList.");var a,i="/account/{account_pk}/transfers/".replace("{account_pk}",encodeURIComponent(String(r))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"GET"},a),t),u={},p={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var c="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=c}return void 0!==o&&(p.transfer_link=o),n.query=E(E(E({},n.query),p),t.query),delete n.search,s.headers=E(E({},u),t.headers),{url:j.format(n),options:s}}}},r.AccountApiFp=function(e){return{accountList:function(o){var t=r.AccountApiAxiosParamCreator(e).accountList(o);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},t.options),{url:r+t.url});return e.request(o)}},accountRead:function(o,t){var a=r.AccountApiAxiosParamCreator(e).accountRead(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}},accountTransfersList:function(o,t,a){var i=r.AccountApiAxiosParamCreator(e).accountTransfersList(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}}}},r.AccountApiFactory=function(e,o,t){return{accountList:function(a){return r.AccountApiFp(e).accountList(a)(t,o)},accountRead:function(a,i){return r.AccountApiFp(e).accountRead(a,i)(t,o)},accountTransfersList:function(a,i,n){return r.AccountApiFp(e).accountTransfersList(a,i,n)(t,o)}}};var F=function(e){function o(){return null!==e&&e.apply(this,arguments)||this}return K(o,e),o.prototype.accountList=function(e){return r.AccountApiFp(this.configuration).accountList(e)(this.axios,this.basePath)},o.prototype.accountRead=function(e,o){return r.AccountApiFp(this.configuration).accountRead(e,o)(this.axios,this.basePath)},o.prototype.accountTransfersList=function(e,o,t){return r.AccountApiFp(this.configuration).accountTransfersList(e,o,t)(this.axios,this.basePath)},o}(z.BaseAPI);r.AccountApi=F,r.AccountTypesApiAxiosParamCreator=function(e){return{accountTypesList:function(r){void 0===r&&(r={});var o,t=j.parse("/account-types/",!0);e&&(o=e.baseOptions);var a=E(E({method:"GET"},o),r),i={};if(e&&(e.username||e.password)&&(i.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var n="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;i.Authorization=n}return t.query=E(E(E({},t.query),{}),r.query),delete t.search,a.headers=E(E({},i),r.headers),{url:j.format(t),options:a}},accountTypesRead:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling accountTypesRead.");var t,a="/account-types/{id}/".replace("{id}",encodeURIComponent(String(r))),i=j.parse(a,!0);e&&(t=e.baseOptions);var n=E(E({method:"GET"},t),o),s={};if(e&&(e.username||e.password)&&(s.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var u="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;s.Authorization=u}return i.query=E(E(E({},i.query),{}),o.query),delete i.search,n.headers=E(E({},s),o.headers),{url:j.format(i),options:n}}}},r.AccountTypesApiFp=function(e){return{accountTypesList:function(o){var t=r.AccountTypesApiAxiosParamCreator(e).accountTypesList(o);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},t.options),{url:r+t.url});return e.request(o)}},accountTypesRead:function(o,t){var a=r.AccountTypesApiAxiosParamCreator(e).accountTypesRead(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}}}},r.AccountTypesApiFactory=function(e,o,t){return{accountTypesList:function(a){return r.AccountTypesApiFp(e).accountTypesList(a)(t,o)},accountTypesRead:function(a,i){return r.AccountTypesApiFp(e).accountTypesRead(a,i)(t,o)}}};var L=function(e){function o(){return null!==e&&e.apply(this,arguments)||this}return K(o,e),o.prototype.accountTypesList=function(e){return r.AccountTypesApiFp(this.configuration).accountTypesList(e)(this.axios,this.basePath)},o.prototype.accountTypesRead=function(e,o){return r.AccountTypesApiFp(this.configuration).accountTypesRead(e,o)(this.axios,this.basePath)},o}(z.BaseAPI);r.AccountTypesApi=L,r.CertificationApiAxiosParamCreator=function(e){return{certificationList:function(r){void 0===r&&(r={});var o,t=j.parse("/certification/",!0);e&&(o=e.baseOptions);var a=E(E({method:"GET"},o),r),i={};if(e&&(e.username||e.password)&&(i.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var n="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;i.Authorization=n}return t.query=E(E(E({},t.query),{}),r.query),delete t.search,a.headers=E(E({},i),r.headers),{url:j.format(t),options:a}},certificationRead:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling certificationRead.");var t,a="/certification/{id}/".replace("{id}",encodeURIComponent(String(r))),i=j.parse(a,!0);e&&(t=e.baseOptions);var n=E(E({method:"GET"},t),o),s={};if(e&&(e.username||e.password)&&(s.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var u="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;s.Authorization=u}return i.query=E(E(E({},i.query),{}),o.query),delete i.search,n.headers=E(E({},s),o.headers),{url:j.format(i),options:n}},certificationRulesetCreateCertificate:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("ruleset__slug","Required parameter ruleset__slug was null or undefined when calling certificationRulesetCreateCertificate.");if(null==o)throw new z.RequiredError("data","Required parameter data was null or undefined when calling certificationRulesetCreateCertificate.");var a,i="/certification/ruleset/{ruleset__slug}/create_certification/".replace("{ruleset__slug}",encodeURIComponent(String(r))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"POST"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}u["Content-Type"]="application/json",n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers);var c="string"!=typeof o||"application/json"===s.headers["Content-Type"];return s.data=c?JSON.stringify(void 0!==o?o:{}):o||"",{url:j.format(n),options:s}},certificationRulesetRetrieveByRuleset:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("ruleset__slug","Required parameter ruleset__slug was null or undefined when calling certificationRulesetRetrieveByRuleset.");var t,a="/certification/ruleset/{ruleset__slug}/retrieve_certification/".replace("{ruleset__slug}",encodeURIComponent(String(r))),i=j.parse(a,!0);e&&(t=e.baseOptions);var n=E(E({method:"GET"},t),o),s={};if(e&&(e.username||e.password)&&(s.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var u="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;s.Authorization=u}return i.query=E(E(E({},i.query),{}),o.query),delete i.search,n.headers=E(E({},s),o.headers),{url:j.format(i),options:n}}}},r.CertificationApiFp=function(e){return{certificationList:function(o){var t=r.CertificationApiAxiosParamCreator(e).certificationList(o);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},t.options),{url:r+t.url});return e.request(o)}},certificationRead:function(o,t){var a=r.CertificationApiAxiosParamCreator(e).certificationRead(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}},certificationRulesetCreateCertificate:function(o,t,a){var i=r.CertificationApiAxiosParamCreator(e).certificationRulesetCreateCertificate(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},certificationRulesetRetrieveByRuleset:function(o,t){var a=r.CertificationApiAxiosParamCreator(e).certificationRulesetRetrieveByRuleset(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}}}},r.CertificationApiFactory=function(e,o,t){return{certificationList:function(a){return r.CertificationApiFp(e).certificationList(a)(t,o)},certificationRead:function(a,i){return r.CertificationApiFp(e).certificationRead(a,i)(t,o)},certificationRulesetCreateCertificate:function(a,i,n){return r.CertificationApiFp(e).certificationRulesetCreateCertificate(a,i,n)(t,o)},certificationRulesetRetrieveByRuleset:function(a,i){return r.CertificationApiFp(e).certificationRulesetRetrieveByRuleset(a,i)(t,o)}}};var B=function(e){function o(){return null!==e&&e.apply(this,arguments)||this}return K(o,e),o.prototype.certificationList=function(e){return r.CertificationApiFp(this.configuration).certificationList(e)(this.axios,this.basePath)},o.prototype.certificationRead=function(e,o){return r.CertificationApiFp(this.configuration).certificationRead(e,o)(this.axios,this.basePath)},o.prototype.certificationRulesetCreateCertificate=function(e,o,t){return r.CertificationApiFp(this.configuration).certificationRulesetCreateCertificate(e,o,t)(this.axios,this.basePath)},o.prototype.certificationRulesetRetrieveByRuleset=function(e,o){return r.CertificationApiFp(this.configuration).certificationRulesetRetrieveByRuleset(e,o)(this.axios,this.basePath)},o}(z.BaseAPI);r.CertificationApi=B,r.ChallengeApiAxiosParamCreator=function(e){return{challengeAgree:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling challengeAgree.");var t,a="/challenge/{id}/agree/".replace("{id}",encodeURIComponent(String(r))),i=j.parse(a,!0);e&&(t=e.baseOptions);var n=E(E({method:"POST"},t),o),s={};if(e&&(e.username||e.password)&&(s.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var u="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;s.Authorization=u}return i.query=E(E(E({},i.query),{}),o.query),delete i.search,n.headers=E(E({},s),o.headers),{url:j.format(i),options:n}},challengeGroupInvite:function(r,o,t,a){if(void 0===a&&(a={}),null==r)throw new z.RequiredError("challenge_pk","Required parameter challenge_pk was null or undefined when calling challengeGroupInvite.");if(null==o)throw new z.RequiredError("id","Required parameter id was null or undefined when calling challengeGroupInvite.");if(null==t)throw new z.RequiredError("data","Required parameter data was null or undefined when calling challengeGroupInvite.");var i,n="/challenge/{challenge_pk}/group/{id}/invite/".replace("{challenge_pk}",encodeURIComponent(String(r))).replace("{id}",encodeURIComponent(String(o))),s=j.parse(n,!0);e&&(i=e.baseOptions);var u=E(E({method:"POST"},i),a),p={};if(e&&(e.username||e.password)&&(p.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var c="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;p.Authorization=c}p["Content-Type"]="application/json",s.query=E(E(E({},s.query),{}),a.query),delete s.search,u.headers=E(E({},p),a.headers);var l="string"!=typeof t||"application/json"===u.headers["Content-Type"];return u.data=l?JSON.stringify(void 0!==t?t:{}):t||"",{url:j.format(s),options:u}},challengeGroupList:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("challenge_pk","Required parameter challenge_pk was null or undefined when calling challengeGroupList.");var t,a="/challenge/{challenge_pk}/group/".replace("{challenge_pk}",encodeURIComponent(String(r))),i=j.parse(a,!0);e&&(t=e.baseOptions);var n=E(E({method:"GET"},t),o),s={};if(e&&(e.username||e.password)&&(s.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var u="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;s.Authorization=u}return i.query=E(E(E({},i.query),{}),o.query),delete i.search,n.headers=E(E({},s),o.headers),{url:j.format(i),options:n}},challengeGroupPartialUpdate:function(r,o,t,a,i,n){if(void 0===n&&(n={}),null==r)throw new z.RequiredError("challenge_pk","Required parameter challenge_pk was null or undefined when calling challengeGroupPartialUpdate.");if(null==o)throw new z.RequiredError("id","Required parameter id was null or undefined when calling challengeGroupPartialUpdate.");if(null==t)throw new z.RequiredError("name","Required parameter name was null or undefined when calling challengeGroupPartialUpdate.");var s,u="/challenge/{challenge_pk}/group/{id}/".replace("{challenge_pk}",encodeURIComponent(String(r))).replace("{id}",encodeURIComponent(String(o))),p=j.parse(u,!0);e&&(s=e.baseOptions);var c=E(E({method:"PATCH"},s),n),l={},d=new FormData;if(e&&(e.username||e.password)&&(l.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var h="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;l.Authorization=h}return void 0!==t&&d.append("name",t),void 0!==a&&d.append("description",a),void 0!==i&&d.append("avatar",i),l["Content-Type"]="multipart/form-data",p.query=E(E(E({},p.query),{}),n.query),delete p.search,c.headers=E(E({},l),n.headers),c.data=d,{url:j.format(p),options:c}},challengeGroupRatingCreate:function(r,o,t,a){if(void 0===a&&(a={}),null==r)throw new z.RequiredError("challenge_pk","Required parameter challenge_pk was null or undefined when calling challengeGroupRatingCreate.");if(null==o)throw new z.RequiredError("group_pk","Required parameter group_pk was null or undefined when calling challengeGroupRatingCreate.");if(null==t)throw new z.RequiredError("data","Required parameter data was null or undefined when calling challengeGroupRatingCreate.");var i,n="/challenge/{challenge_pk}/group/{group_pk}/rating/".replace("{challenge_pk}",encodeURIComponent(String(r))).replace("{group_pk}",encodeURIComponent(String(o))),s=j.parse(n,!0);e&&(i=e.baseOptions);var u=E(E({method:"POST"},i),a),p={};if(e&&(e.username||e.password)&&(p.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var c="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;p.Authorization=c}p["Content-Type"]="application/json",s.query=E(E(E({},s.query),{}),a.query),delete s.search,u.headers=E(E({},p),a.headers);var l="string"!=typeof t||"application/json"===u.headers["Content-Type"];return u.data=l?JSON.stringify(void 0!==t?t:{}):t||"",{url:j.format(s),options:u}},challengeGroupRatingList:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("challenge_pk","Required parameter challenge_pk was null or undefined when calling challengeGroupRatingList.");if(null==o)throw new z.RequiredError("group_pk","Required parameter group_pk was null or undefined when calling challengeGroupRatingList.");var a,i="/challenge/{challenge_pk}/group/{group_pk}/rating/".replace("{challenge_pk}",encodeURIComponent(String(r))).replace("{group_pk}",encodeURIComponent(String(o))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"GET"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}return n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers),{url:j.format(n),options:s}},challengeGroupRead:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("challenge_pk","Required parameter challenge_pk was null or undefined when calling challengeGroupRead.");if(null==o)throw new z.RequiredError("id","Required parameter id was null or undefined when calling challengeGroupRead.");var a,i="/challenge/{challenge_pk}/group/{id}/".replace("{challenge_pk}",encodeURIComponent(String(r))).replace("{id}",encodeURIComponent(String(o))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"GET"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}return n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers),{url:j.format(n),options:s}},challengeGroupResults:function(r,o,t,a,i){if(void 0===i&&(i={}),null==r)throw new z.RequiredError("challenge_pk","Required parameter challenge_pk was null or undefined when calling challengeGroupResults.");if(null==o)throw new z.RequiredError("id","Required parameter id was null or undefined when calling challengeGroupResults.");var n,s="/challenge/{challenge_pk}/group/{id}/results/".replace("{challenge_pk}",encodeURIComponent(String(r))).replace("{id}",encodeURIComponent(String(o))),u=j.parse(s,!0);e&&(n=e.baseOptions);var p=E(E({method:"GET"},n),i),c={},l={};if(e&&(e.username||e.password)&&(c.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var d="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;c.Authorization=d}return void 0!==t&&(l.page=t),void 0!==a&&(l.page_size=a),u.query=E(E(E({},u.query),l),i.query),delete u.search,p.headers=E(E({},c),i.headers),{url:j.format(u),options:p}},challengeGroupUninvite:function(r,o,t,a){if(void 0===a&&(a={}),null==r)throw new z.RequiredError("challenge_pk","Required parameter challenge_pk was null or undefined when calling challengeGroupUninvite.");if(null==o)throw new z.RequiredError("id","Required parameter id was null or undefined when calling challengeGroupUninvite.");if(null==t)throw new z.RequiredError("data","Required parameter data was null or undefined when calling challengeGroupUninvite.");var i,n="/challenge/{challenge_pk}/group/{id}/uninvite/".replace("{challenge_pk}",encodeURIComponent(String(r))).replace("{id}",encodeURIComponent(String(o))),s=j.parse(n,!0);e&&(i=e.baseOptions);var u=E(E({method:"POST"},i),a),p={};if(e&&(e.username||e.password)&&(p.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var c="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;p.Authorization=c}p["Content-Type"]="application/json",s.query=E(E(E({},s.query),{}),a.query),delete s.search,u.headers=E(E({},p),a.headers);var l="string"!=typeof t||"application/json"===u.headers["Content-Type"];return u.data=l?JSON.stringify(void 0!==t?t:{}):t||"",{url:j.format(s),options:u}},challengeGroupUpdate:function(r,o,t,a,i,n){if(void 0===n&&(n={}),null==r)throw new z.RequiredError("challenge_pk","Required parameter challenge_pk was null or undefined when calling challengeGroupUpdate.");if(null==o)throw new z.RequiredError("id","Required parameter id was null or undefined when calling challengeGroupUpdate.");if(null==t)throw new z.RequiredError("name","Required parameter name was null or undefined when calling challengeGroupUpdate.");var s,u="/challenge/{challenge_pk}/group/{id}/".replace("{challenge_pk}",encodeURIComponent(String(r))).replace("{id}",encodeURIComponent(String(o))),p=j.parse(u,!0);e&&(s=e.baseOptions);var c=E(E({method:"PUT"},s),n),l={},d=new FormData;if(e&&(e.username||e.password)&&(l.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var h="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;l.Authorization=h}return void 0!==t&&d.append("name",t),void 0!==a&&d.append("description",a),void 0!==i&&d.append("avatar",i),l["Content-Type"]="multipart/form-data",p.query=E(E(E({},p.query),{}),n.query),delete p.search,c.headers=E(E({},l),n.headers),c.data=d,{url:j.format(p),options:c}},challengeGroupsList:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("challenge_pk","Required parameter challenge_pk was null or undefined when calling challengeGroupsList.");var t,a="/challenge/{challenge_pk}/groups/".replace("{challenge_pk}",encodeURIComponent(String(r))),i=j.parse(a,!0);e&&(t=e.baseOptions);var n=E(E({method:"GET"},t),o),s={};if(e&&(e.username||e.password)&&(s.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var u="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;s.Authorization=u}return i.query=E(E(E({},i.query),{}),o.query),delete i.search,n.headers=E(E({},s),o.headers),{url:j.format(i),options:n}},challengeGroupsRead:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("challenge_pk","Required parameter challenge_pk was null or undefined when calling challengeGroupsRead.");if(null==o)throw new z.RequiredError("id","Required parameter id was null or undefined when calling challengeGroupsRead.");var a,i="/challenge/{challenge_pk}/groups/{id}/".replace("{challenge_pk}",encodeURIComponent(String(r))).replace("{id}",encodeURIComponent(String(o))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"GET"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}return n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers),{url:j.format(n),options:s}},challengeKeysCreate:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling challengeKeysCreate.");if(null==o)throw new z.RequiredError("data","Required parameter data was null or undefined when calling challengeKeysCreate.");var a,i="/challenge/{id}/keys/".replace("{id}",encodeURIComponent(String(r))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"POST"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}u["Content-Type"]="application/json",n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers);var c="string"!=typeof o||"application/json"===s.headers["Content-Type"];return s.data=c?JSON.stringify(void 0!==o?o:{}):o||"",{url:j.format(n),options:s}},challengeKeysDelete:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling challengeKeysDelete.");if(null==o)throw new z.RequiredError("data","Required parameter data was null or undefined when calling challengeKeysDelete.");var a,i="/challenge/{id}/keys/".replace("{id}",encodeURIComponent(String(r))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"DELETE"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}u["Content-Type"]="application/json",n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers);var c="string"!=typeof o||"application/json"===s.headers["Content-Type"];return s.data=c?JSON.stringify(void 0!==o?o:{}):o||"",{url:j.format(n),options:s}},challengeKeysRead:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling challengeKeysRead.");var t,a="/challenge/{id}/keys/".replace("{id}",encodeURIComponent(String(r))),i=j.parse(a,!0);e&&(t=e.baseOptions);var n=E(E({method:"GET"},t),o),s={};if(e&&(e.username||e.password)&&(s.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var u="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;s.Authorization=u}return i.query=E(E(E({},i.query),{}),o.query),delete i.search,n.headers=E(E({},s),o.headers),{url:j.format(i),options:n}},challengeLeaderboardsList:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("challenge_pk","Required parameter challenge_pk was null or undefined when calling challengeLeaderboardsList.");var t,a="/challenge/{challenge_pk}/leaderboards/".replace("{challenge_pk}",encodeURIComponent(String(r))),i=j.parse(a,!0);e&&(t=e.baseOptions);var n=E(E({method:"GET"},t),o),s={};if(e&&(e.username||e.password)&&(s.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var u="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;s.Authorization=u}return i.query=E(E(E({},i.query),{}),o.query),delete i.search,n.headers=E(E({},s),o.headers),{url:j.format(i),options:n}},challengeList:function(r,o,t){void 0===t&&(t={});var a,i=j.parse("/challenge/",!0);e&&(a=e.baseOptions);var n=E(E({method:"GET"},a),t),s={},u={};if(e&&(e.username||e.password)&&(s.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;s.Authorization=p}return void 0!==r&&(u.mine=r),void 0!==o&&(u.keys=o),i.query=E(E(E({},i.query),u),t.query),delete i.search,n.headers=E(E({},s),t.headers),{url:j.format(i),options:n}},challengeMatchesAgainst:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("challenge_pk","Required parameter challenge_pk was null or undefined when calling challengeMatchesAgainst.");if(null==o)throw new z.RequiredError("data","Required parameter data was null or undefined when calling challengeMatchesAgainst.");var a,i="/challenge/{challenge_pk}/matches/against/".replace("{challenge_pk}",encodeURIComponent(String(r))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"POST"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}u["Content-Type"]="application/json",n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers);var c="string"!=typeof o||"application/json"===s.headers["Content-Type"];return s.data=c?JSON.stringify(void 0!==o?o:{}):o||"",{url:j.format(n),options:s}},challengeMatchesArtifactsCreate:function(r,o,t,a,i,n){if(void 0===n&&(n={}),null==r)throw new z.RequiredError("challenge_pk","Required parameter challenge_pk was null or undefined when calling challengeMatchesArtifactsCreate.");if(null==o)throw new z.RequiredError("match_pk","Required parameter match_pk was null or undefined when calling challengeMatchesArtifactsCreate.");if(null==t)throw new z.RequiredError("name","Required parameter name was null or undefined when calling challengeMatchesArtifactsCreate.");var s,u="/challenge/{challenge_pk}/matches/{match_pk}/artifacts/".replace("{challenge_pk}",encodeURIComponent(String(r))).replace("{match_pk}",encodeURIComponent(String(o))),p=j.parse(u,!0);e&&(s=e.baseOptions);var c=E(E({method:"POST"},s),n),l={},d=new FormData;if(e&&(e.username||e.password)&&(l.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var h="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;l.Authorization=h}return void 0!==a&&d.append("file",a),void 0!==t&&d.append("name",t),void 0!==i&&d.append("mime_type",i),l["Content-Type"]="multipart/form-data",p.query=E(E(E({},p.query),{}),n.query),delete p.search,c.headers=E(E({},l),n.headers),c.data=d,{url:j.format(p),options:c}},challengeMatchesArtifactsList:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("challenge_pk","Required parameter challenge_pk was null or undefined when calling challengeMatchesArtifactsList.");if(null==o)throw new z.RequiredError("match_pk","Required parameter match_pk was null or undefined when calling challengeMatchesArtifactsList.");var a,i="/challenge/{challenge_pk}/matches/{match_pk}/artifacts/".replace("{challenge_pk}",encodeURIComponent(String(r))).replace("{match_pk}",encodeURIComponent(String(o))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"GET"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}return n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers),{url:j.format(n),options:s}},challengeMatchesArtifactsRead:function(r,o,t,a){if(void 0===a&&(a={}),null==r)throw new z.RequiredError("challenge_pk","Required parameter challenge_pk was null or undefined when calling challengeMatchesArtifactsRead.");if(null==o)throw new z.RequiredError("id","Required parameter id was null or undefined when calling challengeMatchesArtifactsRead.");if(null==t)throw new z.RequiredError("match_pk","Required parameter match_pk was null or undefined when calling challengeMatchesArtifactsRead.");var i,n="/challenge/{challenge_pk}/matches/{match_pk}/artifacts/{id}/".replace("{challenge_pk}",encodeURIComponent(String(r))).replace("{id}",encodeURIComponent(String(o))).replace("{match_pk}",encodeURIComponent(String(t))),s=j.parse(n,!0);e&&(i=e.baseOptions);var u=E(E({method:"GET"},i),a),p={};if(e&&(e.username||e.password)&&(p.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var c="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;p.Authorization=c}return s.query=E(E(E({},s.query),{}),a.query),delete s.search,u.headers=E(E({},p),a.headers),{url:j.format(s),options:u}},challengeMatchesCreate:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("challenge_pk","Required parameter challenge_pk was null or undefined when calling challengeMatchesCreate.");if(null==o)throw new z.RequiredError("data","Required parameter data was null or undefined when calling challengeMatchesCreate.");var a,i="/challenge/{challenge_pk}/matches/".replace("{challenge_pk}",encodeURIComponent(String(r))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"POST"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}u["Content-Type"]="application/json",n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers);var c="string"!=typeof o||"application/json"===s.headers["Content-Type"];return s.data=c?JSON.stringify(void 0!==o?o:{}):o||"",{url:j.format(n),options:s}},challengeMatchesDelete:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("challenge_pk","Required parameter challenge_pk was null or undefined when calling challengeMatchesDelete.");if(null==o)throw new z.RequiredError("id","Required parameter id was null or undefined when calling challengeMatchesDelete.");var a,i="/challenge/{challenge_pk}/matches/{id}/".replace("{challenge_pk}",encodeURIComponent(String(r))).replace("{id}",encodeURIComponent(String(o))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"DELETE"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}return n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers),{url:j.format(n),options:s}},challengeMatchesList:function(r,o,t,a,i){if(void 0===i&&(i={}),null==r)throw new z.RequiredError("challenge_pk","Required parameter challenge_pk was null or undefined when calling challengeMatchesList.");var n,s="/challenge/{challenge_pk}/matches/".replace("{challenge_pk}",encodeURIComponent(String(r))),u=j.parse(s,!0);e&&(n=e.baseOptions);var p=E(E({method:"GET"},n),i),c={},l={};if(e&&(e.username||e.password)&&(c.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var d="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;c.Authorization=d}return void 0!==o&&(l.versus=o),void 0!==t&&(l.page=t),void 0!==a&&(l.page_size=a),u.query=E(E(E({},u.query),l),i.query),delete u.search,p.headers=E(E({},c),i.headers),{url:j.format(u),options:p}},challengeMatchesPartialUpdate:function(r,o,t,a){if(void 0===a&&(a={}),null==r)throw new z.RequiredError("challenge_pk","Required parameter challenge_pk was null or undefined when calling challengeMatchesPartialUpdate.");if(null==o)throw new z.RequiredError("id","Required parameter id was null or undefined when calling challengeMatchesPartialUpdate.");if(null==t)throw new z.RequiredError("data","Required parameter data was null or undefined when calling challengeMatchesPartialUpdate.");var i,n="/challenge/{challenge_pk}/matches/{id}/".replace("{challenge_pk}",encodeURIComponent(String(r))).replace("{id}",encodeURIComponent(String(o))),s=j.parse(n,!0);e&&(i=e.baseOptions);var u=E(E({method:"PATCH"},i),a),p={};if(e&&(e.username||e.password)&&(p.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var c="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;p.Authorization=c}p["Content-Type"]="application/json",s.query=E(E(E({},s.query),{}),a.query),delete s.search,u.headers=E(E({},p),a.headers);var l="string"!=typeof t||"application/json"===u.headers["Content-Type"];return u.data=l?JSON.stringify(void 0!==t?t:{}):t||"",{url:j.format(s),options:u}},challengeMatchesRead:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("challenge_pk","Required parameter challenge_pk was null or undefined when calling challengeMatchesRead.");if(null==o)throw new z.RequiredError("id","Required parameter id was null or undefined when calling challengeMatchesRead.");var a,i="/challenge/{challenge_pk}/matches/{id}/".replace("{challenge_pk}",encodeURIComponent(String(r))).replace("{id}",encodeURIComponent(String(o))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"GET"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}return n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers),{url:j.format(n),options:s}},challengeMatchesRun:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("challenge_pk","Required parameter challenge_pk was null or undefined when calling challengeMatchesRun.");if(null==o)throw new z.RequiredError("id","Required parameter id was null or undefined when calling challengeMatchesRun.");var a,i="/challenge/{challenge_pk}/matches/{id}/run/".replace("{challenge_pk}",encodeURIComponent(String(r))).replace("{id}",encodeURIComponent(String(o))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"GET"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}return n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers),{url:j.format(n),options:s}},challengeMatchesUpdate:function(r,o,t,a){if(void 0===a&&(a={}),null==r)throw new z.RequiredError("challenge_pk","Required parameter challenge_pk was null or undefined when calling challengeMatchesUpdate.");if(null==o)throw new z.RequiredError("id","Required parameter id was null or undefined when calling challengeMatchesUpdate.");if(null==t)throw new z.RequiredError("data","Required parameter data was null or undefined when calling challengeMatchesUpdate.");var i,n="/challenge/{challenge_pk}/matches/{id}/".replace("{challenge_pk}",encodeURIComponent(String(r))).replace("{id}",encodeURIComponent(String(o))),s=j.parse(n,!0);e&&(i=e.baseOptions);var u=E(E({method:"PUT"},i),a),p={};if(e&&(e.username||e.password)&&(p.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var c="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;p.Authorization=c}p["Content-Type"]="application/json",s.query=E(E(E({},s.query),{}),a.query),delete s.search,u.headers=E(E({},p),a.headers);var l="string"!=typeof t||"application/json"===u.headers["Content-Type"];return u.data=l?JSON.stringify(void 0!==t?t:{}):t||"",{url:j.format(s),options:u}},challengeMergeRequestsAccept:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("challenge_pk","Required parameter challenge_pk was null or undefined when calling challengeMergeRequestsAccept.");if(null==o)throw new z.RequiredError("id","Required parameter id was null or undefined when calling challengeMergeRequestsAccept.");var a,i="/challenge/{challenge_pk}/merge-requests/{id}/accept/".replace("{challenge_pk}",encodeURIComponent(String(r))).replace("{id}",encodeURIComponent(String(o))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"POST"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}return n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers),{url:j.format(n),options:s}},challengeMergeRequestsCreate:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("challenge_pk","Required parameter challenge_pk was null or undefined when calling challengeMergeRequestsCreate.");if(null==o)throw new z.RequiredError("data","Required parameter data was null or undefined when calling challengeMergeRequestsCreate.");var a,i="/challenge/{challenge_pk}/merge-requests/".replace("{challenge_pk}",encodeURIComponent(String(r))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"POST"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}u["Content-Type"]="application/json",n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers);var c="string"!=typeof o||"application/json"===s.headers["Content-Type"];return s.data=c?JSON.stringify(void 0!==o?o:{}):o||"",{url:j.format(n),options:s}},challengeMergeRequestsDelete:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("challenge_pk","Required parameter challenge_pk was null or undefined when calling challengeMergeRequestsDelete.");if(null==o)throw new z.RequiredError("id","Required parameter id was null or undefined when calling challengeMergeRequestsDelete.");var a,i="/challenge/{challenge_pk}/merge-requests/{id}/".replace("{challenge_pk}",encodeURIComponent(String(r))).replace("{id}",encodeURIComponent(String(o))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"DELETE"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}return n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers),{url:j.format(n),options:s}},challengeMergeRequestsList:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("challenge_pk","Required parameter challenge_pk was null or undefined when calling challengeMergeRequestsList.");var a,i="/challenge/{challenge_pk}/merge-requests/".replace("{challenge_pk}",encodeURIComponent(String(r))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"GET"},a),t),u={},p={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var c="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=c}return void 0!==o&&(p.select=o),n.query=E(E(E({},n.query),p),t.query),delete n.search,s.headers=E(E({},u),t.headers),{url:j.format(n),options:s}},challengeMergeRequestsRead:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("challenge_pk","Required parameter challenge_pk was null or undefined when calling challengeMergeRequestsRead.");if(null==o)throw new z.RequiredError("id","Required parameter id was null or undefined when calling challengeMergeRequestsRead.");var a,i="/challenge/{challenge_pk}/merge-requests/{id}/".replace("{challenge_pk}",encodeURIComponent(String(r))).replace("{id}",encodeURIComponent(String(o))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"GET"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}return n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers),{url:j.format(n),options:s}},challengeMergeRequestsReject:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("challenge_pk","Required parameter challenge_pk was null or undefined when calling challengeMergeRequestsReject.");if(null==o)throw new z.RequiredError("id","Required parameter id was null or undefined when calling challengeMergeRequestsReject.");var a,i="/challenge/{challenge_pk}/merge-requests/{id}/reject/".replace("{challenge_pk}",encodeURIComponent(String(r))).replace("{id}",encodeURIComponent(String(o))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"POST"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}return n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers),{url:j.format(n),options:s}},challengePrizesList:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("challenge_pk","Required parameter challenge_pk was null or undefined when calling challengePrizesList.");var t,a="/challenge/{challenge_pk}/prizes/".replace("{challenge_pk}",encodeURIComponent(String(r))),i=j.parse(a,!0);e&&(t=e.baseOptions);var n=E(E({method:"GET"},t),o),s={};if(e&&(e.username||e.password)&&(s.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var u="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;s.Authorization=u}return i.query=E(E(E({},i.query),{}),o.query),delete i.search,n.headers=E(E({},s),o.headers),{url:j.format(i),options:n}},challengeProjectsCreate:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("challenge_pk","Required parameter challenge_pk was null or undefined when calling challengeProjectsCreate.");if(null==o)throw new z.RequiredError("data","Required parameter data was null or undefined when calling challengeProjectsCreate.");var a,i="/challenge/{challenge_pk}/projects/".replace("{challenge_pk}",encodeURIComponent(String(r))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"POST"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}u["Content-Type"]="application/json",n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers);var c="string"!=typeof o||"application/json"===s.headers["Content-Type"];return s.data=c?JSON.stringify(void 0!==o?o:{}):o||"",{url:j.format(n),options:s}},challengeProjectsList:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("challenge_pk","Required parameter challenge_pk was null or undefined when calling challengeProjectsList.");var t,a="/challenge/{challenge_pk}/projects/".replace("{challenge_pk}",encodeURIComponent(String(r))),i=j.parse(a,!0);e&&(t=e.baseOptions);var n=E(E({method:"GET"},t),o),s={};if(e&&(e.username||e.password)&&(s.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var u="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;s.Authorization=u}return i.query=E(E(E({},i.query),{}),o.query),delete i.search,n.headers=E(E({},s),o.headers),{url:j.format(i),options:n}},challengeProjectsOpen:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("challenge_pk","Required parameter challenge_pk was null or undefined when calling challengeProjectsOpen.");var t,a="/challenge/{challenge_pk}/projects/open/".replace("{challenge_pk}",encodeURIComponent(String(r))),i=j.parse(a,!0);e&&(t=e.baseOptions);var n=E(E({method:"POST"},t),o),s={};if(e&&(e.username||e.password)&&(s.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var u="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;s.Authorization=u}return i.query=E(E(E({},i.query),{}),o.query),delete i.search,n.headers=E(E({},s),o.headers),{url:j.format(i),options:n}},challengeRead:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling challengeRead.");var t,a="/challenge/{id}/".replace("{id}",encodeURIComponent(String(r))),i=j.parse(a,!0);e&&(t=e.baseOptions);var n=E(E({method:"GET"},t),o),s={};if(e&&(e.username||e.password)&&(s.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var u="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;s.Authorization=u}return i.query=E(E(E({},i.query),{}),o.query),delete i.search,n.headers=E(E({},s),o.headers),{url:j.format(i),options:n}},challengeStagesLeaderboardList:function(r,o,t,a,i){if(void 0===i&&(i={}),null==r)throw new z.RequiredError("challenge_pk","Required parameter challenge_pk was null or undefined when calling challengeStagesLeaderboardList.");if(null==o)throw new z.RequiredError("stage_pk","Required parameter stage_pk was null or undefined when calling challengeStagesLeaderboardList.");var n,s="/challenge/{challenge_pk}/stages/{stage_pk}/leaderboard/".replace("{challenge_pk}",encodeURIComponent(String(r))).replace("{stage_pk}",encodeURIComponent(String(o))),u=j.parse(s,!0);e&&(n=e.baseOptions);var p=E(E({method:"GET"},n),i),c={},l={};if(e&&(e.username||e.password)&&(c.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var d="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;c.Authorization=d}return void 0!==t&&(l.page=t),void 0!==a&&(l.page_size=a),u.query=E(E(E({},u.query),l),i.query),delete u.search,p.headers=E(E({},c),i.headers),{url:j.format(u),options:p}},challengeStagesList:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("challenge_pk","Required parameter challenge_pk was null or undefined when calling challengeStagesList.");var t,a="/challenge/{challenge_pk}/stages/".replace("{challenge_pk}",encodeURIComponent(String(r))),i=j.parse(a,!0);e&&(t=e.baseOptions);var n=E(E({method:"GET"},t),o),s={};if(e&&(e.username||e.password)&&(s.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var u="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;s.Authorization=u}return i.query=E(E(E({},i.query),{}),o.query),delete i.search,n.headers=E(E({},s),o.headers),{url:j.format(i),options:n}},challengeStagesRead:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("challenge_pk","Required parameter challenge_pk was null or undefined when calling challengeStagesRead.");if(null==o)throw new z.RequiredError("id","Required parameter id was null or undefined when calling challengeStagesRead.");var a,i="/challenge/{challenge_pk}/stages/{id}/".replace("{challenge_pk}",encodeURIComponent(String(r))).replace("{id}",encodeURIComponent(String(o))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"GET"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}return n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers),{url:j.format(n),options:s}},challengeStagesSubmissionsCreate:function(r,o,t,a){if(void 0===a&&(a={}),null==r)throw new z.RequiredError("challenge_pk","Required parameter challenge_pk was null or undefined when calling challengeStagesSubmissionsCreate.");if(null==o)throw new z.RequiredError("stage_pk","Required parameter stage_pk was null or undefined when calling challengeStagesSubmissionsCreate.");if(null==t)throw new z.RequiredError("data","Required parameter data was null or undefined when calling challengeStagesSubmissionsCreate.");var i,n="/challenge/{challenge_pk}/stages/{stage_pk}/submissions/".replace("{challenge_pk}",encodeURIComponent(String(r))).replace("{stage_pk}",encodeURIComponent(String(o))),s=j.parse(n,!0);e&&(i=e.baseOptions);var u=E(E({method:"POST"},i),a),p={};if(e&&(e.username||e.password)&&(p.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var c="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;p.Authorization=c}p["Content-Type"]="application/json",s.query=E(E(E({},s.query),{}),a.query),delete s.search,u.headers=E(E({},p),a.headers);var l="string"!=typeof t||"application/json"===u.headers["Content-Type"];return u.data=l?JSON.stringify(void 0!==t?t:{}):t||"",{url:j.format(s),options:u}},challengeStagesSubmissionsList:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("challenge_pk","Required parameter challenge_pk was null or undefined when calling challengeStagesSubmissionsList.");if(null==o)throw new z.RequiredError("stage_pk","Required parameter stage_pk was null or undefined when calling challengeStagesSubmissionsList.");var a,i="/challenge/{challenge_pk}/stages/{stage_pk}/submissions/".replace("{challenge_pk}",encodeURIComponent(String(r))).replace("{stage_pk}",encodeURIComponent(String(o))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"GET"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}return n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers),{url:j.format(n),options:s}},challengeStagesSubmissionsPartialUpdate:function(r,o,t,a,i){if(void 0===i&&(i={}),null==r)throw new z.RequiredError("challenge_pk","Required parameter challenge_pk was null or undefined when calling challengeStagesSubmissionsPartialUpdate.");if(null==o)throw new z.RequiredError("id","Required parameter id was null or undefined when calling challengeStagesSubmissionsPartialUpdate.");if(null==t)throw new z.RequiredError("stage_pk","Required parameter stage_pk was null or undefined when calling challengeStagesSubmissionsPartialUpdate.");if(null==a)throw new z.RequiredError("data","Required parameter data was null or undefined when calling challengeStagesSubmissionsPartialUpdate.");var n,s="/challenge/{challenge_pk}/stages/{stage_pk}/submissions/{id}/".replace("{challenge_pk}",encodeURIComponent(String(r))).replace("{id}",encodeURIComponent(String(o))).replace("{stage_pk}",encodeURIComponent(String(t))),u=j.parse(s,!0);e&&(n=e.baseOptions);var p=E(E({method:"PATCH"},n),i),c={};if(e&&(e.username||e.password)&&(c.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var l="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;c.Authorization=l}c["Content-Type"]="application/json",u.query=E(E(E({},u.query),{}),i.query),delete u.search,p.headers=E(E({},c),i.headers);var d="string"!=typeof a||"application/json"===p.headers["Content-Type"];return p.data=d?JSON.stringify(void 0!==a?a:{}):a||"",{url:j.format(u),options:p}},challengeStagesSubmissionsRead:function(r,o,t,a){if(void 0===a&&(a={}),null==r)throw new z.RequiredError("challenge_pk","Required parameter challenge_pk was null or undefined when calling challengeStagesSubmissionsRead.");if(null==o)throw new z.RequiredError("id","Required parameter id was null or undefined when calling challengeStagesSubmissionsRead.");if(null==t)throw new z.RequiredError("stage_pk","Required parameter stage_pk was null or undefined when calling challengeStagesSubmissionsRead.");var i,n="/challenge/{challenge_pk}/stages/{stage_pk}/submissions/{id}/".replace("{challenge_pk}",encodeURIComponent(String(r))).replace("{id}",encodeURIComponent(String(o))).replace("{stage_pk}",encodeURIComponent(String(t))),s=j.parse(n,!0);e&&(i=e.baseOptions);var u=E(E({method:"GET"},i),a),p={};if(e&&(e.username||e.password)&&(p.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var c="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;p.Authorization=c}return s.query=E(E(E({},s.query),{}),a.query),delete s.search,u.headers=E(E({},p),a.headers),{url:j.format(s),options:u}},challengeStagesSubmissionsUpdate:function(r,o,t,a,i){if(void 0===i&&(i={}),null==r)throw new z.RequiredError("challenge_pk","Required parameter challenge_pk was null or undefined when calling challengeStagesSubmissionsUpdate.");if(null==o)throw new z.RequiredError("id","Required parameter id was null or undefined when calling challengeStagesSubmissionsUpdate.");if(null==t)throw new z.RequiredError("stage_pk","Required parameter stage_pk was null or undefined when calling challengeStagesSubmissionsUpdate.");if(null==a)throw new z.RequiredError("data","Required parameter data was null or undefined when calling challengeStagesSubmissionsUpdate.");var n,s="/challenge/{challenge_pk}/stages/{stage_pk}/submissions/{id}/".replace("{challenge_pk}",encodeURIComponent(String(r))).replace("{id}",encodeURIComponent(String(o))).replace("{stage_pk}",encodeURIComponent(String(t))),u=j.parse(s,!0);e&&(n=e.baseOptions);var p=E(E({method:"PUT"},n),i),c={};if(e&&(e.username||e.password)&&(c.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var l="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;c.Authorization=l}c["Content-Type"]="application/json",u.query=E(E(E({},u.query),{}),i.query),delete u.search,p.headers=E(E({},c),i.headers);var d="string"!=typeof a||"application/json"===p.headers["Content-Type"];return p.data=d?JSON.stringify(void 0!==a?a:{}):a||"",{url:j.format(u),options:p}},challengeSubmissionsList:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("challenge_pk","Required parameter challenge_pk was null or undefined when calling challengeSubmissionsList.");var t,a="/challenge/{challenge_pk}/submissions/".replace("{challenge_pk}",encodeURIComponent(String(r))),i=j.parse(a,!0);e&&(t=e.baseOptions);var n=E(E({method:"GET"},t),o),s={};if(e&&(e.username||e.password)&&(s.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var u="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;s.Authorization=u}return i.query=E(E(E({},i.query),{}),o.query),delete i.search,n.headers=E(E({},s),o.headers),{url:j.format(i),options:n}},challengeSubmit:function(r,o,t,a){if(void 0===a&&(a={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling challengeSubmit.");if(null==o)throw new z.RequiredError("file","Required parameter file was null or undefined when calling challengeSubmit.");if(null==t)throw new z.RequiredError("description","Required parameter description was null or undefined when calling challengeSubmit.");var i,n="/challenge/{id}/submit/".replace("{id}",encodeURIComponent(String(r))),s=j.parse(n,!0);e&&(i=e.baseOptions);var u=E(E({method:"POST"},i),a),p={},c=new FormData;if(e&&(e.username||e.password)&&(p.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var l="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;p.Authorization=l}return void 0!==o&&c.append("file",o),void 0!==t&&c.append("description",t),p["Content-Type"]="multipart/form-data",s.query=E(E(E({},s.query),{}),a.query),delete s.search,u.headers=E(E({},p),a.headers),u.data=c,{url:j.format(s),options:u}}}},r.ChallengeApiFp=function(e){return{challengeAgree:function(o,t){var a=r.ChallengeApiAxiosParamCreator(e).challengeAgree(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}},challengeGroupInvite:function(o,t,a,i){var n=r.ChallengeApiAxiosParamCreator(e).challengeGroupInvite(o,t,a,i);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},n.options),{url:r+n.url});return e.request(o)}},challengeGroupList:function(o,t){var a=r.ChallengeApiAxiosParamCreator(e).challengeGroupList(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}},challengeGroupPartialUpdate:function(o,t,a,i,n,s){var u=r.ChallengeApiAxiosParamCreator(e).challengeGroupPartialUpdate(o,t,a,i,n,s);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},u.options),{url:r+u.url});return e.request(o)}},challengeGroupRatingCreate:function(o,t,a,i){var n=r.ChallengeApiAxiosParamCreator(e).challengeGroupRatingCreate(o,t,a,i);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},n.options),{url:r+n.url});return e.request(o)}},challengeGroupRatingList:function(o,t,a){var i=r.ChallengeApiAxiosParamCreator(e).challengeGroupRatingList(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},challengeGroupRead:function(o,t,a){var i=r.ChallengeApiAxiosParamCreator(e).challengeGroupRead(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},challengeGroupResults:function(o,t,a,i,n){var s=r.ChallengeApiAxiosParamCreator(e).challengeGroupResults(o,t,a,i,n);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},s.options),{url:r+s.url});return e.request(o)}},challengeGroupUninvite:function(o,t,a,i){var n=r.ChallengeApiAxiosParamCreator(e).challengeGroupUninvite(o,t,a,i);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},n.options),{url:r+n.url});return e.request(o)}},challengeGroupUpdate:function(o,t,a,i,n,s){var u=r.ChallengeApiAxiosParamCreator(e).challengeGroupUpdate(o,t,a,i,n,s);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},u.options),{url:r+u.url});return e.request(o)}},challengeGroupsList:function(o,t){var a=r.ChallengeApiAxiosParamCreator(e).challengeGroupsList(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}},challengeGroupsRead:function(o,t,a){var i=r.ChallengeApiAxiosParamCreator(e).challengeGroupsRead(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},challengeKeysCreate:function(o,t,a){var i=r.ChallengeApiAxiosParamCreator(e).challengeKeysCreate(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},challengeKeysDelete:function(o,t,a){var i=r.ChallengeApiAxiosParamCreator(e).challengeKeysDelete(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},challengeKeysRead:function(o,t){var a=r.ChallengeApiAxiosParamCreator(e).challengeKeysRead(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}},challengeLeaderboardsList:function(o,t){var a=r.ChallengeApiAxiosParamCreator(e).challengeLeaderboardsList(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}},challengeList:function(o,t,a){var i=r.ChallengeApiAxiosParamCreator(e).challengeList(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},challengeMatchesAgainst:function(o,t,a){var i=r.ChallengeApiAxiosParamCreator(e).challengeMatchesAgainst(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},challengeMatchesArtifactsCreate:function(o,t,a,i,n,s){var u=r.ChallengeApiAxiosParamCreator(e).challengeMatchesArtifactsCreate(o,t,a,i,n,s);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},u.options),{url:r+u.url});return e.request(o)}},challengeMatchesArtifactsList:function(o,t,a){var i=r.ChallengeApiAxiosParamCreator(e).challengeMatchesArtifactsList(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},challengeMatchesArtifactsRead:function(o,t,a,i){var n=r.ChallengeApiAxiosParamCreator(e).challengeMatchesArtifactsRead(o,t,a,i);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},n.options),{url:r+n.url});return e.request(o)}},challengeMatchesCreate:function(o,t,a){var i=r.ChallengeApiAxiosParamCreator(e).challengeMatchesCreate(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},challengeMatchesDelete:function(o,t,a){var i=r.ChallengeApiAxiosParamCreator(e).challengeMatchesDelete(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},challengeMatchesList:function(o,t,a,i,n){var s=r.ChallengeApiAxiosParamCreator(e).challengeMatchesList(o,t,a,i,n);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},s.options),{url:r+s.url});return e.request(o)}},challengeMatchesPartialUpdate:function(o,t,a,i){var n=r.ChallengeApiAxiosParamCreator(e).challengeMatchesPartialUpdate(o,t,a,i);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},n.options),{url:r+n.url});return e.request(o)}},challengeMatchesRead:function(o,t,a){var i=r.ChallengeApiAxiosParamCreator(e).challengeMatchesRead(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},challengeMatchesRun:function(o,t,a){var i=r.ChallengeApiAxiosParamCreator(e).challengeMatchesRun(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},challengeMatchesUpdate:function(o,t,a,i){var n=r.ChallengeApiAxiosParamCreator(e).challengeMatchesUpdate(o,t,a,i);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},n.options),{url:r+n.url});return e.request(o)}},challengeMergeRequestsAccept:function(o,t,a){var i=r.ChallengeApiAxiosParamCreator(e).challengeMergeRequestsAccept(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},challengeMergeRequestsCreate:function(o,t,a){var i=r.ChallengeApiAxiosParamCreator(e).challengeMergeRequestsCreate(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},challengeMergeRequestsDelete:function(o,t,a){var i=r.ChallengeApiAxiosParamCreator(e).challengeMergeRequestsDelete(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},challengeMergeRequestsList:function(o,t,a){var i=r.ChallengeApiAxiosParamCreator(e).challengeMergeRequestsList(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},challengeMergeRequestsRead:function(o,t,a){var i=r.ChallengeApiAxiosParamCreator(e).challengeMergeRequestsRead(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},challengeMergeRequestsReject:function(o,t,a){var i=r.ChallengeApiAxiosParamCreator(e).challengeMergeRequestsReject(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},challengePrizesList:function(o,t){var a=r.ChallengeApiAxiosParamCreator(e).challengePrizesList(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}},challengeProjectsCreate:function(o,t,a){var i=r.ChallengeApiAxiosParamCreator(e).challengeProjectsCreate(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},challengeProjectsList:function(o,t){var a=r.ChallengeApiAxiosParamCreator(e).challengeProjectsList(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}},challengeProjectsOpen:function(o,t){var a=r.ChallengeApiAxiosParamCreator(e).challengeProjectsOpen(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}},challengeRead:function(o,t){var a=r.ChallengeApiAxiosParamCreator(e).challengeRead(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}},challengeStagesLeaderboardList:function(o,t,a,i,n){var s=r.ChallengeApiAxiosParamCreator(e).challengeStagesLeaderboardList(o,t,a,i,n);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},s.options),{url:r+s.url});return e.request(o)}},challengeStagesList:function(o,t){var a=r.ChallengeApiAxiosParamCreator(e).challengeStagesList(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}},challengeStagesRead:function(o,t,a){var i=r.ChallengeApiAxiosParamCreator(e).challengeStagesRead(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},challengeStagesSubmissionsCreate:function(o,t,a,i){var n=r.ChallengeApiAxiosParamCreator(e).challengeStagesSubmissionsCreate(o,t,a,i);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},n.options),{url:r+n.url});return e.request(o)}},challengeStagesSubmissionsList:function(o,t,a){var i=r.ChallengeApiAxiosParamCreator(e).challengeStagesSubmissionsList(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},challengeStagesSubmissionsPartialUpdate:function(o,t,a,i,n){var s=r.ChallengeApiAxiosParamCreator(e).challengeStagesSubmissionsPartialUpdate(o,t,a,i,n);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},s.options),{url:r+s.url});return e.request(o)}},challengeStagesSubmissionsRead:function(o,t,a,i){var n=r.ChallengeApiAxiosParamCreator(e).challengeStagesSubmissionsRead(o,t,a,i);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},n.options),{url:r+n.url});return e.request(o)}},challengeStagesSubmissionsUpdate:function(o,t,a,i,n){var s=r.ChallengeApiAxiosParamCreator(e).challengeStagesSubmissionsUpdate(o,t,a,i,n);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},s.options),{url:r+s.url});return e.request(o)}},challengeSubmissionsList:function(o,t){var a=r.ChallengeApiAxiosParamCreator(e).challengeSubmissionsList(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}},challengeSubmit:function(o,t,a,i){var n=r.ChallengeApiAxiosParamCreator(e).challengeSubmit(o,t,a,i);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},n.options),{url:r+n.url});return e.request(o)}}}},r.ChallengeApiFactory=function(e,o,t){return{challengeAgree:function(a,i){return r.ChallengeApiFp(e).challengeAgree(a,i)(t,o)},challengeGroupInvite:function(a,i,n,s){return r.ChallengeApiFp(e).challengeGroupInvite(a,i,n,s)(t,o)},challengeGroupList:function(a,i){return r.ChallengeApiFp(e).challengeGroupList(a,i)(t,o)},challengeGroupPartialUpdate:function(a,i,n,s,u,p){return r.ChallengeApiFp(e).challengeGroupPartialUpdate(a,i,n,s,u,p)(t,o)},challengeGroupRatingCreate:function(a,i,n,s){return r.ChallengeApiFp(e).challengeGroupRatingCreate(a,i,n,s)(t,o)},challengeGroupRatingList:function(a,i,n){return r.ChallengeApiFp(e).challengeGroupRatingList(a,i,n)(t,o)},challengeGroupRead:function(a,i,n){return r.ChallengeApiFp(e).challengeGroupRead(a,i,n)(t,o)},challengeGroupResults:function(a,i,n,s,u){return r.ChallengeApiFp(e).challengeGroupResults(a,i,n,s,u)(t,o)},challengeGroupUninvite:function(a,i,n,s){return r.ChallengeApiFp(e).challengeGroupUninvite(a,i,n,s)(t,o)},challengeGroupUpdate:function(a,i,n,s,u,p){return r.ChallengeApiFp(e).challengeGroupUpdate(a,i,n,s,u,p)(t,o)},challengeGroupsList:function(a,i){return r.ChallengeApiFp(e).challengeGroupsList(a,i)(t,o)},challengeGroupsRead:function(a,i,n){return r.ChallengeApiFp(e).challengeGroupsRead(a,i,n)(t,o)},challengeKeysCreate:function(a,i,n){return r.ChallengeApiFp(e).challengeKeysCreate(a,i,n)(t,o)},challengeKeysDelete:function(a,i,n){return r.ChallengeApiFp(e).challengeKeysDelete(a,i,n)(t,o)},challengeKeysRead:function(a,i){return r.ChallengeApiFp(e).challengeKeysRead(a,i)(t,o)},challengeLeaderboardsList:function(a,i){return r.ChallengeApiFp(e).challengeLeaderboardsList(a,i)(t,o)},challengeList:function(a,i,n){return r.ChallengeApiFp(e).challengeList(a,i,n)(t,o)},challengeMatchesAgainst:function(a,i,n){return r.ChallengeApiFp(e).challengeMatchesAgainst(a,i,n)(t,o)},challengeMatchesArtifactsCreate:function(a,i,n,s,u,p){return r.ChallengeApiFp(e).challengeMatchesArtifactsCreate(a,i,n,s,u,p)(t,o)},challengeMatchesArtifactsList:function(a,i,n){return r.ChallengeApiFp(e).challengeMatchesArtifactsList(a,i,n)(t,o)},challengeMatchesArtifactsRead:function(a,i,n,s){return r.ChallengeApiFp(e).challengeMatchesArtifactsRead(a,i,n,s)(t,o)},challengeMatchesCreate:function(a,i,n){return r.ChallengeApiFp(e).challengeMatchesCreate(a,i,n)(t,o)},challengeMatchesDelete:function(a,i,n){return r.ChallengeApiFp(e).challengeMatchesDelete(a,i,n)(t,o)},challengeMatchesList:function(a,i,n,s,u){return r.ChallengeApiFp(e).challengeMatchesList(a,i,n,s,u)(t,o)},challengeMatchesPartialUpdate:function(a,i,n,s){return r.ChallengeApiFp(e).challengeMatchesPartialUpdate(a,i,n,s)(t,o)},challengeMatchesRead:function(a,i,n){return r.ChallengeApiFp(e).challengeMatchesRead(a,i,n)(t,o)},challengeMatchesRun:function(a,i,n){return r.ChallengeApiFp(e).challengeMatchesRun(a,i,n)(t,o)},challengeMatchesUpdate:function(a,i,n,s){return r.ChallengeApiFp(e).challengeMatchesUpdate(a,i,n,s)(t,o)},challengeMergeRequestsAccept:function(a,i,n){return r.ChallengeApiFp(e).challengeMergeRequestsAccept(a,i,n)(t,o)},challengeMergeRequestsCreate:function(a,i,n){return r.ChallengeApiFp(e).challengeMergeRequestsCreate(a,i,n)(t,o)},challengeMergeRequestsDelete:function(a,i,n){return r.ChallengeApiFp(e).challengeMergeRequestsDelete(a,i,n)(t,o)},challengeMergeRequestsList:function(a,i,n){return r.ChallengeApiFp(e).challengeMergeRequestsList(a,i,n)(t,o)},challengeMergeRequestsRead:function(a,i,n){return r.ChallengeApiFp(e).challengeMergeRequestsRead(a,i,n)(t,o)},challengeMergeRequestsReject:function(a,i,n){return r.ChallengeApiFp(e).challengeMergeRequestsReject(a,i,n)(t,o)},challengePrizesList:function(a,i){return r.ChallengeApiFp(e).challengePrizesList(a,i)(t,o)},challengeProjectsCreate:function(a,i,n){return r.ChallengeApiFp(e).challengeProjectsCreate(a,i,n)(t,o)},challengeProjectsList:function(a,i){return r.ChallengeApiFp(e).challengeProjectsList(a,i)(t,o)},challengeProjectsOpen:function(a,i){return r.ChallengeApiFp(e).challengeProjectsOpen(a,i)(t,o)},challengeRead:function(a,i){return r.ChallengeApiFp(e).challengeRead(a,i)(t,o)},challengeStagesLeaderboardList:function(a,i,n,s,u){return r.ChallengeApiFp(e).challengeStagesLeaderboardList(a,i,n,s,u)(t,o)},challengeStagesList:function(a,i){return r.ChallengeApiFp(e).challengeStagesList(a,i)(t,o)},challengeStagesRead:function(a,i,n){return r.ChallengeApiFp(e).challengeStagesRead(a,i,n)(t,o)},challengeStagesSubmissionsCreate:function(a,i,n,s){return r.ChallengeApiFp(e).challengeStagesSubmissionsCreate(a,i,n,s)(t,o)},challengeStagesSubmissionsList:function(a,i,n){return r.ChallengeApiFp(e).challengeStagesSubmissionsList(a,i,n)(t,o)},challengeStagesSubmissionsPartialUpdate:function(a,i,n,s,u){return r.ChallengeApiFp(e).challengeStagesSubmissionsPartialUpdate(a,i,n,s,u)(t,o)},challengeStagesSubmissionsRead:function(a,i,n,s){return r.ChallengeApiFp(e).challengeStagesSubmissionsRead(a,i,n,s)(t,o)},challengeStagesSubmissionsUpdate:function(a,i,n,s,u){return r.ChallengeApiFp(e).challengeStagesSubmissionsUpdate(a,i,n,s,u)(t,o)},challengeSubmissionsList:function(a,i){return r.ChallengeApiFp(e).challengeSubmissionsList(a,i)(t,o)},challengeSubmit:function(a,i,n,s){return r.ChallengeApiFp(e).challengeSubmit(a,i,n,s)(t,o)}}};var I=function(e){function o(){return null!==e&&e.apply(this,arguments)||this}return K(o,e),o.prototype.challengeAgree=function(e,o){return r.ChallengeApiFp(this.configuration).challengeAgree(e,o)(this.axios,this.basePath)},o.prototype.challengeGroupInvite=function(e,o,t,a){return r.ChallengeApiFp(this.configuration).challengeGroupInvite(e,o,t,a)(this.axios,this.basePath)},o.prototype.challengeGroupList=function(e,o){return r.ChallengeApiFp(this.configuration).challengeGroupList(e,o)(this.axios,this.basePath)},o.prototype.challengeGroupPartialUpdate=function(e,o,t,a,i,n){return r.ChallengeApiFp(this.configuration).challengeGroupPartialUpdate(e,o,t,a,i,n)(this.axios,this.basePath)},o.prototype.challengeGroupRatingCreate=function(e,o,t,a){return r.ChallengeApiFp(this.configuration).challengeGroupRatingCreate(e,o,t,a)(this.axios,this.basePath)},o.prototype.challengeGroupRatingList=function(e,o,t){return r.ChallengeApiFp(this.configuration).challengeGroupRatingList(e,o,t)(this.axios,this.basePath)},o.prototype.challengeGroupRead=function(e,o,t){return r.ChallengeApiFp(this.configuration).challengeGroupRead(e,o,t)(this.axios,this.basePath)},o.prototype.challengeGroupResults=function(e,o,t,a,i){return r.ChallengeApiFp(this.configuration).challengeGroupResults(e,o,t,a,i)(this.axios,this.basePath)},o.prototype.challengeGroupUninvite=function(e,o,t,a){return r.ChallengeApiFp(this.configuration).challengeGroupUninvite(e,o,t,a)(this.axios,this.basePath)},o.prototype.challengeGroupUpdate=function(e,o,t,a,i,n){return r.ChallengeApiFp(this.configuration).challengeGroupUpdate(e,o,t,a,i,n)(this.axios,this.basePath)},o.prototype.challengeGroupsList=function(e,o){return r.ChallengeApiFp(this.configuration).challengeGroupsList(e,o)(this.axios,this.basePath)},o.prototype.challengeGroupsRead=function(e,o,t){return r.ChallengeApiFp(this.configuration).challengeGroupsRead(e,o,t)(this.axios,this.basePath)},o.prototype.challengeKeysCreate=function(e,o,t){return r.ChallengeApiFp(this.configuration).challengeKeysCreate(e,o,t)(this.axios,this.basePath)},o.prototype.challengeKeysDelete=function(e,o,t){return r.ChallengeApiFp(this.configuration).challengeKeysDelete(e,o,t)(this.axios,this.basePath)},o.prototype.challengeKeysRead=function(e,o){return r.ChallengeApiFp(this.configuration).challengeKeysRead(e,o)(this.axios,this.basePath)},o.prototype.challengeLeaderboardsList=function(e,o){return r.ChallengeApiFp(this.configuration).challengeLeaderboardsList(e,o)(this.axios,this.basePath)},o.prototype.challengeList=function(e,o,t){return r.ChallengeApiFp(this.configuration).challengeList(e,o,t)(this.axios,this.basePath)},o.prototype.challengeMatchesAgainst=function(e,o,t){return r.ChallengeApiFp(this.configuration).challengeMatchesAgainst(e,o,t)(this.axios,this.basePath)},o.prototype.challengeMatchesArtifactsCreate=function(e,o,t,a,i,n){return r.ChallengeApiFp(this.configuration).challengeMatchesArtifactsCreate(e,o,t,a,i,n)(this.axios,this.basePath)},o.prototype.challengeMatchesArtifactsList=function(e,o,t){return r.ChallengeApiFp(this.configuration).challengeMatchesArtifactsList(e,o,t)(this.axios,this.basePath)},o.prototype.challengeMatchesArtifactsRead=function(e,o,t,a){return r.ChallengeApiFp(this.configuration).challengeMatchesArtifactsRead(e,o,t,a)(this.axios,this.basePath)},o.prototype.challengeMatchesCreate=function(e,o,t){return r.ChallengeApiFp(this.configuration).challengeMatchesCreate(e,o,t)(this.axios,this.basePath)},o.prototype.challengeMatchesDelete=function(e,o,t){return r.ChallengeApiFp(this.configuration).challengeMatchesDelete(e,o,t)(this.axios,this.basePath)},o.prototype.challengeMatchesList=function(e,o,t,a,i){return r.ChallengeApiFp(this.configuration).challengeMatchesList(e,o,t,a,i)(this.axios,this.basePath)},o.prototype.challengeMatchesPartialUpdate=function(e,o,t,a){return r.ChallengeApiFp(this.configuration).challengeMatchesPartialUpdate(e,o,t,a)(this.axios,this.basePath)},o.prototype.challengeMatchesRead=function(e,o,t){return r.ChallengeApiFp(this.configuration).challengeMatchesRead(e,o,t)(this.axios,this.basePath)},o.prototype.challengeMatchesRun=function(e,o,t){return r.ChallengeApiFp(this.configuration).challengeMatchesRun(e,o,t)(this.axios,this.basePath)},o.prototype.challengeMatchesUpdate=function(e,o,t,a){return r.ChallengeApiFp(this.configuration).challengeMatchesUpdate(e,o,t,a)(this.axios,this.basePath)},o.prototype.challengeMergeRequestsAccept=function(e,o,t){return r.ChallengeApiFp(this.configuration).challengeMergeRequestsAccept(e,o,t)(this.axios,this.basePath)},o.prototype.challengeMergeRequestsCreate=function(e,o,t){return r.ChallengeApiFp(this.configuration).challengeMergeRequestsCreate(e,o,t)(this.axios,this.basePath)},o.prototype.challengeMergeRequestsDelete=function(e,o,t){return r.ChallengeApiFp(this.configuration).challengeMergeRequestsDelete(e,o,t)(this.axios,this.basePath)},o.prototype.challengeMergeRequestsList=function(e,o,t){return r.ChallengeApiFp(this.configuration).challengeMergeRequestsList(e,o,t)(this.axios,this.basePath)},o.prototype.challengeMergeRequestsRead=function(e,o,t){return r.ChallengeApiFp(this.configuration).challengeMergeRequestsRead(e,o,t)(this.axios,this.basePath)},o.prototype.challengeMergeRequestsReject=function(e,o,t){return r.ChallengeApiFp(this.configuration).challengeMergeRequestsReject(e,o,t)(this.axios,this.basePath)},o.prototype.challengePrizesList=function(e,o){return r.ChallengeApiFp(this.configuration).challengePrizesList(e,o)(this.axios,this.basePath)},o.prototype.challengeProjectsCreate=function(e,o,t){return r.ChallengeApiFp(this.configuration).challengeProjectsCreate(e,o,t)(this.axios,this.basePath)},o.prototype.challengeProjectsList=function(e,o){return r.ChallengeApiFp(this.configuration).challengeProjectsList(e,o)(this.axios,this.basePath)},o.prototype.challengeProjectsOpen=function(e,o){return r.ChallengeApiFp(this.configuration).challengeProjectsOpen(e,o)(this.axios,this.basePath)},o.prototype.challengeRead=function(e,o){return r.ChallengeApiFp(this.configuration).challengeRead(e,o)(this.axios,this.basePath)},o.prototype.challengeStagesLeaderboardList=function(e,o,t,a,i){return r.ChallengeApiFp(this.configuration).challengeStagesLeaderboardList(e,o,t,a,i)(this.axios,this.basePath)},o.prototype.challengeStagesList=function(e,o){return r.ChallengeApiFp(this.configuration).challengeStagesList(e,o)(this.axios,this.basePath)},o.prototype.challengeStagesRead=function(e,o,t){return r.ChallengeApiFp(this.configuration).challengeStagesRead(e,o,t)(this.axios,this.basePath)},o.prototype.challengeStagesSubmissionsCreate=function(e,o,t,a){return r.ChallengeApiFp(this.configuration).challengeStagesSubmissionsCreate(e,o,t,a)(this.axios,this.basePath)},o.prototype.challengeStagesSubmissionsList=function(e,o,t){return r.ChallengeApiFp(this.configuration).challengeStagesSubmissionsList(e,o,t)(this.axios,this.basePath)},o.prototype.challengeStagesSubmissionsPartialUpdate=function(e,o,t,a,i){return r.ChallengeApiFp(this.configuration).challengeStagesSubmissionsPartialUpdate(e,o,t,a,i)(this.axios,this.basePath)},o.prototype.challengeStagesSubmissionsRead=function(e,o,t,a){return r.ChallengeApiFp(this.configuration).challengeStagesSubmissionsRead(e,o,t,a)(this.axios,this.basePath)},o.prototype.challengeStagesSubmissionsUpdate=function(e,o,t,a,i){return r.ChallengeApiFp(this.configuration).challengeStagesSubmissionsUpdate(e,o,t,a,i)(this.axios,this.basePath)},o.prototype.challengeSubmissionsList=function(e,o){return r.ChallengeApiFp(this.configuration).challengeSubmissionsList(e,o)(this.axios,this.basePath)},o.prototype.challengeSubmit=function(e,o,t,a){return r.ChallengeApiFp(this.configuration).challengeSubmit(e,o,t,a)(this.axios,this.basePath)},o}(z.BaseAPI);r.ChallengeApi=I,r.CheckoutInformationsApiAxiosParamCreator=function(e){return{checkoutInformationsList:function(r){void 0===r&&(r={});var o,t=j.parse("/checkout-informations/",!0);e&&(o=e.baseOptions);var a=E(E({method:"GET"},o),r),i={};if(e&&(e.username||e.password)&&(i.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var n="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;i.Authorization=n}return t.query=E(E(E({},t.query),{}),r.query),delete t.search,a.headers=E(E({},i),r.headers),{url:j.format(t),options:a}},checkoutInformationsRead:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling checkoutInformationsRead.");var t,a="/checkout-informations/{id}/".replace("{id}",encodeURIComponent(String(r))),i=j.parse(a,!0);e&&(t=e.baseOptions);var n=E(E({method:"GET"},t),o),s={};if(e&&(e.username||e.password)&&(s.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var u="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;s.Authorization=u}return i.query=E(E(E({},i.query),{}),o.query),delete i.search,n.headers=E(E({},s),o.headers),{url:j.format(i),options:n}}}},r.CheckoutInformationsApiFp=function(e){return{checkoutInformationsList:function(o){var t=r.CheckoutInformationsApiAxiosParamCreator(e).checkoutInformationsList(o);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},t.options),{url:r+t.url});return e.request(o)}},checkoutInformationsRead:function(o,t){var a=r.CheckoutInformationsApiAxiosParamCreator(e).checkoutInformationsRead(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}}}},r.CheckoutInformationsApiFactory=function(e,o,t){return{checkoutInformationsList:function(a){return r.CheckoutInformationsApiFp(e).checkoutInformationsList(a)(t,o)},checkoutInformationsRead:function(a,i){return r.CheckoutInformationsApiFp(e).checkoutInformationsRead(a,i)(t,o)}}};var x=function(e){function o(){return null!==e&&e.apply(this,arguments)||this}return K(o,e),o.prototype.checkoutInformationsList=function(e){return r.CheckoutInformationsApiFp(this.configuration).checkoutInformationsList(e)(this.axios,this.basePath)},o.prototype.checkoutInformationsRead=function(e,o){return r.CheckoutInformationsApiFp(this.configuration).checkoutInformationsRead(e,o)(this.axios,this.basePath)},o}(z.BaseAPI);r.CheckoutInformationsApi=x,r.ClassroomApiAxiosParamCreator=function(e){return{classroomCompetitionsList:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("classroom_slug","Required parameter classroom_slug was null or undefined when calling classroomCompetitionsList.");var t,a="/classroom/{classroom_slug}/competitions/".replace("{classroom_slug}",encodeURIComponent(String(r))),i=j.parse(a,!0);e&&(t=e.baseOptions);var n=E(E({method:"GET"},t),o),s={};if(e&&(e.username||e.password)&&(s.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var u="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;s.Authorization=u}return i.query=E(E(E({},i.query),{}),o.query),delete i.search,n.headers=E(E({},s),o.headers),{url:j.format(i),options:n}},classroomCompetitionsRead:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("classroom_slug","Required parameter classroom_slug was null or undefined when calling classroomCompetitionsRead.");if(null==o)throw new z.RequiredError("competition__slug","Required parameter competition__slug was null or undefined when calling classroomCompetitionsRead.");var a,i="/classroom/{classroom_slug}/competitions/{competition__slug}/".replace("{classroom_slug}",encodeURIComponent(String(r))).replace("{competition__slug}",encodeURIComponent(String(o))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"GET"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}return n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers),{url:j.format(n),options:s}},classroomCompetitionsRegisterTeam:function(r,o,t,a){if(void 0===a&&(a={}),null==r)throw new z.RequiredError("classroom_slug","Required parameter classroom_slug was null or undefined when calling classroomCompetitionsRegisterTeam.");if(null==o)throw new z.RequiredError("competition__slug","Required parameter competition__slug was null or undefined when calling classroomCompetitionsRegisterTeam.");if(null==t)throw new z.RequiredError("data","Required parameter data was null or undefined when calling classroomCompetitionsRegisterTeam.");var i,n="/classroom/{classroom_slug}/competitions/{competition__slug}/register_team/".replace("{classroom_slug}",encodeURIComponent(String(r))).replace("{competition__slug}",encodeURIComponent(String(o))),s=j.parse(n,!0);e&&(i=e.baseOptions);var u=E(E({method:"POST"},i),a),p={};if(e&&(e.username||e.password)&&(p.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var c="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;p.Authorization=c}p["Content-Type"]="application/json",s.query=E(E(E({},s.query),{}),a.query),delete s.search,u.headers=E(E({},p),a.headers);var l="string"!=typeof t||"application/json"===u.headers["Content-Type"];return u.data=l?JSON.stringify(void 0!==t?t:{}):t||"",{url:j.format(s),options:u}},classroomCompetitionsRegisterUser:function(r,o,t,a){if(void 0===a&&(a={}),null==r)throw new z.RequiredError("classroom_slug","Required parameter classroom_slug was null or undefined when calling classroomCompetitionsRegisterUser.");if(null==o)throw new z.RequiredError("competition__slug","Required parameter competition__slug was null or undefined when calling classroomCompetitionsRegisterUser.");if(null==t)throw new z.RequiredError("data","Required parameter data was null or undefined when calling classroomCompetitionsRegisterUser.");var i,n="/classroom/{classroom_slug}/competitions/{competition__slug}/register_user/".replace("{classroom_slug}",encodeURIComponent(String(r))).replace("{competition__slug}",encodeURIComponent(String(o))),s=j.parse(n,!0);e&&(i=e.baseOptions);var u=E(E({method:"POST"},i),a),p={};if(e&&(e.username||e.password)&&(p.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var c="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;p.Authorization=c}p["Content-Type"]="application/json",s.query=E(E(E({},s.query),{}),a.query),delete s.search,u.headers=E(E({},p),a.headers);var l="string"!=typeof t||"application/json"===u.headers["Content-Type"];return u.data=l?JSON.stringify(void 0!==t?t:{}):t||"",{url:j.format(s),options:u}},classroomCompetitionsSoloProgressionsDelete:function(r,o,t,a){if(void 0===a&&(a={}),null==r)throw new z.RequiredError("classroom_competition_competition__slug","Required parameter classroom_competition_competition__slug was null or undefined when calling classroomCompetitionsSoloProgressionsDelete.");if(null==o)throw new z.RequiredError("classroom_slug","Required parameter classroom_slug was null or undefined when calling classroomCompetitionsSoloProgressionsDelete.");if(null==t)throw new z.RequiredError("id","Required parameter id was null or undefined when calling classroomCompetitionsSoloProgressionsDelete.");var i,n="/classroom/{classroom_slug}/competitions/{classroom_competition_competition__slug}/solo-progressions/{id}/".replace("{classroom_competition_competition__slug}",encodeURIComponent(String(r))).replace("{classroom_slug}",encodeURIComponent(String(o))).replace("{id}",encodeURIComponent(String(t))),s=j.parse(n,!0);e&&(i=e.baseOptions);var u=E(E({method:"DELETE"},i),a),p={};if(e&&(e.username||e.password)&&(p.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var c="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;p.Authorization=c}return s.query=E(E(E({},s.query),{}),a.query),delete s.search,u.headers=E(E({},p),a.headers),{url:j.format(s),options:u}},classroomCompetitionsSoloProgressionsFinals:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("classroom_competition_competition__slug","Required parameter classroom_competition_competition__slug was null or undefined when calling classroomCompetitionsSoloProgressionsFinals.");if(null==o)throw new z.RequiredError("classroom_slug","Required parameter classroom_slug was null or undefined when calling classroomCompetitionsSoloProgressionsFinals.");var a,i="/classroom/{classroom_slug}/competitions/{classroom_competition_competition__slug}/solo-progressions/finals/".replace("{classroom_competition_competition__slug}",encodeURIComponent(String(r))).replace("{classroom_slug}",encodeURIComponent(String(o))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"GET"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}return n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers),{url:j.format(n),options:s}},classroomCompetitionsSoloProgressionsList:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("classroom_competition_competition__slug","Required parameter classroom_competition_competition__slug was null or undefined when calling classroomCompetitionsSoloProgressionsList.");if(null==o)throw new z.RequiredError("classroom_slug","Required parameter classroom_slug was null or undefined when calling classroomCompetitionsSoloProgressionsList.");var a,i="/classroom/{classroom_slug}/competitions/{classroom_competition_competition__slug}/solo-progressions/".replace("{classroom_competition_competition__slug}",encodeURIComponent(String(r))).replace("{classroom_slug}",encodeURIComponent(String(o))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"GET"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}return n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers),{url:j.format(n),options:s}},classroomCompetitionsSoloProgressionsPreQualification:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("classroom_competition_competition__slug","Required parameter classroom_competition_competition__slug was null or undefined when calling classroomCompetitionsSoloProgressionsPreQualification.");if(null==o)throw new z.RequiredError("classroom_slug","Required parameter classroom_slug was null or undefined when calling classroomCompetitionsSoloProgressionsPreQualification.");var a,i="/classroom/{classroom_slug}/competitions/{classroom_competition_competition__slug}/solo-progressions/pre_qualification/".replace("{classroom_competition_competition__slug}",encodeURIComponent(String(r))).replace("{classroom_slug}",encodeURIComponent(String(o))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"GET"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}return n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers),{url:j.format(n),options:s}},classroomCompetitionsSoloProgressionsQualifiers:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("classroom_competition_competition__slug","Required parameter classroom_competition_competition__slug was null or undefined when calling classroomCompetitionsSoloProgressionsQualifiers.");if(null==o)throw new z.RequiredError("classroom_slug","Required parameter classroom_slug was null or undefined when calling classroomCompetitionsSoloProgressionsQualifiers.");var a,i="/classroom/{classroom_slug}/competitions/{classroom_competition_competition__slug}/solo-progressions/qualifiers/".replace("{classroom_competition_competition__slug}",encodeURIComponent(String(r))).replace("{classroom_slug}",encodeURIComponent(String(o))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"GET"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}return n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers),{url:j.format(n),options:s}},classroomCompetitionsSoloProgressionsRead:function(r,o,t,a){if(void 0===a&&(a={}),null==r)throw new z.RequiredError("classroom_competition_competition__slug","Required parameter classroom_competition_competition__slug was null or undefined when calling classroomCompetitionsSoloProgressionsRead.");if(null==o)throw new z.RequiredError("classroom_slug","Required parameter classroom_slug was null or undefined when calling classroomCompetitionsSoloProgressionsRead.");if(null==t)throw new z.RequiredError("id","Required parameter id was null or undefined when calling classroomCompetitionsSoloProgressionsRead.");var i,n="/classroom/{classroom_slug}/competitions/{classroom_competition_competition__slug}/solo-progressions/{id}/".replace("{classroom_competition_competition__slug}",encodeURIComponent(String(r))).replace("{classroom_slug}",encodeURIComponent(String(o))).replace("{id}",encodeURIComponent(String(t))),s=j.parse(n,!0);e&&(i=e.baseOptions);var u=E(E({method:"GET"},i),a),p={};if(e&&(e.username||e.password)&&(p.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var c="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;p.Authorization=c}return s.query=E(E(E({},s.query),{}),a.query),delete s.search,u.headers=E(E({},p),a.headers),{url:j.format(s),options:u}},classroomCompetitionsTeamProgressionsDelete:function(r,o,t,a){if(void 0===a&&(a={}),null==r)throw new z.RequiredError("classroom_competition_competition__slug","Required parameter classroom_competition_competition__slug was null or undefined when calling classroomCompetitionsTeamProgressionsDelete.");if(null==o)throw new z.RequiredError("classroom_slug","Required parameter classroom_slug was null or undefined when calling classroomCompetitionsTeamProgressionsDelete.");if(null==t)throw new z.RequiredError("id","Required parameter id was null or undefined when calling classroomCompetitionsTeamProgressionsDelete.");var i,n="/classroom/{classroom_slug}/competitions/{classroom_competition_competition__slug}/team-progressions/{id}/".replace("{classroom_competition_competition__slug}",encodeURIComponent(String(r))).replace("{classroom_slug}",encodeURIComponent(String(o))).replace("{id}",encodeURIComponent(String(t))),s=j.parse(n,!0);e&&(i=e.baseOptions);var u=E(E({method:"DELETE"},i),a),p={};if(e&&(e.username||e.password)&&(p.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var c="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;p.Authorization=c}return s.query=E(E(E({},s.query),{}),a.query),delete s.search,u.headers=E(E({},p),a.headers),{url:j.format(s),options:u}},classroomCompetitionsTeamProgressionsFinals:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("classroom_competition_competition__slug","Required parameter classroom_competition_competition__slug was null or undefined when calling classroomCompetitionsTeamProgressionsFinals.");if(null==o)throw new z.RequiredError("classroom_slug","Required parameter classroom_slug was null or undefined when calling classroomCompetitionsTeamProgressionsFinals.");var a,i="/classroom/{classroom_slug}/competitions/{classroom_competition_competition__slug}/team-progressions/finals/".replace("{classroom_competition_competition__slug}",encodeURIComponent(String(r))).replace("{classroom_slug}",encodeURIComponent(String(o))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"GET"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}return n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers),{url:j.format(n),options:s}},classroomCompetitionsTeamProgressionsList:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("classroom_competition_competition__slug","Required parameter classroom_competition_competition__slug was null or undefined when calling classroomCompetitionsTeamProgressionsList.");if(null==o)throw new z.RequiredError("classroom_slug","Required parameter classroom_slug was null or undefined when calling classroomCompetitionsTeamProgressionsList.");var a,i="/classroom/{classroom_slug}/competitions/{classroom_competition_competition__slug}/team-progressions/".replace("{classroom_competition_competition__slug}",encodeURIComponent(String(r))).replace("{classroom_slug}",encodeURIComponent(String(o))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"GET"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}return n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers),{url:j.format(n),options:s}},classroomCompetitionsTeamProgressionsPreQualification:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("classroom_competition_competition__slug","Required parameter classroom_competition_competition__slug was null or undefined when calling classroomCompetitionsTeamProgressionsPreQualification.");if(null==o)throw new z.RequiredError("classroom_slug","Required parameter classroom_slug was null or undefined when calling classroomCompetitionsTeamProgressionsPreQualification.");var a,i="/classroom/{classroom_slug}/competitions/{classroom_competition_competition__slug}/team-progressions/pre_qualification/".replace("{classroom_competition_competition__slug}",encodeURIComponent(String(r))).replace("{classroom_slug}",encodeURIComponent(String(o))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"GET"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}return n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers),{url:j.format(n),options:s}},classroomCompetitionsTeamProgressionsQualifiers:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("classroom_competition_competition__slug","Required parameter classroom_competition_competition__slug was null or undefined when calling classroomCompetitionsTeamProgressionsQualifiers.");if(null==o)throw new z.RequiredError("classroom_slug","Required parameter classroom_slug was null or undefined when calling classroomCompetitionsTeamProgressionsQualifiers.");var a,i="/classroom/{classroom_slug}/competitions/{classroom_competition_competition__slug}/team-progressions/qualifiers/".replace("{classroom_competition_competition__slug}",encodeURIComponent(String(r))).replace("{classroom_slug}",encodeURIComponent(String(o))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"GET"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}return n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers),{url:j.format(n),options:s}},classroomCompetitionsTeamProgressionsRead:function(r,o,t,a){if(void 0===a&&(a={}),null==r)throw new z.RequiredError("classroom_competition_competition__slug","Required parameter classroom_competition_competition__slug was null or undefined when calling classroomCompetitionsTeamProgressionsRead.");if(null==o)throw new z.RequiredError("classroom_slug","Required parameter classroom_slug was null or undefined when calling classroomCompetitionsTeamProgressionsRead.");if(null==t)throw new z.RequiredError("id","Required parameter id was null or undefined when calling classroomCompetitionsTeamProgressionsRead.");var i,n="/classroom/{classroom_slug}/competitions/{classroom_competition_competition__slug}/team-progressions/{id}/".replace("{classroom_competition_competition__slug}",encodeURIComponent(String(r))).replace("{classroom_slug}",encodeURIComponent(String(o))).replace("{id}",encodeURIComponent(String(t))),s=j.parse(n,!0);e&&(i=e.baseOptions);var u=E(E({method:"GET"},i),a),p={};if(e&&(e.username||e.password)&&(p.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var c="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;p.Authorization=c}return s.query=E(E(E({},s.query),{}),a.query),delete s.search,u.headers=E(E({},p),a.headers),{url:j.format(s),options:u}},classroomCoursesList:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("classroom_slug","Required parameter classroom_slug was null or undefined when calling classroomCoursesList.");var t,a="/classroom/{classroom_slug}/courses/".replace("{classroom_slug}",encodeURIComponent(String(r))),i=j.parse(a,!0);e&&(t=e.baseOptions);var n=E(E({method:"GET"},t),o),s={};if(e&&(e.username||e.password)&&(s.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var u="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;s.Authorization=u}return i.query=E(E(E({},i.query),{}),o.query),delete i.search,n.headers=E(E({},s),o.headers),{url:j.format(i),options:n}},classroomCoursesLockLecture:function(r,o,t,a){if(void 0===a&&(a={}),null==r)throw new z.RequiredError("classroom_slug","Required parameter classroom_slug was null or undefined when calling classroomCoursesLockLecture.");if(null==o)throw new z.RequiredError("course__slug","Required parameter course__slug was null or undefined when calling classroomCoursesLockLecture.");if(null==t)throw new z.RequiredError("data","Required parameter data was null or undefined when calling classroomCoursesLockLecture.");var i,n="/classroom/{classroom_slug}/courses/{course__slug}/lock_lecture/".replace("{classroom_slug}",encodeURIComponent(String(r))).replace("{course__slug}",encodeURIComponent(String(o))),s=j.parse(n,!0);e&&(i=e.baseOptions);var u=E(E({method:"POST"},i),a),p={};if(e&&(e.username||e.password)&&(p.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var c="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;p.Authorization=c}p["Content-Type"]="application/json",s.query=E(E(E({},s.query),{}),a.query),delete s.search,u.headers=E(E({},p),a.headers);var l="string"!=typeof t||"application/json"===u.headers["Content-Type"];return u.data=l?JSON.stringify(void 0!==t?t:{}):t||"",{url:j.format(s),options:u}},classroomCoursesParticipantProjectsReport:function(r,o,t,a,i,n,s){if(void 0===s&&(s={}),null==r)throw new z.RequiredError("classroom_course_course__slug","Required parameter classroom_course_course__slug was null or undefined when calling classroomCoursesParticipantProjectsReport.");if(null==o)throw new z.RequiredError("classroom_slug","Required parameter classroom_slug was null or undefined when calling classroomCoursesParticipantProjectsReport.");var u,p="/classroom/{classroom_slug}/courses/{classroom_course_course__slug}/participant-projects/report/".replace("{classroom_course_course__slug}",encodeURIComponent(String(r))).replace("{classroom_slug}",encodeURIComponent(String(o))),c=j.parse(p,!0);e&&(u=e.baseOptions);var l=E(E({method:"GET"},u),s),d={},h={};if(e&&(e.username||e.password)&&(d.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var m="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;d.Authorization=m}return void 0!==t&&(h.lecture=t),void 0!==a&&(h.fullname=a),void 0!==i&&(h.page=i),void 0!==n&&(h.page_size=n),c.query=E(E(E({},c.query),h),s.query),delete c.search,l.headers=E(E({},d),s.headers),{url:j.format(c),options:l}},classroomCoursesParticipantProjectsReportByCourse:function(r,o,t,a,i,n,s){if(void 0===s&&(s={}),null==r)throw new z.RequiredError("classroom_course_course__slug","Required parameter classroom_course_course__slug was null or undefined when calling classroomCoursesParticipantProjectsReportByCourse.");if(null==o)throw new z.RequiredError("classroom_slug","Required parameter classroom_slug was null or undefined when calling classroomCoursesParticipantProjectsReportByCourse.");var u,p="/classroom/{classroom_slug}/courses/{classroom_course_course__slug}/participant-projects/report_by_course/".replace("{classroom_course_course__slug}",encodeURIComponent(String(r))).replace("{classroom_slug}",encodeURIComponent(String(o))),c=j.parse(p,!0);e&&(u=e.baseOptions);var l=E(E({method:"GET"},u),s),d={},h={};if(e&&(e.username||e.password)&&(d.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var m="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;d.Authorization=m}return void 0!==t&&(h.lecture=t),void 0!==a&&(h.fullname=a),void 0!==i&&(h.page=i),void 0!==n&&(h.page_size=n),c.query=E(E(E({},c.query),h),s.query),delete c.search,l.headers=E(E({},d),s.headers),{url:j.format(c),options:l}},classroomCoursesProjectsList:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("classroom_course_course__slug","Required parameter classroom_course_course__slug was null or undefined when calling classroomCoursesProjectsList.");if(null==o)throw new z.RequiredError("classroom_slug","Required parameter classroom_slug was null or undefined when calling classroomCoursesProjectsList.");var a,i="/classroom/{classroom_slug}/courses/{classroom_course_course__slug}/projects/".replace("{classroom_course_course__slug}",encodeURIComponent(String(r))).replace("{classroom_slug}",encodeURIComponent(String(o))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"GET"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}return n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers),{url:j.format(n),options:s}},classroomCoursesProjectsOpen:function(r,o,t,a){if(void 0===a&&(a={}),null==r)throw new z.RequiredError("classroom_course_course__slug","Required parameter classroom_course_course__slug was null or undefined when calling classroomCoursesProjectsOpen.");if(null==o)throw new z.RequiredError("classroom_slug","Required parameter classroom_slug was null or undefined when calling classroomCoursesProjectsOpen.");if(null==t)throw new z.RequiredError("id","Required parameter id was null or undefined when calling classroomCoursesProjectsOpen.");var i,n="/classroom/{classroom_slug}/courses/{classroom_course_course__slug}/projects/{id}/open/".replace("{classroom_course_course__slug}",encodeURIComponent(String(r))).replace("{classroom_slug}",encodeURIComponent(String(o))).replace("{id}",encodeURIComponent(String(t))),s=j.parse(n,!0);e&&(i=e.baseOptions);var u=E(E({method:"POST"},i),a),p={};if(e&&(e.username||e.password)&&(p.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var c="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;p.Authorization=c}return s.query=E(E(E({},s.query),{}),a.query),delete s.search,u.headers=E(E({},p),a.headers),{url:j.format(s),options:u}},classroomCoursesProjectsPreview:function(r,o,t,a){if(void 0===a&&(a={}),null==r)throw new z.RequiredError("classroom_course_course__slug","Required parameter classroom_course_course__slug was null or undefined when calling classroomCoursesProjectsPreview.");if(null==o)throw new z.RequiredError("classroom_slug","Required parameter classroom_slug was null or undefined when calling classroomCoursesProjectsPreview.");if(null==t)throw new z.RequiredError("data","Required parameter data was null or undefined when calling classroomCoursesProjectsPreview.");var i,n="/classroom/{classroom_slug}/courses/{classroom_course_course__slug}/projects/preview/".replace("{classroom_course_course__slug}",encodeURIComponent(String(r))).replace("{classroom_slug}",encodeURIComponent(String(o))),s=j.parse(n,!0);e&&(i=e.baseOptions);var u=E(E({method:"POST"},i),a),p={};if(e&&(e.username||e.password)&&(p.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var c="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;p.Authorization=c}p["Content-Type"]="application/json",s.query=E(E(E({},s.query),{}),a.query),delete s.search,u.headers=E(E({},p),a.headers);var l="string"!=typeof t||"application/json"===u.headers["Content-Type"];return u.data=l?JSON.stringify(void 0!==t?t:{}):t||"",{url:j.format(s),options:u}},classroomCoursesProjectsRead:function(r,o,t,a){if(void 0===a&&(a={}),null==r)throw new z.RequiredError("classroom_course_course__slug","Required parameter classroom_course_course__slug was null or undefined when calling classroomCoursesProjectsRead.");if(null==o)throw new z.RequiredError("classroom_slug","Required parameter classroom_slug was null or undefined when calling classroomCoursesProjectsRead.");if(null==t)throw new z.RequiredError("id","Required parameter id was null or undefined when calling classroomCoursesProjectsRead.");var i,n="/classroom/{classroom_slug}/courses/{classroom_course_course__slug}/projects/{id}/".replace("{classroom_course_course__slug}",encodeURIComponent(String(r))).replace("{classroom_slug}",encodeURIComponent(String(o))).replace("{id}",encodeURIComponent(String(t))),s=j.parse(n,!0);e&&(i=e.baseOptions);var u=E(E({method:"GET"},i),a),p={};if(e&&(e.username||e.password)&&(p.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var c="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;p.Authorization=c}return s.query=E(E(E({},s.query),{}),a.query),delete s.search,u.headers=E(E({},p),a.headers),{url:j.format(s),options:u}},classroomCoursesQuizzesList:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("classroom_course_course__slug","Required parameter classroom_course_course__slug was null or undefined when calling classroomCoursesQuizzesList.");if(null==o)throw new z.RequiredError("classroom_slug","Required parameter classroom_slug was null or undefined when calling classroomCoursesQuizzesList.");var a,i="/classroom/{classroom_slug}/courses/{classroom_course_course__slug}/quizzes/".replace("{classroom_course_course__slug}",encodeURIComponent(String(r))).replace("{classroom_slug}",encodeURIComponent(String(o))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"GET"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}return n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers),{url:j.format(n),options:s}},classroomCoursesQuizzesRead:function(r,o,t,a){if(void 0===a&&(a={}),null==r)throw new z.RequiredError("classroom_course_course__slug","Required parameter classroom_course_course__slug was null or undefined when calling classroomCoursesQuizzesRead.");if(null==o)throw new z.RequiredError("classroom_slug","Required parameter classroom_slug was null or undefined when calling classroomCoursesQuizzesRead.");if(null==t)throw new z.RequiredError("id","Required parameter id was null or undefined when calling classroomCoursesQuizzesRead.");var i,n="/classroom/{classroom_slug}/courses/{classroom_course_course__slug}/quizzes/{id}/".replace("{classroom_course_course__slug}",encodeURIComponent(String(r))).replace("{classroom_slug}",encodeURIComponent(String(o))).replace("{id}",encodeURIComponent(String(t))),s=j.parse(n,!0);e&&(i=e.baseOptions);var u=E(E({method:"GET"},i),a),p={};if(e&&(e.username||e.password)&&(p.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var c="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;p.Authorization=c}return s.query=E(E(E({},s.query),{}),a.query),delete s.search,u.headers=E(E({},p),a.headers),{url:j.format(s),options:u}},classroomCoursesRead:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("classroom_slug","Required parameter classroom_slug was null or undefined when calling classroomCoursesRead.");if(null==o)throw new z.RequiredError("course__slug","Required parameter course__slug was null or undefined when calling classroomCoursesRead.");var a,i="/classroom/{classroom_slug}/courses/{course__slug}/".replace("{classroom_slug}",encodeURIComponent(String(r))).replace("{course__slug}",encodeURIComponent(String(o))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"GET"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}return n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers),{url:j.format(n),options:s}},classroomCoursesUnlockLecture:function(r,o,t,a){if(void 0===a&&(a={}),null==r)throw new z.RequiredError("classroom_slug","Required parameter classroom_slug was null or undefined when calling classroomCoursesUnlockLecture.");if(null==o)throw new z.RequiredError("course__slug","Required parameter course__slug was null or undefined when calling classroomCoursesUnlockLecture.");if(null==t)throw new z.RequiredError("data","Required parameter data was null or undefined when calling classroomCoursesUnlockLecture.");var i,n="/classroom/{classroom_slug}/courses/{course__slug}/unlock_lecture/".replace("{classroom_slug}",encodeURIComponent(String(r))).replace("{course__slug}",encodeURIComponent(String(o))),s=j.parse(n,!0);e&&(i=e.baseOptions);var u=E(E({method:"POST"},i),a),p={};if(e&&(e.username||e.password)&&(p.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var c="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;p.Authorization=c}p["Content-Type"]="application/json",s.query=E(E(E({},s.query),{}),a.query),delete s.search,u.headers=E(E({},p),a.headers);var l="string"!=typeof t||"application/json"===u.headers["Content-Type"];return u.data=l?JSON.stringify(void 0!==t?t:{}):t||"",{url:j.format(s),options:u}},classroomCreate:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("data","Required parameter data was null or undefined when calling classroomCreate.");var t,a=j.parse("/classroom/",!0);e&&(t=e.baseOptions);var i=E(E({method:"POST"},t),o),n={};if(e&&(e.username||e.password)&&(n.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var s="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;n.Authorization=s}n["Content-Type"]="application/json",a.query=E(E(E({},a.query),{}),o.query),delete a.search,i.headers=E(E({},n),o.headers);var u="string"!=typeof r||"application/json"===i.headers["Content-Type"];return i.data=u?JSON.stringify(void 0!==r?r:{}):r||"",{url:j.format(a),options:i}},classroomDelete:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("slug","Required parameter slug was null or undefined when calling classroomDelete.");var t,a="/classroom/{slug}/".replace("{slug}",encodeURIComponent(String(r))),i=j.parse(a,!0);e&&(t=e.baseOptions);var n=E(E({method:"DELETE"},t),o),s={};if(e&&(e.username||e.password)&&(s.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var u="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;s.Authorization=u}return i.query=E(E(E({},i.query),{}),o.query),delete i.search,n.headers=E(E({},s),o.headers),{url:j.format(i),options:n}},classroomList:function(r,o,t,a,i){void 0===i&&(i={});var n,s=j.parse("/classroom/",!0);e&&(n=e.baseOptions);var u=E(E({method:"GET"},n),i),p={},c={};if(e&&(e.username||e.password)&&(p.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var l="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;p.Authorization=l}return void 0!==r&&(c.role=r),void 0!==o&&(c.name=o),void 0!==t&&(c.page=t),void 0!==a&&(c.page_size=a),s.query=E(E(E({},s.query),c),i.query),delete s.search,u.headers=E(E({},p),i.headers),{url:j.format(s),options:u}},classroomPartialUpdate:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("slug","Required parameter slug was null or undefined when calling classroomPartialUpdate.");if(null==o)throw new z.RequiredError("data","Required parameter data was null or undefined when calling classroomPartialUpdate.");var a,i="/classroom/{slug}/".replace("{slug}",encodeURIComponent(String(r))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"PATCH"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}u["Content-Type"]="application/json",n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers);var c="string"!=typeof o||"application/json"===s.headers["Content-Type"];return s.data=c?JSON.stringify(void 0!==o?o:{}):o||"",{url:j.format(n),options:s}},classroomProductCodesRedeem:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("classroom_slug","Required parameter classroom_slug was null or undefined when calling classroomProductCodesRedeem.");if(null==o)throw new z.RequiredError("data","Required parameter data was null or undefined when calling classroomProductCodesRedeem.");var a,i="/classroom/{classroom_slug}/product-codes/redeem/".replace("{classroom_slug}",encodeURIComponent(String(r))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"POST"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}u["Content-Type"]="application/json",n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers);var c="string"!=typeof o||"application/json"===s.headers["Content-Type"];return s.data=c?JSON.stringify(void 0!==o?o:{}):o||"",{url:j.format(n),options:s}},classroomRead:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("slug","Required parameter slug was null or undefined when calling classroomRead.");var t,a="/classroom/{slug}/".replace("{slug}",encodeURIComponent(String(r))),i=j.parse(a,!0);e&&(t=e.baseOptions);var n=E(E({method:"GET"},t),o),s={};if(e&&(e.username||e.password)&&(s.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var u="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;s.Authorization=u}return i.query=E(E(E({},i.query),{}),o.query),delete i.search,n.headers=E(E({},s),o.headers),{url:j.format(i),options:n}},classroomSeatsAccept:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("classroom_slug","Required parameter classroom_slug was null or undefined when calling classroomSeatsAccept.");if(null==o)throw new z.RequiredError("id","Required parameter id was null or undefined when calling classroomSeatsAccept.");var a,i="/classroom/{classroom_slug}/seats/{id}/accept/".replace("{classroom_slug}",encodeURIComponent(String(r))).replace("{id}",encodeURIComponent(String(o))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"POST"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}return n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers),{url:j.format(n),options:s}},classroomSeatsAssign:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("classroom_slug","Required parameter classroom_slug was null or undefined when calling classroomSeatsAssign.");if(null==o)throw new z.RequiredError("data","Required parameter data was null or undefined when calling classroomSeatsAssign.");var a,i="/classroom/{classroom_slug}/seats/assign/".replace("{classroom_slug}",encodeURIComponent(String(r))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"POST"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}u["Content-Type"]="application/json",n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers);var c="string"!=typeof o||"application/json"===s.headers["Content-Type"];return s.data=c?JSON.stringify(void 0!==o?o:{}):o||"",{url:j.format(n),options:s}},classroomSeatsClose:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("classroom_slug","Required parameter classroom_slug was null or undefined when calling classroomSeatsClose.");if(null==o)throw new z.RequiredError("id","Required parameter id was null or undefined when calling classroomSeatsClose.");var a,i="/classroom/{classroom_slug}/seats/{id}/close/".replace("{classroom_slug}",encodeURIComponent(String(r))).replace("{id}",encodeURIComponent(String(o))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"POST"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}return n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers),{url:j.format(n),options:s}},classroomSeatsList:function(r,o,t,a,i){if(void 0===i&&(i={}),null==r)throw new z.RequiredError("classroom_slug","Required parameter classroom_slug was null or undefined when calling classroomSeatsList.");var n,s="/classroom/{classroom_slug}/seats/".replace("{classroom_slug}",encodeURIComponent(String(r))),u=j.parse(s,!0);e&&(n=e.baseOptions);var p=E(E({method:"GET"},n),i),c={},l={};if(e&&(e.username||e.password)&&(c.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var d="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;c.Authorization=d}return void 0!==o&&(l.status=o),void 0!==t&&(l.status__in=t),void 0!==a&&(l.is_team_member=a),u.query=E(E(E({},u.query),l),i.query),delete u.search,p.headers=E(E({},c),i.headers),{url:j.format(u),options:p}},classroomSeatsPartialUpdate:function(r,o,t,a){if(void 0===a&&(a={}),null==r)throw new z.RequiredError("classroom_slug","Required parameter classroom_slug was null or undefined when calling classroomSeatsPartialUpdate.");if(null==o)throw new z.RequiredError("id","Required parameter id was null or undefined when calling classroomSeatsPartialUpdate.");if(null==t)throw new z.RequiredError("data","Required parameter data was null or undefined when calling classroomSeatsPartialUpdate.");var i,n="/classroom/{classroom_slug}/seats/{id}/".replace("{classroom_slug}",encodeURIComponent(String(r))).replace("{id}",encodeURIComponent(String(o))),s=j.parse(n,!0);e&&(i=e.baseOptions);var u=E(E({method:"PATCH"},i),a),p={};if(e&&(e.username||e.password)&&(p.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var c="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;p.Authorization=c}p["Content-Type"]="application/json",s.query=E(E(E({},s.query),{}),a.query),delete s.search,u.headers=E(E({},p),a.headers);var l="string"!=typeof t||"application/json"===u.headers["Content-Type"];return u.data=l?JSON.stringify(void 0!==t?t:{}):t||"",{url:j.format(s),options:u}},classroomSeatsRead:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("classroom_slug","Required parameter classroom_slug was null or undefined when calling classroomSeatsRead.");if(null==o)throw new z.RequiredError("id","Required parameter id was null or undefined when calling classroomSeatsRead.");var a,i="/classroom/{classroom_slug}/seats/{id}/".replace("{classroom_slug}",encodeURIComponent(String(r))).replace("{id}",encodeURIComponent(String(o))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"GET"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}return n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers),{url:j.format(n),options:s}},classroomSeatsReject:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("classroom_slug","Required parameter classroom_slug was null or undefined when calling classroomSeatsReject.");if(null==o)throw new z.RequiredError("id","Required parameter id was null or undefined when calling classroomSeatsReject.");var a,i="/classroom/{classroom_slug}/seats/{id}/reject/".replace("{classroom_slug}",encodeURIComponent(String(r))).replace("{id}",encodeURIComponent(String(o))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"POST"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}return n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers),{url:j.format(n),options:s}},classroomSeatsUpdate:function(r,o,t,a){if(void 0===a&&(a={}),null==r)throw new z.RequiredError("classroom_slug","Required parameter classroom_slug was null or undefined when calling classroomSeatsUpdate.");if(null==o)throw new z.RequiredError("id","Required parameter id was null or undefined when calling classroomSeatsUpdate.");if(null==t)throw new z.RequiredError("data","Required parameter data was null or undefined when calling classroomSeatsUpdate.");var i,n="/classroom/{classroom_slug}/seats/{id}/".replace("{classroom_slug}",encodeURIComponent(String(r))).replace("{id}",encodeURIComponent(String(o))),s=j.parse(n,!0);e&&(i=e.baseOptions);var u=E(E({method:"PUT"},i),a),p={};if(e&&(e.username||e.password)&&(p.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var c="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;p.Authorization=c}p["Content-Type"]="application/json",s.query=E(E(E({},s.query),{}),a.query),delete s.search,u.headers=E(E({},p),a.headers);var l="string"!=typeof t||"application/json"===u.headers["Content-Type"];return u.data=l?JSON.stringify(void 0!==t?t:{}):t||"",{url:j.format(s),options:u}},classroomSectionsCreate:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("classroom_slug","Required parameter classroom_slug was null or undefined when calling classroomSectionsCreate.");if(null==o)throw new z.RequiredError("data","Required parameter data was null or undefined when calling classroomSectionsCreate.");var a,i="/classroom/{classroom_slug}/sections/".replace("{classroom_slug}",encodeURIComponent(String(r))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"POST"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}u["Content-Type"]="application/json",n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers);var c="string"!=typeof o||"application/json"===s.headers["Content-Type"];return s.data=c?JSON.stringify(void 0!==o?o:{}):o||"",{url:j.format(n),options:s}},classroomSectionsList:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("classroom_slug","Required parameter classroom_slug was null or undefined when calling classroomSectionsList.");var t,a="/classroom/{classroom_slug}/sections/".replace("{classroom_slug}",encodeURIComponent(String(r))),i=j.parse(a,!0);e&&(t=e.baseOptions);var n=E(E({method:"GET"},t),o),s={};if(e&&(e.username||e.password)&&(s.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var u="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;s.Authorization=u}return i.query=E(E(E({},i.query),{}),o.query),delete i.search,n.headers=E(E({},s),o.headers),{url:j.format(i),options:n}},classroomTeachersCreate:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("classroom_slug","Required parameter classroom_slug was null or undefined when calling classroomTeachersCreate.");if(null==o)throw new z.RequiredError("data","Required parameter data was null or undefined when calling classroomTeachersCreate.");var a,i="/classroom/{classroom_slug}/teachers/".replace("{classroom_slug}",encodeURIComponent(String(r))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"POST"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}u["Content-Type"]="application/json",n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers);var c="string"!=typeof o||"application/json"===s.headers["Content-Type"];return s.data=c?JSON.stringify(void 0!==o?o:{}):o||"",{url:j.format(n),options:s}},classroomTeachersDelete:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("classroom_slug","Required parameter classroom_slug was null or undefined when calling classroomTeachersDelete.");if(null==o)throw new z.RequiredError("id","Required parameter id was null or undefined when calling classroomTeachersDelete.");var a,i="/classroom/{classroom_slug}/teachers/{id}/".replace("{classroom_slug}",encodeURIComponent(String(r))).replace("{id}",encodeURIComponent(String(o))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"DELETE"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}return n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers),{url:j.format(n),options:s}},classroomTeachersList:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("classroom_slug","Required parameter classroom_slug was null or undefined when calling classroomTeachersList.");var t,a="/classroom/{classroom_slug}/teachers/".replace("{classroom_slug}",encodeURIComponent(String(r))),i=j.parse(a,!0);e&&(t=e.baseOptions);var n=E(E({method:"GET"},t),o),s={};if(e&&(e.username||e.password)&&(s.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var u="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;s.Authorization=u}return i.query=E(E(E({},i.query),{}),o.query),delete i.search,n.headers=E(E({},s),o.headers),{url:j.format(i),options:n}},classroomTeachersRead:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("classroom_slug","Required parameter classroom_slug was null or undefined when calling classroomTeachersRead.");if(null==o)throw new z.RequiredError("id","Required parameter id was null or undefined when calling classroomTeachersRead.");var a,i="/classroom/{classroom_slug}/teachers/{id}/".replace("{classroom_slug}",encodeURIComponent(String(r))).replace("{id}",encodeURIComponent(String(o))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"GET"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}return n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers),{url:j.format(n),options:s}},classroomTeachersSendEmail:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("classroom_slug","Required parameter classroom_slug was null or undefined when calling classroomTeachersSendEmail.");if(null==o)throw new z.RequiredError("data","Required parameter data was null or undefined when calling classroomTeachersSendEmail.");var a,i="/classroom/{classroom_slug}/teachers/send_email/".replace("{classroom_slug}",encodeURIComponent(String(r))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"POST"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}u["Content-Type"]="application/json",n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers);var c="string"!=typeof o||"application/json"===s.headers["Content-Type"];return s.data=c?JSON.stringify(void 0!==o?o:{}):o||"",{url:j.format(n),options:s}},classroomTeamsCreate:function(r,o,t,a,i,n){if(void 0===n&&(n={}),null==r)throw new z.RequiredError("classroom_slug","Required parameter classroom_slug was null or undefined when calling classroomTeamsCreate.");if(null==o)throw new z.RequiredError("name","Required parameter name was null or undefined when calling classroomTeamsCreate.");var s,u="/classroom/{classroom_slug}/teams/".replace("{classroom_slug}",encodeURIComponent(String(r))),p=j.parse(u,!0);e&&(s=e.baseOptions);var c=E(E({method:"POST"},s),n),l={},d=new FormData;if(e&&(e.username||e.password)&&(l.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var h="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;l.Authorization=h}return void 0!==o&&d.append("name",o),void 0!==t&&d.append("slug",t),void 0!==a&&d.append("description",a),void 0!==i&&d.append("image",i),l["Content-Type"]="multipart/form-data",p.query=E(E(E({},p.query),{}),n.query),delete p.search,c.headers=E(E({},l),n.headers),c.data=d,{url:j.format(p),options:c}},classroomTeamsDelete:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("classroom_slug","Required parameter classroom_slug was null or undefined when calling classroomTeamsDelete.");if(null==o)throw new z.RequiredError("slug","Required parameter slug was null or undefined when calling classroomTeamsDelete.");var a,i="/classroom/{classroom_slug}/teams/{slug}/".replace("{classroom_slug}",encodeURIComponent(String(r))).replace("{slug}",encodeURIComponent(String(o))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"DELETE"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}return n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers),{url:j.format(n),options:s}},classroomTeamsList:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("classroom_slug","Required parameter classroom_slug was null or undefined when calling classroomTeamsList.");var t,a="/classroom/{classroom_slug}/teams/".replace("{classroom_slug}",encodeURIComponent(String(r))),i=j.parse(a,!0);e&&(t=e.baseOptions);var n=E(E({method:"GET"},t),o),s={};if(e&&(e.username||e.password)&&(s.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var u="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;s.Authorization=u}return i.query=E(E(E({},i.query),{}),o.query),delete i.search,n.headers=E(E({},s),o.headers),{url:j.format(i),options:n}},classroomTeamsMembersBulkCreate:function(r,o,t,a){if(void 0===a&&(a={}),null==r)throw new z.RequiredError("classroom_slug","Required parameter classroom_slug was null or undefined when calling classroomTeamsMembersBulkCreate.");if(null==o)throw new z.RequiredError("classroom_team_slug","Required parameter classroom_team_slug was null or undefined when calling classroomTeamsMembersBulkCreate.");if(null==t)throw new z.RequiredError("data","Required parameter data was null or undefined when calling classroomTeamsMembersBulkCreate.");var i,n="/classroom/{classroom_slug}/teams/{classroom_team_slug}/members/bulk_create/".replace("{classroom_slug}",encodeURIComponent(String(r))).replace("{classroom_team_slug}",encodeURIComponent(String(o))),s=j.parse(n,!0);e&&(i=e.baseOptions);var u=E(E({method:"POST"},i),a),p={};if(e&&(e.username||e.password)&&(p.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var c="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;p.Authorization=c}p["Content-Type"]="application/json",s.query=E(E(E({},s.query),{}),a.query),delete s.search,u.headers=E(E({},p),a.headers);var l="string"!=typeof t||"application/json"===u.headers["Content-Type"];return u.data=l?JSON.stringify(void 0!==t?t:{}):t||"",{url:j.format(s),options:u}},classroomTeamsMembersCreate:function(r,o,t,a){if(void 0===a&&(a={}),null==r)throw new z.RequiredError("classroom_slug","Required parameter classroom_slug was null or undefined when calling classroomTeamsMembersCreate.");if(null==o)throw new z.RequiredError("classroom_team_slug","Required parameter classroom_team_slug was null or undefined when calling classroomTeamsMembersCreate.");if(null==t)throw new z.RequiredError("data","Required parameter data was null or undefined when calling classroomTeamsMembersCreate.");var i,n="/classroom/{classroom_slug}/teams/{classroom_team_slug}/members/".replace("{classroom_slug}",encodeURIComponent(String(r))).replace("{classroom_team_slug}",encodeURIComponent(String(o))),s=j.parse(n,!0);e&&(i=e.baseOptions);var u=E(E({method:"POST"},i),a),p={};if(e&&(e.username||e.password)&&(p.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var c="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;p.Authorization=c}p["Content-Type"]="application/json",s.query=E(E(E({},s.query),{}),a.query),delete s.search,u.headers=E(E({},p),a.headers);var l="string"!=typeof t||"application/json"===u.headers["Content-Type"];return u.data=l?JSON.stringify(void 0!==t?t:{}):t||"",{url:j.format(s),options:u}},classroomTeamsMembersDelete:function(r,o,t,a){if(void 0===a&&(a={}),null==r)throw new z.RequiredError("classroom_slug","Required parameter classroom_slug was null or undefined when calling classroomTeamsMembersDelete.");if(null==o)throw new z.RequiredError("classroom_team_slug","Required parameter classroom_team_slug was null or undefined when calling classroomTeamsMembersDelete.");if(null==t)throw new z.RequiredError("user__username","Required parameter user__username was null or undefined when calling classroomTeamsMembersDelete.");var i,n="/classroom/{classroom_slug}/teams/{classroom_team_slug}/members/{user__username}/".replace("{classroom_slug}",encodeURIComponent(String(r))).replace("{classroom_team_slug}",encodeURIComponent(String(o))).replace("{user__username}",encodeURIComponent(String(t))),s=j.parse(n,!0);e&&(i=e.baseOptions);var u=E(E({method:"DELETE"},i),a),p={};if(e&&(e.username||e.password)&&(p.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var c="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;p.Authorization=c}return s.query=E(E(E({},s.query),{}),a.query),delete s.search,u.headers=E(E({},p),a.headers),{url:j.format(s),options:u}},classroomTeamsMembersList:function(r,o,t,a){if(void 0===a&&(a={}),null==r)throw new z.RequiredError("classroom_slug","Required parameter classroom_slug was null or undefined when calling classroomTeamsMembersList.");if(null==o)throw new z.RequiredError("classroom_team_slug","Required parameter classroom_team_slug was null or undefined when calling classroomTeamsMembersList.");var i,n="/classroom/{classroom_slug}/teams/{classroom_team_slug}/members/".replace("{classroom_slug}",encodeURIComponent(String(r))).replace("{classroom_team_slug}",encodeURIComponent(String(o))),s=j.parse(n,!0);e&&(i=e.baseOptions);var u=E(E({method:"GET"},i),a),p={},c={};if(e&&(e.username||e.password)&&(p.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var l="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;p.Authorization=l}return void 0!==t&&(c.reference=t),s.query=E(E(E({},s.query),c),a.query),delete s.search,u.headers=E(E({},p),a.headers),{url:j.format(s),options:u}},classroomTeamsMembersRead:function(r,o,t,a){if(void 0===a&&(a={}),null==r)throw new z.RequiredError("classroom_slug","Required parameter classroom_slug was null or undefined when calling classroomTeamsMembersRead.");if(null==o)throw new z.RequiredError("classroom_team_slug","Required parameter classroom_team_slug was null or undefined when calling classroomTeamsMembersRead.");if(null==t)throw new z.RequiredError("user__username","Required parameter user__username was null or undefined when calling classroomTeamsMembersRead.");var i,n="/classroom/{classroom_slug}/teams/{classroom_team_slug}/members/{user__username}/".replace("{classroom_slug}",encodeURIComponent(String(r))).replace("{classroom_team_slug}",encodeURIComponent(String(o))).replace("{user__username}",encodeURIComponent(String(t))),s=j.parse(n,!0);e&&(i=e.baseOptions);var u=E(E({method:"GET"},i),a),p={};if(e&&(e.username||e.password)&&(p.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var c="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;p.Authorization=c}return s.query=E(E(E({},s.query),{}),a.query),delete s.search,u.headers=E(E({},p),a.headers),{url:j.format(s),options:u}},classroomTeamsPartialUpdate:function(r,o,t,a,i,n){if(void 0===n&&(n={}),null==r)throw new z.RequiredError("classroom_slug","Required parameter classroom_slug was null or undefined when calling classroomTeamsPartialUpdate.");if(null==o)throw new z.RequiredError("slug","Required parameter slug was null or undefined when calling classroomTeamsPartialUpdate.");if(null==t)throw new z.RequiredError("name","Required parameter name was null or undefined when calling classroomTeamsPartialUpdate.");var s,u="/classroom/{classroom_slug}/teams/{slug}/".replace("{classroom_slug}",encodeURIComponent(String(r))).replace("{slug}",encodeURIComponent(String(o))),p=j.parse(u,!0);e&&(s=e.baseOptions);var c=E(E({method:"PATCH"},s),n),l={},d=new FormData;if(e&&(e.username||e.password)&&(l.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var h="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;l.Authorization=h}return void 0!==t&&d.append("name",t),void 0!==a&&d.append("description",a),void 0!==i&&d.append("image",i),l["Content-Type"]="multipart/form-data",p.query=E(E(E({},p.query),{}),n.query),delete p.search,c.headers=E(E({},l),n.headers),c.data=d,{url:j.format(p),options:c}},classroomTeamsRead:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("classroom_slug","Required parameter classroom_slug was null or undefined when calling classroomTeamsRead.");if(null==o)throw new z.RequiredError("slug","Required parameter slug was null or undefined when calling classroomTeamsRead.");var a,i="/classroom/{classroom_slug}/teams/{slug}/".replace("{classroom_slug}",encodeURIComponent(String(r))).replace("{slug}",encodeURIComponent(String(o))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"GET"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}return n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers),{url:j.format(n),options:s}},classroomTeamsUpdate:function(r,o,t,a,i,n){if(void 0===n&&(n={}),null==r)throw new z.RequiredError("classroom_slug","Required parameter classroom_slug was null or undefined when calling classroomTeamsUpdate.");if(null==o)throw new z.RequiredError("slug","Required parameter slug was null or undefined when calling classroomTeamsUpdate.");if(null==t)throw new z.RequiredError("name","Required parameter name was null or undefined when calling classroomTeamsUpdate.");var s,u="/classroom/{classroom_slug}/teams/{slug}/".replace("{classroom_slug}",encodeURIComponent(String(r))).replace("{slug}",encodeURIComponent(String(o))),p=j.parse(u,!0);e&&(s=e.baseOptions);var c=E(E({method:"PUT"},s),n),l={},d=new FormData;if(e&&(e.username||e.password)&&(l.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var h="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;l.Authorization=h}return void 0!==t&&d.append("name",t),void 0!==a&&d.append("description",a),void 0!==i&&d.append("image",i),l["Content-Type"]="multipart/form-data",p.query=E(E(E({},p.query),{}),n.query),delete p.search,c.headers=E(E({},l),n.headers),c.data=d,{url:j.format(p),options:c}},classroomUpdate:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("slug","Required parameter slug was null or undefined when calling classroomUpdate.");if(null==o)throw new z.RequiredError("data","Required parameter data was null or undefined when calling classroomUpdate.");var a,i="/classroom/{slug}/".replace("{slug}",encodeURIComponent(String(r))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"PUT"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}u["Content-Type"]="application/json",n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers);var c="string"!=typeof o||"application/json"===s.headers["Content-Type"];return s.data=c?JSON.stringify(void 0!==o?o:{}):o||"",{url:j.format(n),options:s}}}},r.ClassroomApiFp=function(e){return{classroomCompetitionsList:function(o,t){var a=r.ClassroomApiAxiosParamCreator(e).classroomCompetitionsList(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}},classroomCompetitionsRead:function(o,t,a){var i=r.ClassroomApiAxiosParamCreator(e).classroomCompetitionsRead(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},classroomCompetitionsRegisterTeam:function(o,t,a,i){var n=r.ClassroomApiAxiosParamCreator(e).classroomCompetitionsRegisterTeam(o,t,a,i);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},n.options),{url:r+n.url});return e.request(o)}},classroomCompetitionsRegisterUser:function(o,t,a,i){var n=r.ClassroomApiAxiosParamCreator(e).classroomCompetitionsRegisterUser(o,t,a,i);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},n.options),{url:r+n.url});return e.request(o)}},classroomCompetitionsSoloProgressionsDelete:function(o,t,a,i){var n=r.ClassroomApiAxiosParamCreator(e).classroomCompetitionsSoloProgressionsDelete(o,t,a,i);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},n.options),{url:r+n.url});return e.request(o)}},classroomCompetitionsSoloProgressionsFinals:function(o,t,a){var i=r.ClassroomApiAxiosParamCreator(e).classroomCompetitionsSoloProgressionsFinals(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},classroomCompetitionsSoloProgressionsList:function(o,t,a){var i=r.ClassroomApiAxiosParamCreator(e).classroomCompetitionsSoloProgressionsList(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},classroomCompetitionsSoloProgressionsPreQualification:function(o,t,a){var i=r.ClassroomApiAxiosParamCreator(e).classroomCompetitionsSoloProgressionsPreQualification(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},classroomCompetitionsSoloProgressionsQualifiers:function(o,t,a){var i=r.ClassroomApiAxiosParamCreator(e).classroomCompetitionsSoloProgressionsQualifiers(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},classroomCompetitionsSoloProgressionsRead:function(o,t,a,i){var n=r.ClassroomApiAxiosParamCreator(e).classroomCompetitionsSoloProgressionsRead(o,t,a,i);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},n.options),{url:r+n.url});return e.request(o)}},classroomCompetitionsTeamProgressionsDelete:function(o,t,a,i){var n=r.ClassroomApiAxiosParamCreator(e).classroomCompetitionsTeamProgressionsDelete(o,t,a,i);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},n.options),{url:r+n.url});return e.request(o)}},classroomCompetitionsTeamProgressionsFinals:function(o,t,a){var i=r.ClassroomApiAxiosParamCreator(e).classroomCompetitionsTeamProgressionsFinals(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},classroomCompetitionsTeamProgressionsList:function(o,t,a){var i=r.ClassroomApiAxiosParamCreator(e).classroomCompetitionsTeamProgressionsList(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},classroomCompetitionsTeamProgressionsPreQualification:function(o,t,a){var i=r.ClassroomApiAxiosParamCreator(e).classroomCompetitionsTeamProgressionsPreQualification(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},classroomCompetitionsTeamProgressionsQualifiers:function(o,t,a){var i=r.ClassroomApiAxiosParamCreator(e).classroomCompetitionsTeamProgressionsQualifiers(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},classroomCompetitionsTeamProgressionsRead:function(o,t,a,i){var n=r.ClassroomApiAxiosParamCreator(e).classroomCompetitionsTeamProgressionsRead(o,t,a,i);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},n.options),{url:r+n.url});return e.request(o)}},classroomCoursesList:function(o,t){var a=r.ClassroomApiAxiosParamCreator(e).classroomCoursesList(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}},classroomCoursesLockLecture:function(o,t,a,i){var n=r.ClassroomApiAxiosParamCreator(e).classroomCoursesLockLecture(o,t,a,i);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},n.options),{url:r+n.url});return e.request(o)}},classroomCoursesParticipantProjectsReport:function(o,t,a,i,n,s,u){var p=r.ClassroomApiAxiosParamCreator(e).classroomCoursesParticipantProjectsReport(o,t,a,i,n,s,u);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},p.options),{url:r+p.url});return e.request(o)}},classroomCoursesParticipantProjectsReportByCourse:function(o,t,a,i,n,s,u){var p=r.ClassroomApiAxiosParamCreator(e).classroomCoursesParticipantProjectsReportByCourse(o,t,a,i,n,s,u);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},p.options),{url:r+p.url});return e.request(o)}},classroomCoursesProjectsList:function(o,t,a){var i=r.ClassroomApiAxiosParamCreator(e).classroomCoursesProjectsList(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},classroomCoursesProjectsOpen:function(o,t,a,i){var n=r.ClassroomApiAxiosParamCreator(e).classroomCoursesProjectsOpen(o,t,a,i);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},n.options),{url:r+n.url});return e.request(o)}},classroomCoursesProjectsPreview:function(o,t,a,i){var n=r.ClassroomApiAxiosParamCreator(e).classroomCoursesProjectsPreview(o,t,a,i);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},n.options),{url:r+n.url});return e.request(o)}},classroomCoursesProjectsRead:function(o,t,a,i){var n=r.ClassroomApiAxiosParamCreator(e).classroomCoursesProjectsRead(o,t,a,i);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},n.options),{url:r+n.url});return e.request(o)}},classroomCoursesQuizzesList:function(o,t,a){var i=r.ClassroomApiAxiosParamCreator(e).classroomCoursesQuizzesList(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},classroomCoursesQuizzesRead:function(o,t,a,i){var n=r.ClassroomApiAxiosParamCreator(e).classroomCoursesQuizzesRead(o,t,a,i);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},n.options),{url:r+n.url});return e.request(o)}},classroomCoursesRead:function(o,t,a){var i=r.ClassroomApiAxiosParamCreator(e).classroomCoursesRead(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},classroomCoursesUnlockLecture:function(o,t,a,i){var n=r.ClassroomApiAxiosParamCreator(e).classroomCoursesUnlockLecture(o,t,a,i);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},n.options),{url:r+n.url});return e.request(o)}},classroomCreate:function(o,t){var a=r.ClassroomApiAxiosParamCreator(e).classroomCreate(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}},classroomDelete:function(o,t){var a=r.ClassroomApiAxiosParamCreator(e).classroomDelete(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}},classroomList:function(o,t,a,i,n){var s=r.ClassroomApiAxiosParamCreator(e).classroomList(o,t,a,i,n);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},s.options),{url:r+s.url});return e.request(o)}},classroomPartialUpdate:function(o,t,a){var i=r.ClassroomApiAxiosParamCreator(e).classroomPartialUpdate(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},classroomProductCodesRedeem:function(o,t,a){var i=r.ClassroomApiAxiosParamCreator(e).classroomProductCodesRedeem(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},classroomRead:function(o,t){var a=r.ClassroomApiAxiosParamCreator(e).classroomRead(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}},classroomSeatsAccept:function(o,t,a){var i=r.ClassroomApiAxiosParamCreator(e).classroomSeatsAccept(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},classroomSeatsAssign:function(o,t,a){var i=r.ClassroomApiAxiosParamCreator(e).classroomSeatsAssign(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},classroomSeatsClose:function(o,t,a){var i=r.ClassroomApiAxiosParamCreator(e).classroomSeatsClose(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},classroomSeatsList:function(o,t,a,i,n){var s=r.ClassroomApiAxiosParamCreator(e).classroomSeatsList(o,t,a,i,n);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},s.options),{url:r+s.url});return e.request(o)}},classroomSeatsPartialUpdate:function(o,t,a,i){var n=r.ClassroomApiAxiosParamCreator(e).classroomSeatsPartialUpdate(o,t,a,i);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},n.options),{url:r+n.url});return e.request(o)}},classroomSeatsRead:function(o,t,a){var i=r.ClassroomApiAxiosParamCreator(e).classroomSeatsRead(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},classroomSeatsReject:function(o,t,a){var i=r.ClassroomApiAxiosParamCreator(e).classroomSeatsReject(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},classroomSeatsUpdate:function(o,t,a,i){var n=r.ClassroomApiAxiosParamCreator(e).classroomSeatsUpdate(o,t,a,i);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},n.options),{url:r+n.url});return e.request(o)}},classroomSectionsCreate:function(o,t,a){var i=r.ClassroomApiAxiosParamCreator(e).classroomSectionsCreate(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},classroomSectionsList:function(o,t){var a=r.ClassroomApiAxiosParamCreator(e).classroomSectionsList(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}},classroomTeachersCreate:function(o,t,a){var i=r.ClassroomApiAxiosParamCreator(e).classroomTeachersCreate(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},classroomTeachersDelete:function(o,t,a){var i=r.ClassroomApiAxiosParamCreator(e).classroomTeachersDelete(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},classroomTeachersList:function(o,t){var a=r.ClassroomApiAxiosParamCreator(e).classroomTeachersList(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}},classroomTeachersRead:function(o,t,a){var i=r.ClassroomApiAxiosParamCreator(e).classroomTeachersRead(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},classroomTeachersSendEmail:function(o,t,a){var i=r.ClassroomApiAxiosParamCreator(e).classroomTeachersSendEmail(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},classroomTeamsCreate:function(o,t,a,i,n,s){var u=r.ClassroomApiAxiosParamCreator(e).classroomTeamsCreate(o,t,a,i,n,s);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},u.options),{url:r+u.url});return e.request(o)}},classroomTeamsDelete:function(o,t,a){var i=r.ClassroomApiAxiosParamCreator(e).classroomTeamsDelete(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},classroomTeamsList:function(o,t){var a=r.ClassroomApiAxiosParamCreator(e).classroomTeamsList(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}},classroomTeamsMembersBulkCreate:function(o,t,a,i){var n=r.ClassroomApiAxiosParamCreator(e).classroomTeamsMembersBulkCreate(o,t,a,i);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},n.options),{url:r+n.url});return e.request(o)}},classroomTeamsMembersCreate:function(o,t,a,i){var n=r.ClassroomApiAxiosParamCreator(e).classroomTeamsMembersCreate(o,t,a,i);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},n.options),{url:r+n.url});return e.request(o)}},classroomTeamsMembersDelete:function(o,t,a,i){var n=r.ClassroomApiAxiosParamCreator(e).classroomTeamsMembersDelete(o,t,a,i);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},n.options),{url:r+n.url});return e.request(o)}},classroomTeamsMembersList:function(o,t,a,i){var n=r.ClassroomApiAxiosParamCreator(e).classroomTeamsMembersList(o,t,a,i);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},n.options),{url:r+n.url});return e.request(o)}},classroomTeamsMembersRead:function(o,t,a,i){var n=r.ClassroomApiAxiosParamCreator(e).classroomTeamsMembersRead(o,t,a,i);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},n.options),{url:r+n.url});return e.request(o)}},classroomTeamsPartialUpdate:function(o,t,a,i,n,s){var u=r.ClassroomApiAxiosParamCreator(e).classroomTeamsPartialUpdate(o,t,a,i,n,s);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},u.options),{url:r+u.url});return e.request(o)}},classroomTeamsRead:function(o,t,a){var i=r.ClassroomApiAxiosParamCreator(e).classroomTeamsRead(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},classroomTeamsUpdate:function(o,t,a,i,n,s){var u=r.ClassroomApiAxiosParamCreator(e).classroomTeamsUpdate(o,t,a,i,n,s);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},u.options),{url:r+u.url});return e.request(o)}},classroomUpdate:function(o,t,a){var i=r.ClassroomApiAxiosParamCreator(e).classroomUpdate(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}}}},r.ClassroomApiFactory=function(e,o,t){return{classroomCompetitionsList:function(a,i){return r.ClassroomApiFp(e).classroomCompetitionsList(a,i)(t,o)},classroomCompetitionsRead:function(a,i,n){return r.ClassroomApiFp(e).classroomCompetitionsRead(a,i,n)(t,o)},classroomCompetitionsRegisterTeam:function(a,i,n,s){return r.ClassroomApiFp(e).classroomCompetitionsRegisterTeam(a,i,n,s)(t,o)},classroomCompetitionsRegisterUser:function(a,i,n,s){return r.ClassroomApiFp(e).classroomCompetitionsRegisterUser(a,i,n,s)(t,o)},classroomCompetitionsSoloProgressionsDelete:function(a,i,n,s){return r.ClassroomApiFp(e).classroomCompetitionsSoloProgressionsDelete(a,i,n,s)(t,o)},classroomCompetitionsSoloProgressionsFinals:function(a,i,n){return r.ClassroomApiFp(e).classroomCompetitionsSoloProgressionsFinals(a,i,n)(t,o)},classroomCompetitionsSoloProgressionsList:function(a,i,n){return r.ClassroomApiFp(e).classroomCompetitionsSoloProgressionsList(a,i,n)(t,o)},classroomCompetitionsSoloProgressionsPreQualification:function(a,i,n){return r.ClassroomApiFp(e).classroomCompetitionsSoloProgressionsPreQualification(a,i,n)(t,o)},classroomCompetitionsSoloProgressionsQualifiers:function(a,i,n){return r.ClassroomApiFp(e).classroomCompetitionsSoloProgressionsQualifiers(a,i,n)(t,o)},classroomCompetitionsSoloProgressionsRead:function(a,i,n,s){return r.ClassroomApiFp(e).classroomCompetitionsSoloProgressionsRead(a,i,n,s)(t,o)},classroomCompetitionsTeamProgressionsDelete:function(a,i,n,s){return r.ClassroomApiFp(e).classroomCompetitionsTeamProgressionsDelete(a,i,n,s)(t,o)},classroomCompetitionsTeamProgressionsFinals:function(a,i,n){return r.ClassroomApiFp(e).classroomCompetitionsTeamProgressionsFinals(a,i,n)(t,o)},classroomCompetitionsTeamProgressionsList:function(a,i,n){return r.ClassroomApiFp(e).classroomCompetitionsTeamProgressionsList(a,i,n)(t,o)},classroomCompetitionsTeamProgressionsPreQualification:function(a,i,n){return r.ClassroomApiFp(e).classroomCompetitionsTeamProgressionsPreQualification(a,i,n)(t,o)},classroomCompetitionsTeamProgressionsQualifiers:function(a,i,n){return r.ClassroomApiFp(e).classroomCompetitionsTeamProgressionsQualifiers(a,i,n)(t,o)},classroomCompetitionsTeamProgressionsRead:function(a,i,n,s){return r.ClassroomApiFp(e).classroomCompetitionsTeamProgressionsRead(a,i,n,s)(t,o)},classroomCoursesList:function(a,i){return r.ClassroomApiFp(e).classroomCoursesList(a,i)(t,o)},classroomCoursesLockLecture:function(a,i,n,s){return r.ClassroomApiFp(e).classroomCoursesLockLecture(a,i,n,s)(t,o)},classroomCoursesParticipantProjectsReport:function(a,i,n,s,u,p,c){return r.ClassroomApiFp(e).classroomCoursesParticipantProjectsReport(a,i,n,s,u,p,c)(t,o)},classroomCoursesParticipantProjectsReportByCourse:function(a,i,n,s,u,p,c){return r.ClassroomApiFp(e).classroomCoursesParticipantProjectsReportByCourse(a,i,n,s,u,p,c)(t,o)},classroomCoursesProjectsList:function(a,i,n){return r.ClassroomApiFp(e).classroomCoursesProjectsList(a,i,n)(t,o)},classroomCoursesProjectsOpen:function(a,i,n,s){return r.ClassroomApiFp(e).classroomCoursesProjectsOpen(a,i,n,s)(t,o)},classroomCoursesProjectsPreview:function(a,i,n,s){return r.ClassroomApiFp(e).classroomCoursesProjectsPreview(a,i,n,s)(t,o)},classroomCoursesProjectsRead:function(a,i,n,s){return r.ClassroomApiFp(e).classroomCoursesProjectsRead(a,i,n,s)(t,o)},classroomCoursesQuizzesList:function(a,i,n){return r.ClassroomApiFp(e).classroomCoursesQuizzesList(a,i,n)(t,o)},classroomCoursesQuizzesRead:function(a,i,n,s){return r.ClassroomApiFp(e).classroomCoursesQuizzesRead(a,i,n,s)(t,o)},classroomCoursesRead:function(a,i,n){return r.ClassroomApiFp(e).classroomCoursesRead(a,i,n)(t,o)},classroomCoursesUnlockLecture:function(a,i,n,s){return r.ClassroomApiFp(e).classroomCoursesUnlockLecture(a,i,n,s)(t,o)},classroomCreate:function(a,i){return r.ClassroomApiFp(e).classroomCreate(a,i)(t,o)},classroomDelete:function(a,i){return r.ClassroomApiFp(e).classroomDelete(a,i)(t,o)},classroomList:function(a,i,n,s,u){return r.ClassroomApiFp(e).classroomList(a,i,n,s,u)(t,o)},classroomPartialUpdate:function(a,i,n){return r.ClassroomApiFp(e).classroomPartialUpdate(a,i,n)(t,o)},classroomProductCodesRedeem:function(a,i,n){return r.ClassroomApiFp(e).classroomProductCodesRedeem(a,i,n)(t,o)},classroomRead:function(a,i){return r.ClassroomApiFp(e).classroomRead(a,i)(t,o)},classroomSeatsAccept:function(a,i,n){return r.ClassroomApiFp(e).classroomSeatsAccept(a,i,n)(t,o)},classroomSeatsAssign:function(a,i,n){return r.ClassroomApiFp(e).classroomSeatsAssign(a,i,n)(t,o)},classroomSeatsClose:function(a,i,n){return r.ClassroomApiFp(e).classroomSeatsClose(a,i,n)(t,o)},classroomSeatsList:function(a,i,n,s,u){return r.ClassroomApiFp(e).classroomSeatsList(a,i,n,s,u)(t,o)},classroomSeatsPartialUpdate:function(a,i,n,s){return r.ClassroomApiFp(e).classroomSeatsPartialUpdate(a,i,n,s)(t,o)},classroomSeatsRead:function(a,i,n){return r.ClassroomApiFp(e).classroomSeatsRead(a,i,n)(t,o)},classroomSeatsReject:function(a,i,n){return r.ClassroomApiFp(e).classroomSeatsReject(a,i,n)(t,o)},classroomSeatsUpdate:function(a,i,n,s){return r.ClassroomApiFp(e).classroomSeatsUpdate(a,i,n,s)(t,o)},classroomSectionsCreate:function(a,i,n){return r.ClassroomApiFp(e).classroomSectionsCreate(a,i,n)(t,o)},classroomSectionsList:function(a,i){return r.ClassroomApiFp(e).classroomSectionsList(a,i)(t,o)},classroomTeachersCreate:function(a,i,n){return r.ClassroomApiFp(e).classroomTeachersCreate(a,i,n)(t,o)},classroomTeachersDelete:function(a,i,n){return r.ClassroomApiFp(e).classroomTeachersDelete(a,i,n)(t,o)},classroomTeachersList:function(a,i){return r.ClassroomApiFp(e).classroomTeachersList(a,i)(t,o)},classroomTeachersRead:function(a,i,n){return r.ClassroomApiFp(e).classroomTeachersRead(a,i,n)(t,o)},classroomTeachersSendEmail:function(a,i,n){return r.ClassroomApiFp(e).classroomTeachersSendEmail(a,i,n)(t,o)},classroomTeamsCreate:function(a,i,n,s,u,p){return r.ClassroomApiFp(e).classroomTeamsCreate(a,i,n,s,u,p)(t,o)},classroomTeamsDelete:function(a,i,n){return r.ClassroomApiFp(e).classroomTeamsDelete(a,i,n)(t,o)},classroomTeamsList:function(a,i){return r.ClassroomApiFp(e).classroomTeamsList(a,i)(t,o)},classroomTeamsMembersBulkCreate:function(a,i,n,s){return r.ClassroomApiFp(e).classroomTeamsMembersBulkCreate(a,i,n,s)(t,o)},classroomTeamsMembersCreate:function(a,i,n,s){return r.ClassroomApiFp(e).classroomTeamsMembersCreate(a,i,n,s)(t,o)},classroomTeamsMembersDelete:function(a,i,n,s){return r.ClassroomApiFp(e).classroomTeamsMembersDelete(a,i,n,s)(t,o)},classroomTeamsMembersList:function(a,i,n,s){return r.ClassroomApiFp(e).classroomTeamsMembersList(a,i,n,s)(t,o)},classroomTeamsMembersRead:function(a,i,n,s){return r.ClassroomApiFp(e).classroomTeamsMembersRead(a,i,n,s)(t,o)},classroomTeamsPartialUpdate:function(a,i,n,s,u,p){return r.ClassroomApiFp(e).classroomTeamsPartialUpdate(a,i,n,s,u,p)(t,o)},classroomTeamsRead:function(a,i,n){return r.ClassroomApiFp(e).classroomTeamsRead(a,i,n)(t,o)},classroomTeamsUpdate:function(a,i,n,s,u,p){return r.ClassroomApiFp(e).classroomTeamsUpdate(a,i,n,s,u,p)(t,o)},classroomUpdate:function(a,i,n){return r.ClassroomApiFp(e).classroomUpdate(a,i,n)(t,o)}}};var k=function(e){function o(){return null!==e&&e.apply(this,arguments)||this}return K(o,e),o.prototype.classroomCompetitionsList=function(e,o){return r.ClassroomApiFp(this.configuration).classroomCompetitionsList(e,o)(this.axios,this.basePath)},o.prototype.classroomCompetitionsRead=function(e,o,t){return r.ClassroomApiFp(this.configuration).classroomCompetitionsRead(e,o,t)(this.axios,this.basePath)},o.prototype.classroomCompetitionsRegisterTeam=function(e,o,t,a){return r.ClassroomApiFp(this.configuration).classroomCompetitionsRegisterTeam(e,o,t,a)(this.axios,this.basePath)},o.prototype.classroomCompetitionsRegisterUser=function(e,o,t,a){return r.ClassroomApiFp(this.configuration).classroomCompetitionsRegisterUser(e,o,t,a)(this.axios,this.basePath)},o.prototype.classroomCompetitionsSoloProgressionsDelete=function(e,o,t,a){return r.ClassroomApiFp(this.configuration).classroomCompetitionsSoloProgressionsDelete(e,o,t,a)(this.axios,this.basePath)},o.prototype.classroomCompetitionsSoloProgressionsFinals=function(e,o,t){return r.ClassroomApiFp(this.configuration).classroomCompetitionsSoloProgressionsFinals(e,o,t)(this.axios,this.basePath)},o.prototype.classroomCompetitionsSoloProgressionsList=function(e,o,t){return r.ClassroomApiFp(this.configuration).classroomCompetitionsSoloProgressionsList(e,o,t)(this.axios,this.basePath)},o.prototype.classroomCompetitionsSoloProgressionsPreQualification=function(e,o,t){return r.ClassroomApiFp(this.configuration).classroomCompetitionsSoloProgressionsPreQualification(e,o,t)(this.axios,this.basePath)},o.prototype.classroomCompetitionsSoloProgressionsQualifiers=function(e,o,t){return r.ClassroomApiFp(this.configuration).classroomCompetitionsSoloProgressionsQualifiers(e,o,t)(this.axios,this.basePath)},o.prototype.classroomCompetitionsSoloProgressionsRead=function(e,o,t,a){return r.ClassroomApiFp(this.configuration).classroomCompetitionsSoloProgressionsRead(e,o,t,a)(this.axios,this.basePath)},o.prototype.classroomCompetitionsTeamProgressionsDelete=function(e,o,t,a){return r.ClassroomApiFp(this.configuration).classroomCompetitionsTeamProgressionsDelete(e,o,t,a)(this.axios,this.basePath)},o.prototype.classroomCompetitionsTeamProgressionsFinals=function(e,o,t){return r.ClassroomApiFp(this.configuration).classroomCompetitionsTeamProgressionsFinals(e,o,t)(this.axios,this.basePath)},o.prototype.classroomCompetitionsTeamProgressionsList=function(e,o,t){return r.ClassroomApiFp(this.configuration).classroomCompetitionsTeamProgressionsList(e,o,t)(this.axios,this.basePath)},o.prototype.classroomCompetitionsTeamProgressionsPreQualification=function(e,o,t){return r.ClassroomApiFp(this.configuration).classroomCompetitionsTeamProgressionsPreQualification(e,o,t)(this.axios,this.basePath)},o.prototype.classroomCompetitionsTeamProgressionsQualifiers=function(e,o,t){return r.ClassroomApiFp(this.configuration).classroomCompetitionsTeamProgressionsQualifiers(e,o,t)(this.axios,this.basePath)},o.prototype.classroomCompetitionsTeamProgressionsRead=function(e,o,t,a){return r.ClassroomApiFp(this.configuration).classroomCompetitionsTeamProgressionsRead(e,o,t,a)(this.axios,this.basePath)},o.prototype.classroomCoursesList=function(e,o){return r.ClassroomApiFp(this.configuration).classroomCoursesList(e,o)(this.axios,this.basePath)},o.prototype.classroomCoursesLockLecture=function(e,o,t,a){return r.ClassroomApiFp(this.configuration).classroomCoursesLockLecture(e,o,t,a)(this.axios,this.basePath)},o.prototype.classroomCoursesParticipantProjectsReport=function(e,o,t,a,i,n,s){return r.ClassroomApiFp(this.configuration).classroomCoursesParticipantProjectsReport(e,o,t,a,i,n,s)(this.axios,this.basePath)},o.prototype.classroomCoursesParticipantProjectsReportByCourse=function(e,o,t,a,i,n,s){return r.ClassroomApiFp(this.configuration).classroomCoursesParticipantProjectsReportByCourse(e,o,t,a,i,n,s)(this.axios,this.basePath)},o.prototype.classroomCoursesProjectsList=function(e,o,t){return r.ClassroomApiFp(this.configuration).classroomCoursesProjectsList(e,o,t)(this.axios,this.basePath)},o.prototype.classroomCoursesProjectsOpen=function(e,o,t,a){return r.ClassroomApiFp(this.configuration).classroomCoursesProjectsOpen(e,o,t,a)(this.axios,this.basePath)},o.prototype.classroomCoursesProjectsPreview=function(e,o,t,a){return r.ClassroomApiFp(this.configuration).classroomCoursesProjectsPreview(e,o,t,a)(this.axios,this.basePath)},o.prototype.classroomCoursesProjectsRead=function(e,o,t,a){return r.ClassroomApiFp(this.configuration).classroomCoursesProjectsRead(e,o,t,a)(this.axios,this.basePath)},o.prototype.classroomCoursesQuizzesList=function(e,o,t){return r.ClassroomApiFp(this.configuration).classroomCoursesQuizzesList(e,o,t)(this.axios,this.basePath)},o.prototype.classroomCoursesQuizzesRead=function(e,o,t,a){return r.ClassroomApiFp(this.configuration).classroomCoursesQuizzesRead(e,o,t,a)(this.axios,this.basePath)},o.prototype.classroomCoursesRead=function(e,o,t){return r.ClassroomApiFp(this.configuration).classroomCoursesRead(e,o,t)(this.axios,this.basePath)},o.prototype.classroomCoursesUnlockLecture=function(e,o,t,a){return r.ClassroomApiFp(this.configuration).classroomCoursesUnlockLecture(e,o,t,a)(this.axios,this.basePath)},o.prototype.classroomCreate=function(e,o){return r.ClassroomApiFp(this.configuration).classroomCreate(e,o)(this.axios,this.basePath)},o.prototype.classroomDelete=function(e,o){return r.ClassroomApiFp(this.configuration).classroomDelete(e,o)(this.axios,this.basePath)},o.prototype.classroomList=function(e,o,t,a,i){return r.ClassroomApiFp(this.configuration).classroomList(e,o,t,a,i)(this.axios,this.basePath)},o.prototype.classroomPartialUpdate=function(e,o,t){return r.ClassroomApiFp(this.configuration).classroomPartialUpdate(e,o,t)(this.axios,this.basePath)},o.prototype.classroomProductCodesRedeem=function(e,o,t){return r.ClassroomApiFp(this.configuration).classroomProductCodesRedeem(e,o,t)(this.axios,this.basePath)},o.prototype.classroomRead=function(e,o){return r.ClassroomApiFp(this.configuration).classroomRead(e,o)(this.axios,this.basePath)},o.prototype.classroomSeatsAccept=function(e,o,t){return r.ClassroomApiFp(this.configuration).classroomSeatsAccept(e,o,t)(this.axios,this.basePath)},o.prototype.classroomSeatsAssign=function(e,o,t){return r.ClassroomApiFp(this.configuration).classroomSeatsAssign(e,o,t)(this.axios,this.basePath)},o.prototype.classroomSeatsClose=function(e,o,t){return r.ClassroomApiFp(this.configuration).classroomSeatsClose(e,o,t)(this.axios,this.basePath)},o.prototype.classroomSeatsList=function(e,o,t,a,i){return r.ClassroomApiFp(this.configuration).classroomSeatsList(e,o,t,a,i)(this.axios,this.basePath)},o.prototype.classroomSeatsPartialUpdate=function(e,o,t,a){return r.ClassroomApiFp(this.configuration).classroomSeatsPartialUpdate(e,o,t,a)(this.axios,this.basePath)},o.prototype.classroomSeatsRead=function(e,o,t){return r.ClassroomApiFp(this.configuration).classroomSeatsRead(e,o,t)(this.axios,this.basePath)},o.prototype.classroomSeatsReject=function(e,o,t){return r.ClassroomApiFp(this.configuration).classroomSeatsReject(e,o,t)(this.axios,this.basePath)},o.prototype.classroomSeatsUpdate=function(e,o,t,a){return r.ClassroomApiFp(this.configuration).classroomSeatsUpdate(e,o,t,a)(this.axios,this.basePath)},o.prototype.classroomSectionsCreate=function(e,o,t){return r.ClassroomApiFp(this.configuration).classroomSectionsCreate(e,o,t)(this.axios,this.basePath)},o.prototype.classroomSectionsList=function(e,o){return r.ClassroomApiFp(this.configuration).classroomSectionsList(e,o)(this.axios,this.basePath)},o.prototype.classroomTeachersCreate=function(e,o,t){return r.ClassroomApiFp(this.configuration).classroomTeachersCreate(e,o,t)(this.axios,this.basePath)},o.prototype.classroomTeachersDelete=function(e,o,t){return r.ClassroomApiFp(this.configuration).classroomTeachersDelete(e,o,t)(this.axios,this.basePath)},o.prototype.classroomTeachersList=function(e,o){return r.ClassroomApiFp(this.configuration).classroomTeachersList(e,o)(this.axios,this.basePath)},o.prototype.classroomTeachersRead=function(e,o,t){return r.ClassroomApiFp(this.configuration).classroomTeachersRead(e,o,t)(this.axios,this.basePath)},o.prototype.classroomTeachersSendEmail=function(e,o,t){return r.ClassroomApiFp(this.configuration).classroomTeachersSendEmail(e,o,t)(this.axios,this.basePath)},o.prototype.classroomTeamsCreate=function(e,o,t,a,i,n){return r.ClassroomApiFp(this.configuration).classroomTeamsCreate(e,o,t,a,i,n)(this.axios,this.basePath)},o.prototype.classroomTeamsDelete=function(e,o,t){return r.ClassroomApiFp(this.configuration).classroomTeamsDelete(e,o,t)(this.axios,this.basePath)},o.prototype.classroomTeamsList=function(e,o){return r.ClassroomApiFp(this.configuration).classroomTeamsList(e,o)(this.axios,this.basePath)},o.prototype.classroomTeamsMembersBulkCreate=function(e,o,t,a){return r.ClassroomApiFp(this.configuration).classroomTeamsMembersBulkCreate(e,o,t,a)(this.axios,this.basePath)},o.prototype.classroomTeamsMembersCreate=function(e,o,t,a){return r.ClassroomApiFp(this.configuration).classroomTeamsMembersCreate(e,o,t,a)(this.axios,this.basePath)},o.prototype.classroomTeamsMembersDelete=function(e,o,t,a){return r.ClassroomApiFp(this.configuration).classroomTeamsMembersDelete(e,o,t,a)(this.axios,this.basePath)},o.prototype.classroomTeamsMembersList=function(e,o,t,a){return r.ClassroomApiFp(this.configuration).classroomTeamsMembersList(e,o,t,a)(this.axios,this.basePath)},o.prototype.classroomTeamsMembersRead=function(e,o,t,a){return r.ClassroomApiFp(this.configuration).classroomTeamsMembersRead(e,o,t,a)(this.axios,this.basePath)},o.prototype.classroomTeamsPartialUpdate=function(e,o,t,a,i,n){return r.ClassroomApiFp(this.configuration).classroomTeamsPartialUpdate(e,o,t,a,i,n)(this.axios,this.basePath)},o.prototype.classroomTeamsRead=function(e,o,t){return r.ClassroomApiFp(this.configuration).classroomTeamsRead(e,o,t)(this.axios,this.basePath)},o.prototype.classroomTeamsUpdate=function(e,o,t,a,i,n){return r.ClassroomApiFp(this.configuration).classroomTeamsUpdate(e,o,t,a,i,n)(this.axios,this.basePath)},o.prototype.classroomUpdate=function(e,o,t){return r.ClassroomApiFp(this.configuration).classroomUpdate(e,o,t)(this.axios,this.basePath)},o}(z.BaseAPI);r.ClassroomApi=k,r.ClassroomCourseApiAxiosParamCreator=function(e){return{classroomCourseList:function(r){void 0===r&&(r={});var o,t=j.parse("/classroom-course/",!0);e&&(o=e.baseOptions);var a=E(E({method:"GET"},o),r),i={};if(e&&(e.username||e.password)&&(i.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var n="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;i.Authorization=n}return t.query=E(E(E({},t.query),{}),r.query),delete t.search,a.headers=E(E({},i),r.headers),{url:j.format(t),options:a}},classroomCourseRead:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling classroomCourseRead.");var t,a="/classroom-course/{id}/".replace("{id}",encodeURIComponent(String(r))),i=j.parse(a,!0);e&&(t=e.baseOptions);var n=E(E({method:"GET"},t),o),s={};if(e&&(e.username||e.password)&&(s.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var u="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;s.Authorization=u}return i.query=E(E(E({},i.query),{}),o.query),delete i.search,n.headers=E(E({},s),o.headers),{url:j.format(i),options:n}}}},r.ClassroomCourseApiFp=function(e){return{classroomCourseList:function(o){var t=r.ClassroomCourseApiAxiosParamCreator(e).classroomCourseList(o);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},t.options),{url:r+t.url});return e.request(o)}},classroomCourseRead:function(o,t){var a=r.ClassroomCourseApiAxiosParamCreator(e).classroomCourseRead(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}}}},r.ClassroomCourseApiFactory=function(e,o,t){return{classroomCourseList:function(a){return r.ClassroomCourseApiFp(e).classroomCourseList(a)(t,o)},classroomCourseRead:function(a,i){return r.ClassroomCourseApiFp(e).classroomCourseRead(a,i)(t,o)}}};var O=function(e){function o(){return null!==e&&e.apply(this,arguments)||this}return K(o,e),o.prototype.classroomCourseList=function(e){return r.ClassroomCourseApiFp(this.configuration).classroomCourseList(e)(this.axios,this.basePath)},o.prototype.classroomCourseRead=function(e,o){return r.ClassroomCourseApiFp(this.configuration).classroomCourseRead(e,o)(this.axios,this.basePath)},o}(z.BaseAPI);r.ClassroomCourseApi=O,r.CompetitionsApiAxiosParamCreator=function(e){return{competitionsLeaderboardList:function(r,o,t,a,i){if(void 0===i&&(i={}),null==r)throw new z.RequiredError("competition_slug","Required parameter competition_slug was null or undefined when calling competitionsLeaderboardList.");if(null==o)throw new z.RequiredError("stage","Required parameter stage was null or undefined when calling competitionsLeaderboardList.");var n,s="/competitions/{competition_slug}/leaderboard/".replace("{competition_slug}",encodeURIComponent(String(r))),u=j.parse(s,!0);e&&(n=e.baseOptions);var p=E(E({method:"GET"},n),i),c={},l={};if(e&&(e.username||e.password)&&(c.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var d="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;c.Authorization=d}return void 0!==o&&(l.stage=o),void 0!==t&&(l.page=t),void 0!==a&&(l.page_size=a),u.query=E(E(E({},u.query),l),i.query),delete u.search,p.headers=E(E({},c),i.headers),{url:j.format(u),options:p}},competitionsList:function(r){void 0===r&&(r={});var o,t=j.parse("/competitions/",!0);e&&(o=e.baseOptions);var a=E(E({method:"GET"},o),r),i={};if(e&&(e.username||e.password)&&(i.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var n="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;i.Authorization=n}return t.query=E(E(E({},t.query),{}),r.query),delete t.search,a.headers=E(E({},i),r.headers),{url:j.format(t),options:a}},competitionsRead:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("slug","Required parameter slug was null or undefined when calling competitionsRead.");var t,a="/competitions/{slug}/".replace("{slug}",encodeURIComponent(String(r))),i=j.parse(a,!0);e&&(t=e.baseOptions);var n=E(E({method:"GET"},t),o),s={};if(e&&(e.username||e.password)&&(s.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var u="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;s.Authorization=u}return i.query=E(E(E({},i.query),{}),o.query),delete i.search,n.headers=E(E({},s),o.headers),{url:j.format(i),options:n}}}},r.CompetitionsApiFp=function(e){return{competitionsLeaderboardList:function(o,t,a,i,n){var s=r.CompetitionsApiAxiosParamCreator(e).competitionsLeaderboardList(o,t,a,i,n);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},s.options),{url:r+s.url});return e.request(o)}},competitionsList:function(o){var t=r.CompetitionsApiAxiosParamCreator(e).competitionsList(o);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},t.options),{url:r+t.url});return e.request(o)}},competitionsRead:function(o,t){var a=r.CompetitionsApiAxiosParamCreator(e).competitionsRead(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}}}},r.CompetitionsApiFactory=function(e,o,t){return{competitionsLeaderboardList:function(a,i,n,s,u){return r.CompetitionsApiFp(e).competitionsLeaderboardList(a,i,n,s,u)(t,o)},competitionsList:function(a){return r.CompetitionsApiFp(e).competitionsList(a)(t,o)},competitionsRead:function(a,i){return r.CompetitionsApiFp(e).competitionsRead(a,i)(t,o)}}};var D=function(e){function o(){return null!==e&&e.apply(this,arguments)||this}return K(o,e),o.prototype.competitionsLeaderboardList=function(e,o,t,a,i){return r.CompetitionsApiFp(this.configuration).competitionsLeaderboardList(e,o,t,a,i)(this.axios,this.basePath)},o.prototype.competitionsList=function(e){return r.CompetitionsApiFp(this.configuration).competitionsList(e)(this.axios,this.basePath)},o.prototype.competitionsRead=function(e,o){return r.CompetitionsApiFp(this.configuration).competitionsRead(e,o)(this.axios,this.basePath)},o}(z.BaseAPI);r.CompetitionsApi=D,r.ConnectedDeviceApiAxiosParamCreator=function(e){return{connectedDeviceCreate:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("data","Required parameter data was null or undefined when calling connectedDeviceCreate.");var t,a=j.parse("/connected-device/",!0);e&&(t=e.baseOptions);var i=E(E({method:"POST"},t),o),n={};if(e&&(e.username||e.password)&&(n.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var s="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;n.Authorization=s}n["Content-Type"]="application/json",a.query=E(E(E({},a.query),{}),o.query),delete a.search,i.headers=E(E({},n),o.headers);var u="string"!=typeof r||"application/json"===i.headers["Content-Type"];return i.data=u?JSON.stringify(void 0!==r?r:{}):r||"",{url:j.format(a),options:i}},connectedDeviceDelete:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling connectedDeviceDelete.");var t,a="/connected-device/{id}/".replace("{id}",encodeURIComponent(String(r))),i=j.parse(a,!0);e&&(t=e.baseOptions);var n=E(E({method:"DELETE"},t),o),s={};if(e&&(e.username||e.password)&&(s.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var u="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;s.Authorization=u}return i.query=E(E(E({},i.query),{}),o.query),delete i.search,n.headers=E(E({},s),o.headers),{url:j.format(i),options:n}},connectedDeviceList:function(r){void 0===r&&(r={});var o,t=j.parse("/connected-device/",!0);e&&(o=e.baseOptions);var a=E(E({method:"GET"},o),r),i={};if(e&&(e.username||e.password)&&(i.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var n="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;i.Authorization=n}return t.query=E(E(E({},t.query),{}),r.query),delete t.search,a.headers=E(E({},i),r.headers),{url:j.format(t),options:a}},connectedDeviceRead:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling connectedDeviceRead.");var t,a="/connected-device/{id}/".replace("{id}",encodeURIComponent(String(r))),i=j.parse(a,!0);e&&(t=e.baseOptions);var n=E(E({method:"GET"},t),o),s={};if(e&&(e.username||e.password)&&(s.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var u="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;s.Authorization=u}return i.query=E(E(E({},i.query),{}),o.query),delete i.search,n.headers=E(E({},s),o.headers),{url:j.format(i),options:n}}}},r.ConnectedDeviceApiFp=function(e){return{connectedDeviceCreate:function(o,t){var a=r.ConnectedDeviceApiAxiosParamCreator(e).connectedDeviceCreate(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}},connectedDeviceDelete:function(o,t){var a=r.ConnectedDeviceApiAxiosParamCreator(e).connectedDeviceDelete(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}},connectedDeviceList:function(o){var t=r.ConnectedDeviceApiAxiosParamCreator(e).connectedDeviceList(o);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},t.options),{url:r+t.url});return e.request(o)}},connectedDeviceRead:function(o,t){var a=r.ConnectedDeviceApiAxiosParamCreator(e).connectedDeviceRead(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}}}},r.ConnectedDeviceApiFactory=function(e,o,t){return{connectedDeviceCreate:function(a,i){return r.ConnectedDeviceApiFp(e).connectedDeviceCreate(a,i)(t,o)},connectedDeviceDelete:function(a,i){return r.ConnectedDeviceApiFp(e).connectedDeviceDelete(a,i)(t,o)},connectedDeviceList:function(a){return r.ConnectedDeviceApiFp(e).connectedDeviceList(a)(t,o)},connectedDeviceRead:function(a,i){return r.ConnectedDeviceApiFp(e).connectedDeviceRead(a,i)(t,o)}}};var G=function(e){function o(){return null!==e&&e.apply(this,arguments)||this}return K(o,e),o.prototype.connectedDeviceCreate=function(e,o){return r.ConnectedDeviceApiFp(this.configuration).connectedDeviceCreate(e,o)(this.axios,this.basePath)},o.prototype.connectedDeviceDelete=function(e,o){return r.ConnectedDeviceApiFp(this.configuration).connectedDeviceDelete(e,o)(this.axios,this.basePath)},o.prototype.connectedDeviceList=function(e){return r.ConnectedDeviceApiFp(this.configuration).connectedDeviceList(e)(this.axios,this.basePath)},o.prototype.connectedDeviceRead=function(e,o){return r.ConnectedDeviceApiFp(this.configuration).connectedDeviceRead(e,o)(this.axios,this.basePath)},o}(z.BaseAPI);r.ConnectedDeviceApi=G,r.CourseApiAxiosParamCreator=function(e){return{courseJoin:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("slug","Required parameter slug was null or undefined when calling courseJoin.");if(null==o)throw new z.RequiredError("data","Required parameter data was null or undefined when calling courseJoin.");var a,i="/course/{slug}/join/".replace("{slug}",encodeURIComponent(String(r))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"POST"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}u["Content-Type"]="application/json",n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers);var c="string"!=typeof o||"application/json"===s.headers["Content-Type"];return s.data=c?JSON.stringify(void 0!==o?o:{}):o||"",{url:j.format(n),options:s}},courseLecturesCreate:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("course_slug","Required parameter course_slug was null or undefined when calling courseLecturesCreate.");if(null==o)throw new z.RequiredError("data","Required parameter data was null or undefined when calling courseLecturesCreate.");var a,i="/course/{course_slug}/lectures/".replace("{course_slug}",encodeURIComponent(String(r))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"POST"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}u["Content-Type"]="application/json",n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers);var c="string"!=typeof o||"application/json"===s.headers["Content-Type"];return s.data=c?JSON.stringify(void 0!==o?o:{}):o||"",{url:j.format(n),options:s}},courseLecturesDelete:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("course_slug","Required parameter course_slug was null or undefined when calling courseLecturesDelete.");if(null==o)throw new z.RequiredError("id","Required parameter id was null or undefined when calling courseLecturesDelete.");var a,i="/course/{course_slug}/lectures/{id}/".replace("{course_slug}",encodeURIComponent(String(r))).replace("{id}",encodeURIComponent(String(o))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"DELETE"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}return n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers),{url:j.format(n),options:s}},courseLecturesList:function(r,o,t,a){if(void 0===a&&(a={}),null==r)throw new z.RequiredError("course_slug","Required parameter course_slug was null or undefined when calling courseLecturesList.");var i,n="/course/{course_slug}/lectures/".replace("{course_slug}",encodeURIComponent(String(r))),s=j.parse(n,!0);e&&(i=e.baseOptions);var u=E(E({method:"GET"},i),a),p={},c={};if(e&&(e.username||e.password)&&(p.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var l="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;p.Authorization=l}return void 0!==o&&(c.page=o),void 0!==t&&(c.page_size=t),s.query=E(E(E({},s.query),c),a.query),delete s.search,u.headers=E(E({},p),a.headers),{url:j.format(s),options:u}},courseLecturesPartialUpdate:function(r,o,t,a){if(void 0===a&&(a={}),null==r)throw new z.RequiredError("course_slug","Required parameter course_slug was null or undefined when calling courseLecturesPartialUpdate.");if(null==o)throw new z.RequiredError("id","Required parameter id was null or undefined when calling courseLecturesPartialUpdate.");if(null==t)throw new z.RequiredError("data","Required parameter data was null or undefined when calling courseLecturesPartialUpdate.");var i,n="/course/{course_slug}/lectures/{id}/".replace("{course_slug}",encodeURIComponent(String(r))).replace("{id}",encodeURIComponent(String(o))),s=j.parse(n,!0);e&&(i=e.baseOptions);var u=E(E({method:"PATCH"},i),a),p={};if(e&&(e.username||e.password)&&(p.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var c="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;p.Authorization=c}p["Content-Type"]="application/json",s.query=E(E(E({},s.query),{}),a.query),delete s.search,u.headers=E(E({},p),a.headers);var l="string"!=typeof t||"application/json"===u.headers["Content-Type"];return u.data=l?JSON.stringify(void 0!==t?t:{}):t||"",{url:j.format(s),options:u}},courseLecturesRead:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("course_slug","Required parameter course_slug was null or undefined when calling courseLecturesRead.");if(null==o)throw new z.RequiredError("id","Required parameter id was null or undefined when calling courseLecturesRead.");var a,i="/course/{course_slug}/lectures/{id}/".replace("{course_slug}",encodeURIComponent(String(r))).replace("{id}",encodeURIComponent(String(o))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"GET"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}return n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers),{url:j.format(n),options:s}},courseLecturesUpdate:function(r,o,t,a){if(void 0===a&&(a={}),null==r)throw new z.RequiredError("course_slug","Required parameter course_slug was null or undefined when calling courseLecturesUpdate.");if(null==o)throw new z.RequiredError("id","Required parameter id was null or undefined when calling courseLecturesUpdate.");if(null==t)throw new z.RequiredError("data","Required parameter data was null or undefined when calling courseLecturesUpdate.");var i,n="/course/{course_slug}/lectures/{id}/".replace("{course_slug}",encodeURIComponent(String(r))).replace("{id}",encodeURIComponent(String(o))),s=j.parse(n,!0);e&&(i=e.baseOptions);var u=E(E({method:"PUT"},i),a),p={};if(e&&(e.username||e.password)&&(p.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var c="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;p.Authorization=c}p["Content-Type"]="application/json",s.query=E(E(E({},s.query),{}),a.query),delete s.search,u.headers=E(E({},p),a.headers);var l="string"!=typeof t||"application/json"===u.headers["Content-Type"];return u.data=l?JSON.stringify(void 0!==t?t:{}):t||"",{url:j.format(s),options:u}},courseList:function(r){void 0===r&&(r={});var o,t=j.parse("/course/",!0);e&&(o=e.baseOptions);var a=E(E({method:"GET"},o),r),i={};if(e&&(e.username||e.password)&&(i.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var n="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;i.Authorization=n}return t.query=E(E(E({},t.query),{}),r.query),delete t.search,a.headers=E(E({},i),r.headers),{url:j.format(t),options:a}},coursePartialUpdate:function(r,o,t,a){if(void 0===a&&(a={}),null==r)throw new z.RequiredError("slug","Required parameter slug was null or undefined when calling coursePartialUpdate.");var i,n="/course/{slug}/".replace("{slug}",encodeURIComponent(String(r))),s=j.parse(n,!0);e&&(i=e.baseOptions);var u=E(E({method:"PATCH"},i),a),p={},c=new FormData;if(e&&(e.username||e.password)&&(p.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var l="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;p.Authorization=l}return void 0!==o&&c.append("name",o),void 0!==t&&c.append("image",t),p["Content-Type"]="multipart/form-data",s.query=E(E(E({},s.query),{}),a.query),delete s.search,u.headers=E(E({},p),a.headers),u.data=c,{url:j.format(s),options:u}},courseParticipantProjectsInspect:function(r,o,t,a,i,n){if(void 0===n&&(n={}),null==r)throw new z.RequiredError("course_slug","Required parameter course_slug was null or undefined when calling courseParticipantProjectsInspect.");var s,u="/course/{course_slug}/participant-projects/inspect/".replace("{course_slug}",encodeURIComponent(String(r))),p=j.parse(u,!0);e&&(s=e.baseOptions);var c=E(E({method:"GET"},s),n),l={},d={};if(e&&(e.username||e.password)&&(l.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var h="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;l.Authorization=h}return void 0!==o&&(d.lecture=o),void 0!==t&&(d.user=t),void 0!==a&&(d.page=a),void 0!==i&&(d.page_size=i),p.query=E(E(E({},p.query),d),n.query),delete p.search,c.headers=E(E({},l),n.headers),{url:j.format(p),options:c}},courseProjectsList:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("course_slug","Required parameter course_slug was null or undefined when calling courseProjectsList.");var t,a="/course/{course_slug}/projects/".replace("{course_slug}",encodeURIComponent(String(r))),i=j.parse(a,!0);e&&(t=e.baseOptions);var n=E(E({method:"GET"},t),o),s={};if(e&&(e.username||e.password)&&(s.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var u="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;s.Authorization=u}return i.query=E(E(E({},i.query),{}),o.query),delete i.search,n.headers=E(E({},s),o.headers),{url:j.format(i),options:n}},courseProjectsOpen:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("course_slug","Required parameter course_slug was null or undefined when calling courseProjectsOpen.");if(null==o)throw new z.RequiredError("id","Required parameter id was null or undefined when calling courseProjectsOpen.");var a,i="/course/{course_slug}/projects/{id}/open/".replace("{course_slug}",encodeURIComponent(String(r))).replace("{id}",encodeURIComponent(String(o))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"POST"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}return n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers),{url:j.format(n),options:s}},courseProjectsRead:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("course_slug","Required parameter course_slug was null or undefined when calling courseProjectsRead.");if(null==o)throw new z.RequiredError("id","Required parameter id was null or undefined when calling courseProjectsRead.");var a,i="/course/{course_slug}/projects/{id}/".replace("{course_slug}",encodeURIComponent(String(r))).replace("{id}",encodeURIComponent(String(o))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"GET"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}return n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers),{url:j.format(n),options:s}},courseRead:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("slug","Required parameter slug was null or undefined when calling courseRead.");var t,a="/course/{slug}/".replace("{slug}",encodeURIComponent(String(r))),i=j.parse(a,!0);e&&(t=e.baseOptions);var n=E(E({method:"GET"},t),o),s={};if(e&&(e.username||e.password)&&(s.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var u="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;s.Authorization=u}return i.query=E(E(E({},i.query),{}),o.query),delete i.search,n.headers=E(E({},s),o.headers),{url:j.format(i),options:n}},courseUpdate:function(r,o,t,a){if(void 0===a&&(a={}),null==r)throw new z.RequiredError("slug","Required parameter slug was null or undefined when calling courseUpdate.");var i,n="/course/{slug}/".replace("{slug}",encodeURIComponent(String(r))),s=j.parse(n,!0);e&&(i=e.baseOptions);var u=E(E({method:"PUT"},i),a),p={},c=new FormData;if(e&&(e.username||e.password)&&(p.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var l="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;p.Authorization=l}return void 0!==o&&c.append("name",o),void 0!==t&&c.append("image",t),p["Content-Type"]="multipart/form-data",s.query=E(E(E({},s.query),{}),a.query),delete s.search,u.headers=E(E({},p),a.headers),u.data=c,{url:j.format(s),options:u}}}},r.CourseApiFp=function(e){return{courseJoin:function(o,t,a){var i=r.CourseApiAxiosParamCreator(e).courseJoin(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},courseLecturesCreate:function(o,t,a){var i=r.CourseApiAxiosParamCreator(e).courseLecturesCreate(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},courseLecturesDelete:function(o,t,a){var i=r.CourseApiAxiosParamCreator(e).courseLecturesDelete(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},courseLecturesList:function(o,t,a,i){var n=r.CourseApiAxiosParamCreator(e).courseLecturesList(o,t,a,i);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},n.options),{url:r+n.url});return e.request(o)}},courseLecturesPartialUpdate:function(o,t,a,i){var n=r.CourseApiAxiosParamCreator(e).courseLecturesPartialUpdate(o,t,a,i);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},n.options),{url:r+n.url});return e.request(o)}},courseLecturesRead:function(o,t,a){var i=r.CourseApiAxiosParamCreator(e).courseLecturesRead(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},courseLecturesUpdate:function(o,t,a,i){var n=r.CourseApiAxiosParamCreator(e).courseLecturesUpdate(o,t,a,i);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},n.options),{url:r+n.url});return e.request(o)}},courseList:function(o){var t=r.CourseApiAxiosParamCreator(e).courseList(o);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},t.options),{url:r+t.url});return e.request(o)}},coursePartialUpdate:function(o,t,a,i){var n=r.CourseApiAxiosParamCreator(e).coursePartialUpdate(o,t,a,i);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},n.options),{url:r+n.url});return e.request(o)}},courseParticipantProjectsInspect:function(o,t,a,i,n,s){var u=r.CourseApiAxiosParamCreator(e).courseParticipantProjectsInspect(o,t,a,i,n,s);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},u.options),{url:r+u.url});return e.request(o)}},courseProjectsList:function(o,t){var a=r.CourseApiAxiosParamCreator(e).courseProjectsList(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}},courseProjectsOpen:function(o,t,a){var i=r.CourseApiAxiosParamCreator(e).courseProjectsOpen(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},courseProjectsRead:function(o,t,a){var i=r.CourseApiAxiosParamCreator(e).courseProjectsRead(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},courseRead:function(o,t){var a=r.CourseApiAxiosParamCreator(e).courseRead(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}},courseUpdate:function(o,t,a,i){var n=r.CourseApiAxiosParamCreator(e).courseUpdate(o,t,a,i);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},n.options),{url:r+n.url});return e.request(o)}}}},r.CourseApiFactory=function(e,o,t){return{courseJoin:function(a,i,n){return r.CourseApiFp(e).courseJoin(a,i,n)(t,o)},courseLecturesCreate:function(a,i,n){return r.CourseApiFp(e).courseLecturesCreate(a,i,n)(t,o)},courseLecturesDelete:function(a,i,n){return r.CourseApiFp(e).courseLecturesDelete(a,i,n)(t,o)},courseLecturesList:function(a,i,n,s){return r.CourseApiFp(e).courseLecturesList(a,i,n,s)(t,o)},courseLecturesPartialUpdate:function(a,i,n,s){return r.CourseApiFp(e).courseLecturesPartialUpdate(a,i,n,s)(t,o)},courseLecturesRead:function(a,i,n){return r.CourseApiFp(e).courseLecturesRead(a,i,n)(t,o)},courseLecturesUpdate:function(a,i,n,s){return r.CourseApiFp(e).courseLecturesUpdate(a,i,n,s)(t,o)},courseList:function(a){return r.CourseApiFp(e).courseList(a)(t,o)},coursePartialUpdate:function(a,i,n,s){return r.CourseApiFp(e).coursePartialUpdate(a,i,n,s)(t,o)},courseParticipantProjectsInspect:function(a,i,n,s,u,p){return r.CourseApiFp(e).courseParticipantProjectsInspect(a,i,n,s,u,p)(t,o)},courseProjectsList:function(a,i){return r.CourseApiFp(e).courseProjectsList(a,i)(t,o)},courseProjectsOpen:function(a,i,n){return r.CourseApiFp(e).courseProjectsOpen(a,i,n)(t,o)},courseProjectsRead:function(a,i,n){return r.CourseApiFp(e).courseProjectsRead(a,i,n)(t,o)},courseRead:function(a,i){return r.CourseApiFp(e).courseRead(a,i)(t,o)},courseUpdate:function(a,i,n,s){return r.CourseApiFp(e).courseUpdate(a,i,n,s)(t,o)}}};var M=function(e){function o(){return null!==e&&e.apply(this,arguments)||this}return K(o,e),o.prototype.courseJoin=function(e,o,t){return r.CourseApiFp(this.configuration).courseJoin(e,o,t)(this.axios,this.basePath)},o.prototype.courseLecturesCreate=function(e,o,t){return r.CourseApiFp(this.configuration).courseLecturesCreate(e,o,t)(this.axios,this.basePath)},o.prototype.courseLecturesDelete=function(e,o,t){return r.CourseApiFp(this.configuration).courseLecturesDelete(e,o,t)(this.axios,this.basePath)},o.prototype.courseLecturesList=function(e,o,t,a){return r.CourseApiFp(this.configuration).courseLecturesList(e,o,t,a)(this.axios,this.basePath)},o.prototype.courseLecturesPartialUpdate=function(e,o,t,a){return r.CourseApiFp(this.configuration).courseLecturesPartialUpdate(e,o,t,a)(this.axios,this.basePath)},o.prototype.courseLecturesRead=function(e,o,t){return r.CourseApiFp(this.configuration).courseLecturesRead(e,o,t)(this.axios,this.basePath)},o.prototype.courseLecturesUpdate=function(e,o,t,a){return r.CourseApiFp(this.configuration).courseLecturesUpdate(e,o,t,a)(this.axios,this.basePath)},o.prototype.courseList=function(e){return r.CourseApiFp(this.configuration).courseList(e)(this.axios,this.basePath)},o.prototype.coursePartialUpdate=function(e,o,t,a){return r.CourseApiFp(this.configuration).coursePartialUpdate(e,o,t,a)(this.axios,this.basePath)},o.prototype.courseParticipantProjectsInspect=function(e,o,t,a,i,n){return r.CourseApiFp(this.configuration).courseParticipantProjectsInspect(e,o,t,a,i,n)(this.axios,this.basePath)},o.prototype.courseProjectsList=function(e,o){return r.CourseApiFp(this.configuration).courseProjectsList(e,o)(this.axios,this.basePath)},o.prototype.courseProjectsOpen=function(e,o,t){return r.CourseApiFp(this.configuration).courseProjectsOpen(e,o,t)(this.axios,this.basePath)},o.prototype.courseProjectsRead=function(e,o,t){return r.CourseApiFp(this.configuration).courseProjectsRead(e,o,t)(this.axios,this.basePath)},o.prototype.courseRead=function(e,o){return r.CourseApiFp(this.configuration).courseRead(e,o)(this.axios,this.basePath)},o.prototype.courseUpdate=function(e,o,t,a){return r.CourseApiFp(this.configuration).courseUpdate(e,o,t,a)(this.axios,this.basePath)},o}(z.BaseAPI);r.CourseApi=M,r.CreditsApiAxiosParamCreator=function(e){return{creditsList:function(r){void 0===r&&(r={});var o,t=j.parse("/credits/",!0);e&&(o=e.baseOptions);var a=E(E({method:"GET"},o),r),i={};if(e&&(e.username||e.password)&&(i.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var n="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;i.Authorization=n}return t.query=E(E(E({},t.query),{}),r.query),delete t.search,a.headers=E(E({},i),r.headers),{url:j.format(t),options:a}},creditsRead:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling creditsRead.");var t,a="/credits/{id}/".replace("{id}",encodeURIComponent(String(r))),i=j.parse(a,!0);e&&(t=e.baseOptions);var n=E(E({method:"GET"},t),o),s={};if(e&&(e.username||e.password)&&(s.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var u="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;s.Authorization=u}return i.query=E(E(E({},i.query),{}),o.query),delete i.search,n.headers=E(E({},s),o.headers),{url:j.format(i),options:n}}}},r.CreditsApiFp=function(e){return{creditsList:function(o){var t=r.CreditsApiAxiosParamCreator(e).creditsList(o);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},t.options),{url:r+t.url});return e.request(o)}},creditsRead:function(o,t){var a=r.CreditsApiAxiosParamCreator(e).creditsRead(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}}}},r.CreditsApiFactory=function(e,o,t){return{creditsList:function(a){return r.CreditsApiFp(e).creditsList(a)(t,o)},creditsRead:function(a,i){return r.CreditsApiFp(e).creditsRead(a,i)(t,o)}}};var H=function(e){function o(){return null!==e&&e.apply(this,arguments)||this}return K(o,e),o.prototype.creditsList=function(e){return r.CreditsApiFp(this.configuration).creditsList(e)(this.axios,this.basePath)},o.prototype.creditsRead=function(e,o){return r.CreditsApiFp(this.configuration).creditsRead(e,o)(this.axios,this.basePath)},o}(z.BaseAPI);r.CreditsApi=H,r.EditorCapabilitiesApiAxiosParamCreator=function(e){return{editorCapabilitiesList:function(r){void 0===r&&(r={});var o,t=j.parse("/editor-capabilities/",!0);e&&(o=e.baseOptions);var a=E(E({method:"GET"},o),r),i={};if(e&&(e.username||e.password)&&(i.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var n="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;i.Authorization=n}return t.query=E(E(E({},t.query),{}),r.query),delete t.search,a.headers=E(E({},i),r.headers),{url:j.format(t),options:a}}}},r.EditorCapabilitiesApiFp=function(e){return{editorCapabilitiesList:function(o){var t=r.EditorCapabilitiesApiAxiosParamCreator(e).editorCapabilitiesList(o);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},t.options),{url:r+t.url});return e.request(o)}}}},r.EditorCapabilitiesApiFactory=function(e,o,t){return{editorCapabilitiesList:function(a){return r.EditorCapabilitiesApiFp(e).editorCapabilitiesList(a)(t,o)}}};var Q=function(e){function o(){return null!==e&&e.apply(this,arguments)||this}return K(o,e),o.prototype.editorCapabilitiesList=function(e){return r.EditorCapabilitiesApiFp(this.configuration).editorCapabilitiesList(e)(this.axios,this.basePath)},o}(z.BaseAPI);r.EditorCapabilitiesApi=Q,r.EditorContainersApiAxiosParamCreator=function(e){return{editorContainersPortsCreate:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("editor_container_pk","Required parameter editor_container_pk was null or undefined when calling editorContainersPortsCreate.");if(null==o)throw new z.RequiredError("data","Required parameter data was null or undefined when calling editorContainersPortsCreate.");var a,i="/editor-containers/{editor_container_pk}/ports/".replace("{editor_container_pk}",encodeURIComponent(String(r))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"POST"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}u["Content-Type"]="application/json",n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers);var c="string"!=typeof o||"application/json"===s.headers["Content-Type"];return s.data=c?JSON.stringify(void 0!==o?o:{}):o||"",{url:j.format(n),options:s}},editorContainersPortsList:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("editor_container_pk","Required parameter editor_container_pk was null or undefined when calling editorContainersPortsList.");var t,a="/editor-containers/{editor_container_pk}/ports/".replace("{editor_container_pk}",encodeURIComponent(String(r))),i=j.parse(a,!0);e&&(t=e.baseOptions);var n=E(E({method:"GET"},t),o),s={};if(e&&(e.username||e.password)&&(s.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var u="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;s.Authorization=u}return i.query=E(E(E({},i.query),{}),o.query),delete i.search,n.headers=E(E({},s),o.headers),{url:j.format(i),options:n}}}},r.EditorContainersApiFp=function(e){return{editorContainersPortsCreate:function(o,t,a){var i=r.EditorContainersApiAxiosParamCreator(e).editorContainersPortsCreate(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},editorContainersPortsList:function(o,t){var a=r.EditorContainersApiAxiosParamCreator(e).editorContainersPortsList(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}}}},r.EditorContainersApiFactory=function(e,o,t){return{editorContainersPortsCreate:function(a,i,n){return r.EditorContainersApiFp(e).editorContainersPortsCreate(a,i,n)(t,o)},editorContainersPortsList:function(a,i){return r.EditorContainersApiFp(e).editorContainersPortsList(a,i)(t,o)}}};var N=function(e){function o(){return null!==e&&e.apply(this,arguments)||this}return K(o,e),o.prototype.editorContainersPortsCreate=function(e,o,t){return r.EditorContainersApiFp(this.configuration).editorContainersPortsCreate(e,o,t)(this.axios,this.basePath)},o.prototype.editorContainersPortsList=function(e,o){return r.EditorContainersApiFp(this.configuration).editorContainersPortsList(e,o)(this.axios,this.basePath)},o}(z.BaseAPI);r.EditorContainersApi=N,r.EditorExpenseApiAxiosParamCreator=function(e){return{editorExpenseList:function(r,o,t,a,i,n,s){void 0===s&&(s={});var u,p=j.parse("/editor-expense/",!0);e&&(u=e.baseOptions);var c=E(E({method:"GET"},u),s),l={},d={};if(e&&(e.username||e.password)&&(l.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var h="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;l.Authorization=h}return void 0!==r&&(d.project=r),void 0!==o&&(d.mine=o),void 0!==t&&(d.month=t),void 0!==a&&(d.year=a),void 0!==i&&(d.page=i),void 0!==n&&(d.page_size=n),p.query=E(E(E({},p.query),d),s.query),delete p.search,c.headers=E(E({},l),s.headers),{url:j.format(p),options:c}},editorExpenseRead:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling editorExpenseRead.");var t,a="/editor-expense/{id}/".replace("{id}",encodeURIComponent(String(r))),i=j.parse(a,!0);e&&(t=e.baseOptions);var n=E(E({method:"GET"},t),o),s={};if(e&&(e.username||e.password)&&(s.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var u="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;s.Authorization=u}return i.query=E(E(E({},i.query),{}),o.query),delete i.search,n.headers=E(E({},s),o.headers),{url:j.format(i),options:n}}}},r.EditorExpenseApiFp=function(e){return{editorExpenseList:function(o,t,a,i,n,s,u){var p=r.EditorExpenseApiAxiosParamCreator(e).editorExpenseList(o,t,a,i,n,s,u);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},p.options),{url:r+p.url});return e.request(o)}},editorExpenseRead:function(o,t){var a=r.EditorExpenseApiAxiosParamCreator(e).editorExpenseRead(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}}}},r.EditorExpenseApiFactory=function(e,o,t){return{editorExpenseList:function(a,i,n,s,u,p,c){return r.EditorExpenseApiFp(e).editorExpenseList(a,i,n,s,u,p,c)(t,o)},editorExpenseRead:function(a,i){return r.EditorExpenseApiFp(e).editorExpenseRead(a,i)(t,o)}}};var J=function(e){function o(){return null!==e&&e.apply(this,arguments)||this}return K(o,e),o.prototype.editorExpenseList=function(e,o,t,a,i,n,s){return r.EditorExpenseApiFp(this.configuration).editorExpenseList(e,o,t,a,i,n,s)(this.axios,this.basePath)},o.prototype.editorExpenseRead=function(e,o){return r.EditorExpenseApiFp(this.configuration).editorExpenseRead(e,o)(this.axios,this.basePath)},o}(z.BaseAPI);r.EditorExpenseApi=J,r.EditorImageApiAxiosParamCreator=function(e){return{editorImageList:function(r){void 0===r&&(r={});var o,t=j.parse("/editor-image/",!0);e&&(o=e.baseOptions);var a=E(E({method:"GET"},o),r),i={};if(e&&(e.username||e.password)&&(i.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var n="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;i.Authorization=n}return t.query=E(E(E({},t.query),{}),r.query),delete t.search,a.headers=E(E({},i),r.headers),{url:j.format(t),options:a}},editorImageRead:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling editorImageRead.");var t,a="/editor-image/{id}/".replace("{id}",encodeURIComponent(String(r))),i=j.parse(a,!0);e&&(t=e.baseOptions);var n=E(E({method:"GET"},t),o),s={};if(e&&(e.username||e.password)&&(s.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var u="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;s.Authorization=u}return i.query=E(E(E({},i.query),{}),o.query),delete i.search,n.headers=E(E({},s),o.headers),{url:j.format(i),options:n}}}},r.EditorImageApiFp=function(e){return{editorImageList:function(o){var t=r.EditorImageApiAxiosParamCreator(e).editorImageList(o);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},t.options),{url:r+t.url});return e.request(o)}},editorImageRead:function(o,t){var a=r.EditorImageApiAxiosParamCreator(e).editorImageRead(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}}}},r.EditorImageApiFactory=function(e,o,t){return{editorImageList:function(a){return r.EditorImageApiFp(e).editorImageList(a)(t,o)},editorImageRead:function(a,i){return r.EditorImageApiFp(e).editorImageRead(a,i)(t,o)}}};var V=function(e){function o(){return null!==e&&e.apply(this,arguments)||this}return K(o,e),o.prototype.editorImageList=function(e){return r.EditorImageApiFp(this.configuration).editorImageList(e)(this.axios,this.basePath)},o.prototype.editorImageRead=function(e,o){return r.EditorImageApiFp(this.configuration).editorImageRead(e,o)(this.axios,this.basePath)},o}(z.BaseAPI);r.EditorImageApi=V,r.EditorSessionApiAxiosParamCreator=function(e){return{editorSessionHeartbeat:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling editorSessionHeartbeat.");if(null==o)throw new z.RequiredError("has_container","Required parameter has_container was null or undefined when calling editorSessionHeartbeat.");var a,i="/editor-session/{id}/heartbeat/".replace("{id}",encodeURIComponent(String(r))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"POST"},a),t),u={},p={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var c="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=c}return void 0!==o&&(p.has_container=o),n.query=E(E(E({},n.query),p),t.query),delete n.search,s.headers=E(E({},u),t.headers),{url:j.format(n),options:s}},editorSessionList:function(r){void 0===r&&(r={});var o,t=j.parse("/editor-session/",!0);e&&(o=e.baseOptions);var a=E(E({method:"GET"},o),r),i={};if(e&&(e.username||e.password)&&(i.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var n="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;i.Authorization=n}return t.query=E(E(E({},t.query),{}),r.query),delete t.search,a.headers=E(E({},i),r.headers),{url:j.format(t),options:a}},editorSessionPreviewAddress:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling editorSessionPreviewAddress.");if(null==o)throw new z.RequiredError("has_container","Required parameter has_container was null or undefined when calling editorSessionPreviewAddress.");var a,i="/editor-session/{id}/preview_address/".replace("{id}",encodeURIComponent(String(r))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"GET"},a),t),u={},p={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var c="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=c}return void 0!==o&&(p.has_container=o),n.query=E(E(E({},n.query),p),t.query),delete n.search,s.headers=E(E({},u),t.headers),{url:j.format(n),options:s}},editorSessionRead:function(r,o,t,a){if(void 0===a&&(a={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling editorSessionRead.");if(null==o)throw new z.RequiredError("has_container","Required parameter has_container was null or undefined when calling editorSessionRead.");var i,n="/editor-session/{id}/".replace("{id}",encodeURIComponent(String(r))),s=j.parse(n,!0);e&&(i=e.baseOptions);var u=E(E({method:"GET"},i),a),p={},c={};if(e&&(e.username||e.password)&&(p.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var l="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;p.Authorization=l}return void 0!==o&&(c.has_container=o),void 0!==t&&(c.editor_language=t),s.query=E(E(E({},s.query),c),a.query),delete s.search,u.headers=E(E({},p),a.headers),{url:j.format(s),options:u}},editorSessionRestart:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling editorSessionRestart.");if(null==o)throw new z.RequiredError("has_container","Required parameter has_container was null or undefined when calling editorSessionRestart.");var a,i="/editor-session/{id}/restart/".replace("{id}",encodeURIComponent(String(r))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"POST"},a),t),u={},p={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var c="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=c}return void 0!==o&&(p.has_container=o),n.query=E(E(E({},n.query),p),t.query),delete n.search,s.headers=E(E({},u),t.headers),{url:j.format(n),options:s}},editorSessionStart:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("data","Required parameter data was null or undefined when calling editorSessionStart.");var t,a=j.parse("/editor-session/start/",!0);e&&(t=e.baseOptions);var i=E(E({method:"POST"},t),o),n={};if(e&&(e.username||e.password)&&(n.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var s="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;n.Authorization=s}n["Content-Type"]="application/json",a.query=E(E(E({},a.query),{}),o.query),delete a.search,i.headers=E(E({},n),o.headers);var u="string"!=typeof r||"application/json"===i.headers["Content-Type"];return i.data=u?JSON.stringify(void 0!==r?r:{}):r||"",{url:j.format(a),options:i}},editorSessionStop:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling editorSessionStop.");if(null==o)throw new z.RequiredError("has_container","Required parameter has_container was null or undefined when calling editorSessionStop.");var a,i="/editor-session/{id}/stop/".replace("{id}",encodeURIComponent(String(r))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"POST"},a),t),u={},p={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var c="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=c}return void 0!==o&&(p.has_container=o),n.query=E(E(E({},n.query),p),t.query),delete n.search,s.headers=E(E({},u),t.headers),{url:j.format(n),options:s}}}},r.EditorSessionApiFp=function(e){return{editorSessionHeartbeat:function(o,t,a){var i=r.EditorSessionApiAxiosParamCreator(e).editorSessionHeartbeat(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},editorSessionList:function(o){var t=r.EditorSessionApiAxiosParamCreator(e).editorSessionList(o);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},t.options),{url:r+t.url});return e.request(o)}},editorSessionPreviewAddress:function(o,t,a){var i=r.EditorSessionApiAxiosParamCreator(e).editorSessionPreviewAddress(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},editorSessionRead:function(o,t,a,i){var n=r.EditorSessionApiAxiosParamCreator(e).editorSessionRead(o,t,a,i);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},n.options),{url:r+n.url});return e.request(o)}},editorSessionRestart:function(o,t,a){var i=r.EditorSessionApiAxiosParamCreator(e).editorSessionRestart(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},editorSessionStart:function(o,t){var a=r.EditorSessionApiAxiosParamCreator(e).editorSessionStart(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}},editorSessionStop:function(o,t,a){var i=r.EditorSessionApiAxiosParamCreator(e).editorSessionStop(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}}}},r.EditorSessionApiFactory=function(e,o,t){return{editorSessionHeartbeat:function(a,i,n){return r.EditorSessionApiFp(e).editorSessionHeartbeat(a,i,n)(t,o)},editorSessionList:function(a){return r.EditorSessionApiFp(e).editorSessionList(a)(t,o)},editorSessionPreviewAddress:function(a,i,n){return r.EditorSessionApiFp(e).editorSessionPreviewAddress(a,i,n)(t,o)},editorSessionRead:function(a,i,n,s){return r.EditorSessionApiFp(e).editorSessionRead(a,i,n,s)(t,o)},editorSessionRestart:function(a,i,n){return r.EditorSessionApiFp(e).editorSessionRestart(a,i,n)(t,o)},editorSessionStart:function(a,i){return r.EditorSessionApiFp(e).editorSessionStart(a,i)(t,o)},editorSessionStop:function(a,i,n){return r.EditorSessionApiFp(e).editorSessionStop(a,i,n)(t,o)}}};var W=function(e){function o(){return null!==e&&e.apply(this,arguments)||this}return K(o,e),o.prototype.editorSessionHeartbeat=function(e,o,t){return r.EditorSessionApiFp(this.configuration).editorSessionHeartbeat(e,o,t)(this.axios,this.basePath)},o.prototype.editorSessionList=function(e){return r.EditorSessionApiFp(this.configuration).editorSessionList(e)(this.axios,this.basePath)},o.prototype.editorSessionPreviewAddress=function(e,o,t){return r.EditorSessionApiFp(this.configuration).editorSessionPreviewAddress(e,o,t)(this.axios,this.basePath)},o.prototype.editorSessionRead=function(e,o,t,a){return r.EditorSessionApiFp(this.configuration).editorSessionRead(e,o,t,a)(this.axios,this.basePath)},o.prototype.editorSessionRestart=function(e,o,t){return r.EditorSessionApiFp(this.configuration).editorSessionRestart(e,o,t)(this.axios,this.basePath)},o.prototype.editorSessionStart=function(e,o){return r.EditorSessionApiFp(this.configuration).editorSessionStart(e,o)(this.axios,this.basePath)},o.prototype.editorSessionStop=function(e,o,t){return r.EditorSessionApiFp(this.configuration).editorSessionStop(e,o,t)(this.axios,this.basePath)},o}(z.BaseAPI);r.EditorSessionApi=W,r.GroupApiAxiosParamCreator=function(e){return{groupCreate:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("data","Required parameter data was null or undefined when calling groupCreate.");var t,a=j.parse("/group/",!0);e&&(t=e.baseOptions);var i=E(E({method:"POST"},t),o),n={};if(e&&(e.username||e.password)&&(n.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var s="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;n.Authorization=s}n["Content-Type"]="application/json",a.query=E(E(E({},a.query),{}),o.query),delete a.search,i.headers=E(E({},n),o.headers);var u="string"!=typeof r||"application/json"===i.headers["Content-Type"];return i.data=u?JSON.stringify(void 0!==r?r:{}):r||"",{url:j.format(a),options:i}},groupDelete:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling groupDelete.");var t,a="/group/{id}/".replace("{id}",encodeURIComponent(String(r))),i=j.parse(a,!0);e&&(t=e.baseOptions);var n=E(E({method:"DELETE"},t),o),s={};if(e&&(e.username||e.password)&&(s.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var u="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;s.Authorization=u}return i.query=E(E(E({},i.query),{}),o.query),delete i.search,n.headers=E(E({},s),o.headers),{url:j.format(i),options:n}},groupInvite:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling groupInvite.");if(null==o)throw new z.RequiredError("data","Required parameter data was null or undefined when calling groupInvite.");var a,i="/group/{id}/invite/".replace("{id}",encodeURIComponent(String(r))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"POST"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}u["Content-Type"]="application/json",n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers);var c="string"!=typeof o||"application/json"===s.headers["Content-Type"];return s.data=c?JSON.stringify(void 0!==o?o:{}):o||"",{url:j.format(n),options:s}},groupKeysCreate:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling groupKeysCreate.");if(null==o)throw new z.RequiredError("data","Required parameter data was null or undefined when calling groupKeysCreate.");var a,i="/group/{id}/keys/".replace("{id}",encodeURIComponent(String(r))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"POST"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}u["Content-Type"]="application/json",n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers);var c="string"!=typeof o||"application/json"===s.headers["Content-Type"];return s.data=c?JSON.stringify(void 0!==o?o:{}):o||"",{url:j.format(n),options:s}},groupKeysDelete:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling groupKeysDelete.");if(null==o)throw new z.RequiredError("data","Required parameter data was null or undefined when calling groupKeysDelete.");var a,i="/group/{id}/keys/".replace("{id}",encodeURIComponent(String(r))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"DELETE"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}u["Content-Type"]="application/json",n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers);var c="string"!=typeof o||"application/json"===s.headers["Content-Type"];return s.data=c?JSON.stringify(void 0!==o?o:{}):o||"",{url:j.format(n),options:s}},groupKeysRead:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling groupKeysRead.");var t,a="/group/{id}/keys/".replace("{id}",encodeURIComponent(String(r))),i=j.parse(a,!0);e&&(t=e.baseOptions);var n=E(E({method:"GET"},t),o),s={};if(e&&(e.username||e.password)&&(s.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var u="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;s.Authorization=u}return i.query=E(E(E({},i.query),{}),o.query),delete i.search,n.headers=E(E({},s),o.headers),{url:j.format(i),options:n}},groupList:function(r,o){void 0===o&&(o={});var t,a=j.parse("/group/",!0);e&&(t=e.baseOptions);var i=E(E({method:"GET"},t),o),n={},s={};if(e&&(e.username||e.password)&&(n.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var u="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;n.Authorization=u}return void 0!==r&&(s.mine=r),a.query=E(E(E({},a.query),s),o.query),delete a.search,i.headers=E(E({},n),o.headers),{url:j.format(a),options:i}},groupMembersDelete:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("group_pk","Required parameter group_pk was null or undefined when calling groupMembersDelete.");if(null==o)throw new z.RequiredError("id","Required parameter id was null or undefined when calling groupMembersDelete.");var a,i="/group/{group_pk}/members/{id}/".replace("{group_pk}",encodeURIComponent(String(r))).replace("{id}",encodeURIComponent(String(o))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"DELETE"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}return n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers),{url:j.format(n),options:s}},groupMembersList:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("group_pk","Required parameter group_pk was null or undefined when calling groupMembersList.");var t,a="/group/{group_pk}/members/".replace("{group_pk}",encodeURIComponent(String(r))),i=j.parse(a,!0);e&&(t=e.baseOptions);var n=E(E({method:"GET"},t),o),s={};if(e&&(e.username||e.password)&&(s.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var u="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;s.Authorization=u}return i.query=E(E(E({},i.query),{}),o.query),delete i.search,n.headers=E(E({},s),o.headers),{url:j.format(i),options:n}},groupMembersPartialUpdate:function(r,o,t,a){if(void 0===a&&(a={}),null==r)throw new z.RequiredError("group_pk","Required parameter group_pk was null or undefined when calling groupMembersPartialUpdate.");if(null==o)throw new z.RequiredError("id","Required parameter id was null or undefined when calling groupMembersPartialUpdate.");if(null==t)throw new z.RequiredError("data","Required parameter data was null or undefined when calling groupMembersPartialUpdate.");var i,n="/group/{group_pk}/members/{id}/".replace("{group_pk}",encodeURIComponent(String(r))).replace("{id}",encodeURIComponent(String(o))),s=j.parse(n,!0);e&&(i=e.baseOptions);var u=E(E({method:"PATCH"},i),a),p={};if(e&&(e.username||e.password)&&(p.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var c="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;p.Authorization=c}p["Content-Type"]="application/json",s.query=E(E(E({},s.query),{}),a.query),delete s.search,u.headers=E(E({},p),a.headers);var l="string"!=typeof t||"application/json"===u.headers["Content-Type"];return u.data=l?JSON.stringify(void 0!==t?t:{}):t||"",{url:j.format(s),options:u}},groupMembersRead:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("group_pk","Required parameter group_pk was null or undefined when calling groupMembersRead.");if(null==o)throw new z.RequiredError("id","Required parameter id was null or undefined when calling groupMembersRead.");var a,i="/group/{group_pk}/members/{id}/".replace("{group_pk}",encodeURIComponent(String(r))).replace("{id}",encodeURIComponent(String(o))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"GET"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}return n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers),{url:j.format(n),options:s}},groupMembersUpdate:function(r,o,t,a){if(void 0===a&&(a={}),null==r)throw new z.RequiredError("group_pk","Required parameter group_pk was null or undefined when calling groupMembersUpdate.");if(null==o)throw new z.RequiredError("id","Required parameter id was null or undefined when calling groupMembersUpdate.");if(null==t)throw new z.RequiredError("data","Required parameter data was null or undefined when calling groupMembersUpdate.");var i,n="/group/{group_pk}/members/{id}/".replace("{group_pk}",encodeURIComponent(String(r))).replace("{id}",encodeURIComponent(String(o))),s=j.parse(n,!0);e&&(i=e.baseOptions);var u=E(E({method:"PUT"},i),a),p={};if(e&&(e.username||e.password)&&(p.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var c="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;p.Authorization=c}p["Content-Type"]="application/json",s.query=E(E(E({},s.query),{}),a.query),delete s.search,u.headers=E(E({},p),a.headers);var l="string"!=typeof t||"application/json"===u.headers["Content-Type"];return u.data=l?JSON.stringify(void 0!==t?t:{}):t||"",{url:j.format(s),options:u}},groupPartialUpdate:function(r,o,t,a,i){if(void 0===i&&(i={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling groupPartialUpdate.");var n,s="/group/{id}/".replace("{id}",encodeURIComponent(String(r))),u=j.parse(s,!0);e&&(n=e.baseOptions);var p=E(E({method:"PATCH"},n),i),c={},l=new FormData;if(e&&(e.username||e.password)&&(c.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var d="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;c.Authorization=d}return void 0!==o&&l.append("name",o),void 0!==t&&l.append("description",t),void 0!==a&&l.append("avatar",a),c["Content-Type"]="multipart/form-data",u.query=E(E(E({},u.query),{}),i.query),delete u.search,p.headers=E(E({},c),i.headers),p.data=l,{url:j.format(u),options:p}},groupRead:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling groupRead.");var t,a="/group/{id}/".replace("{id}",encodeURIComponent(String(r))),i=j.parse(a,!0);e&&(t=e.baseOptions);var n=E(E({method:"GET"},t),o),s={};if(e&&(e.username||e.password)&&(s.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var u="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;s.Authorization=u}return i.query=E(E(E({},i.query),{}),o.query),delete i.search,n.headers=E(E({},s),o.headers),{url:j.format(i),options:n}},groupUninvite:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling groupUninvite.");if(null==o)throw new z.RequiredError("data","Required parameter data was null or undefined when calling groupUninvite.");var a,i="/group/{id}/uninvite/".replace("{id}",encodeURIComponent(String(r))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"POST"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}u["Content-Type"]="application/json",n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers);var c="string"!=typeof o||"application/json"===s.headers["Content-Type"];return s.data=c?JSON.stringify(void 0!==o?o:{}):o||"",{url:j.format(n),options:s}},groupUpdate:function(r,o,t,a,i){if(void 0===i&&(i={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling groupUpdate.");var n,s="/group/{id}/".replace("{id}",encodeURIComponent(String(r))),u=j.parse(s,!0);e&&(n=e.baseOptions);var p=E(E({method:"PUT"},n),i),c={},l=new FormData;if(e&&(e.username||e.password)&&(c.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var d="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;c.Authorization=d}return void 0!==o&&l.append("name",o),void 0!==t&&l.append("description",t),void 0!==a&&l.append("avatar",a),c["Content-Type"]="multipart/form-data",u.query=E(E(E({},u.query),{}),i.query),delete u.search,p.headers=E(E({},c),i.headers),p.data=l,{url:j.format(u),options:p}}}},r.GroupApiFp=function(e){return{groupCreate:function(o,t){var a=r.GroupApiAxiosParamCreator(e).groupCreate(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}},groupDelete:function(o,t){var a=r.GroupApiAxiosParamCreator(e).groupDelete(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}},groupInvite:function(o,t,a){var i=r.GroupApiAxiosParamCreator(e).groupInvite(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},groupKeysCreate:function(o,t,a){var i=r.GroupApiAxiosParamCreator(e).groupKeysCreate(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},groupKeysDelete:function(o,t,a){var i=r.GroupApiAxiosParamCreator(e).groupKeysDelete(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},groupKeysRead:function(o,t){var a=r.GroupApiAxiosParamCreator(e).groupKeysRead(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}},groupList:function(o,t){var a=r.GroupApiAxiosParamCreator(e).groupList(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}},groupMembersDelete:function(o,t,a){var i=r.GroupApiAxiosParamCreator(e).groupMembersDelete(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},groupMembersList:function(o,t){var a=r.GroupApiAxiosParamCreator(e).groupMembersList(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}},groupMembersPartialUpdate:function(o,t,a,i){var n=r.GroupApiAxiosParamCreator(e).groupMembersPartialUpdate(o,t,a,i);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},n.options),{url:r+n.url});return e.request(o)}},groupMembersRead:function(o,t,a){var i=r.GroupApiAxiosParamCreator(e).groupMembersRead(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},groupMembersUpdate:function(o,t,a,i){var n=r.GroupApiAxiosParamCreator(e).groupMembersUpdate(o,t,a,i);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},n.options),{url:r+n.url});return e.request(o)}},groupPartialUpdate:function(o,t,a,i,n){var s=r.GroupApiAxiosParamCreator(e).groupPartialUpdate(o,t,a,i,n);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},s.options),{url:r+s.url});return e.request(o)}},groupRead:function(o,t){var a=r.GroupApiAxiosParamCreator(e).groupRead(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}},groupUninvite:function(o,t,a){var i=r.GroupApiAxiosParamCreator(e).groupUninvite(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},groupUpdate:function(o,t,a,i,n){var s=r.GroupApiAxiosParamCreator(e).groupUpdate(o,t,a,i,n);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},s.options),{url:r+s.url});return e.request(o)}}}},r.GroupApiFactory=function(e,o,t){return{groupCreate:function(a,i){return r.GroupApiFp(e).groupCreate(a,i)(t,o)},groupDelete:function(a,i){return r.GroupApiFp(e).groupDelete(a,i)(t,o)},groupInvite:function(a,i,n){return r.GroupApiFp(e).groupInvite(a,i,n)(t,o)},groupKeysCreate:function(a,i,n){return r.GroupApiFp(e).groupKeysCreate(a,i,n)(t,o)},groupKeysDelete:function(a,i,n){return r.GroupApiFp(e).groupKeysDelete(a,i,n)(t,o)},groupKeysRead:function(a,i){return r.GroupApiFp(e).groupKeysRead(a,i)(t,o)},groupList:function(a,i){return r.GroupApiFp(e).groupList(a,i)(t,o)},groupMembersDelete:function(a,i,n){return r.GroupApiFp(e).groupMembersDelete(a,i,n)(t,o)},groupMembersList:function(a,i){return r.GroupApiFp(e).groupMembersList(a,i)(t,o)},groupMembersPartialUpdate:function(a,i,n,s){return r.GroupApiFp(e).groupMembersPartialUpdate(a,i,n,s)(t,o)},groupMembersRead:function(a,i,n){return r.GroupApiFp(e).groupMembersRead(a,i,n)(t,o)},groupMembersUpdate:function(a,i,n,s){return r.GroupApiFp(e).groupMembersUpdate(a,i,n,s)(t,o)},groupPartialUpdate:function(a,i,n,s,u){return r.GroupApiFp(e).groupPartialUpdate(a,i,n,s,u)(t,o)},groupRead:function(a,i){return r.GroupApiFp(e).groupRead(a,i)(t,o)},groupUninvite:function(a,i,n){return r.GroupApiFp(e).groupUninvite(a,i,n)(t,o)},groupUpdate:function(a,i,n,s,u){return r.GroupApiFp(e).groupUpdate(a,i,n,s,u)(t,o)}}};var X=function(e){function o(){return null!==e&&e.apply(this,arguments)||this}return K(o,e),o.prototype.groupCreate=function(e,o){return r.GroupApiFp(this.configuration).groupCreate(e,o)(this.axios,this.basePath)},o.prototype.groupDelete=function(e,o){return r.GroupApiFp(this.configuration).groupDelete(e,o)(this.axios,this.basePath)},o.prototype.groupInvite=function(e,o,t){return r.GroupApiFp(this.configuration).groupInvite(e,o,t)(this.axios,this.basePath)},o.prototype.groupKeysCreate=function(e,o,t){return r.GroupApiFp(this.configuration).groupKeysCreate(e,o,t)(this.axios,this.basePath)},o.prototype.groupKeysDelete=function(e,o,t){return r.GroupApiFp(this.configuration).groupKeysDelete(e,o,t)(this.axios,this.basePath)},o.prototype.groupKeysRead=function(e,o){return r.GroupApiFp(this.configuration).groupKeysRead(e,o)(this.axios,this.basePath)},o.prototype.groupList=function(e,o){return r.GroupApiFp(this.configuration).groupList(e,o)(this.axios,this.basePath)},o.prototype.groupMembersDelete=function(e,o,t){return r.GroupApiFp(this.configuration).groupMembersDelete(e,o,t)(this.axios,this.basePath)},o.prototype.groupMembersList=function(e,o){return r.GroupApiFp(this.configuration).groupMembersList(e,o)(this.axios,this.basePath)},o.prototype.groupMembersPartialUpdate=function(e,o,t,a){return r.GroupApiFp(this.configuration).groupMembersPartialUpdate(e,o,t,a)(this.axios,this.basePath)},o.prototype.groupMembersRead=function(e,o,t){return r.GroupApiFp(this.configuration).groupMembersRead(e,o,t)(this.axios,this.basePath)},o.prototype.groupMembersUpdate=function(e,o,t,a){return r.GroupApiFp(this.configuration).groupMembersUpdate(e,o,t,a)(this.axios,this.basePath)},o.prototype.groupPartialUpdate=function(e,o,t,a,i){return r.GroupApiFp(this.configuration).groupPartialUpdate(e,o,t,a,i)(this.axios,this.basePath)},o.prototype.groupRead=function(e,o){return r.GroupApiFp(this.configuration).groupRead(e,o)(this.axios,this.basePath)},o.prototype.groupUninvite=function(e,o,t){return r.GroupApiFp(this.configuration).groupUninvite(e,o,t)(this.axios,this.basePath)},o.prototype.groupUpdate=function(e,o,t,a,i){return r.GroupApiFp(this.configuration).groupUpdate(e,o,t,a,i)(this.axios,this.basePath)},o}(z.BaseAPI);r.GroupApi=X,r.GroupInvitationApiAxiosParamCreator=function(e){return{groupInvitationAccept:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling groupInvitationAccept.");var t,a="/group-invitation/{id}/accept/".replace("{id}",encodeURIComponent(String(r))),i=j.parse(a,!0);e&&(t=e.baseOptions);var n=E(E({method:"POST"},t),o),s={};if(e&&(e.username||e.password)&&(s.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var u="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;s.Authorization=u}return i.query=E(E(E({},i.query),{}),o.query),delete i.search,n.headers=E(E({},s),o.headers),{url:j.format(i),options:n}},groupInvitationList:function(r,o){void 0===o&&(o={});var t,a=j.parse("/group-invitation/",!0);e&&(t=e.baseOptions);var i=E(E({method:"GET"},t),o),n={},s={};if(e&&(e.username||e.password)&&(n.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var u="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;n.Authorization=u}return void 0!==r&&(s.status=r),a.query=E(E(E({},a.query),s),o.query),delete a.search,i.headers=E(E({},n),o.headers),{url:j.format(a),options:i}},groupInvitationRead:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling groupInvitationRead.");var t,a="/group-invitation/{id}/".replace("{id}",encodeURIComponent(String(r))),i=j.parse(a,!0);e&&(t=e.baseOptions);var n=E(E({method:"GET"},t),o),s={};if(e&&(e.username||e.password)&&(s.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var u="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;s.Authorization=u}return i.query=E(E(E({},i.query),{}),o.query),delete i.search,n.headers=E(E({},s),o.headers),{url:j.format(i),options:n}},groupInvitationReject:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling groupInvitationReject.");var t,a="/group-invitation/{id}/reject/".replace("{id}",encodeURIComponent(String(r))),i=j.parse(a,!0);e&&(t=e.baseOptions);var n=E(E({method:"POST"},t),o),s={};if(e&&(e.username||e.password)&&(s.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var u="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;s.Authorization=u}return i.query=E(E(E({},i.query),{}),o.query),delete i.search,n.headers=E(E({},s),o.headers),{url:j.format(i),options:n}}}},r.GroupInvitationApiFp=function(e){return{groupInvitationAccept:function(o,t){var a=r.GroupInvitationApiAxiosParamCreator(e).groupInvitationAccept(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}},groupInvitationList:function(o,t){var a=r.GroupInvitationApiAxiosParamCreator(e).groupInvitationList(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}},groupInvitationRead:function(o,t){var a=r.GroupInvitationApiAxiosParamCreator(e).groupInvitationRead(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}},groupInvitationReject:function(o,t){var a=r.GroupInvitationApiAxiosParamCreator(e).groupInvitationReject(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}}}},r.GroupInvitationApiFactory=function(e,o,t){return{groupInvitationAccept:function(a,i){return r.GroupInvitationApiFp(e).groupInvitationAccept(a,i)(t,o)},groupInvitationList:function(a,i){return r.GroupInvitationApiFp(e).groupInvitationList(a,i)(t,o)},groupInvitationRead:function(a,i){return r.GroupInvitationApiFp(e).groupInvitationRead(a,i)(t,o)},groupInvitationReject:function(a,i){return r.GroupInvitationApiFp(e).groupInvitationReject(a,i)(t,o)}}};var Y=function(e){function o(){return null!==e&&e.apply(this,arguments)||this}return K(o,e),o.prototype.groupInvitationAccept=function(e,o){return r.GroupInvitationApiFp(this.configuration).groupInvitationAccept(e,o)(this.axios,this.basePath)},o.prototype.groupInvitationList=function(e,o){return r.GroupInvitationApiFp(this.configuration).groupInvitationList(e,o)(this.axios,this.basePath)},o.prototype.groupInvitationRead=function(e,o){return r.GroupInvitationApiFp(this.configuration).groupInvitationRead(e,o)(this.axios,this.basePath)},o.prototype.groupInvitationReject=function(e,o){return r.GroupInvitationApiFp(this.configuration).groupInvitationReject(e,o)(this.axios,this.basePath)},o}(z.BaseAPI);r.GroupInvitationApi=Y,r.InvitationRequestApiAxiosParamCreator=function(e){return{invitationRequestCreate:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("data","Required parameter data was null or undefined when calling invitationRequestCreate.");var t,a=j.parse("/invitation-request/",!0);e&&(t=e.baseOptions);var i=E(E({method:"POST"},t),o),n={};if(e&&(e.username||e.password)&&(n.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var s="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;n.Authorization=s}n["Content-Type"]="application/json",a.query=E(E(E({},a.query),{}),o.query),delete a.search,i.headers=E(E({},n),o.headers);var u="string"!=typeof r||"application/json"===i.headers["Content-Type"];return i.data=u?JSON.stringify(void 0!==r?r:{}):r||"",{url:j.format(a),options:i}}}},r.InvitationRequestApiFp=function(e){return{invitationRequestCreate:function(o,t){var a=r.InvitationRequestApiAxiosParamCreator(e).invitationRequestCreate(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}}}},r.InvitationRequestApiFactory=function(e,o,t){return{invitationRequestCreate:function(a,i){return r.InvitationRequestApiFp(e).invitationRequestCreate(a,i)(t,o)}}};var Z=function(e){function o(){return null!==e&&e.apply(this,arguments)||this}return K(o,e),o.prototype.invitationRequestCreate=function(e,o){return r.InvitationRequestApiFp(this.configuration).invitationRequestCreate(e,o)(this.axios,this.basePath)},o}(z.BaseAPI);r.InvitationRequestApi=Z,r.MeApiAxiosParamCreator=function(e){return{meLectureProjectsDelete:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling meLectureProjectsDelete.");var t,a="/me/lecture-projects/{id}/".replace("{id}",encodeURIComponent(String(r))),i=j.parse(a,!0);e&&(t=e.baseOptions);var n=E(E({method:"DELETE"},t),o),s={};if(e&&(e.username||e.password)&&(s.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var u="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;s.Authorization=u}return i.query=E(E(E({},i.query),{}),o.query),delete i.search,n.headers=E(E({},s),o.headers),{url:j.format(i),options:n}},meLectureProjectsList:function(r,o){void 0===o&&(o={});var t,a=j.parse("/me/lecture-projects/",!0);e&&(t=e.baseOptions);var i=E(E({method:"GET"},t),o),n={},s={};if(e&&(e.username||e.password)&&(n.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var u="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;n.Authorization=u}return void 0!==r&&(s.course=r),a.query=E(E(E({},a.query),s),o.query),delete a.search,i.headers=E(E({},n),o.headers),{url:j.format(a),options:i}},meLectureProjectsRead:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling meLectureProjectsRead.");var t,a="/me/lecture-projects/{id}/".replace("{id}",encodeURIComponent(String(r))),i=j.parse(a,!0);e&&(t=e.baseOptions);var n=E(E({method:"GET"},t),o),s={};if(e&&(e.username||e.password)&&(s.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var u="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;s.Authorization=u}return i.query=E(E(E({},i.query),{}),o.query),delete i.search,n.headers=E(E({},s),o.headers),{url:j.format(i),options:n}}}},r.MeApiFp=function(e){return{meLectureProjectsDelete:function(o,t){var a=r.MeApiAxiosParamCreator(e).meLectureProjectsDelete(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}},meLectureProjectsList:function(o,t){var a=r.MeApiAxiosParamCreator(e).meLectureProjectsList(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}},meLectureProjectsRead:function(o,t){var a=r.MeApiAxiosParamCreator(e).meLectureProjectsRead(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}}}},r.MeApiFactory=function(e,o,t){return{meLectureProjectsDelete:function(a,i){return r.MeApiFp(e).meLectureProjectsDelete(a,i)(t,o)},meLectureProjectsList:function(a,i){return r.MeApiFp(e).meLectureProjectsList(a,i)(t,o)},meLectureProjectsRead:function(a,i){return r.MeApiFp(e).meLectureProjectsRead(a,i)(t,o)}}};var $=function(e){function o(){return null!==e&&e.apply(this,arguments)||this}return K(o,e),o.prototype.meLectureProjectsDelete=function(e,o){return r.MeApiFp(this.configuration).meLectureProjectsDelete(e,o)(this.axios,this.basePath)},o.prototype.meLectureProjectsList=function(e,o){return r.MeApiFp(this.configuration).meLectureProjectsList(e,o)(this.axios,this.basePath)},o.prototype.meLectureProjectsRead=function(e,o){return r.MeApiFp(this.configuration).meLectureProjectsRead(e,o)(this.axios,this.basePath)},o}(z.BaseAPI);r.MeApi=$,r.NotificationsApiAxiosParamCreator=function(e){return{notificationsList:function(r,o,t,a){void 0===a&&(a={});var i,n=j.parse("/notifications/",!0);e&&(i=e.baseOptions);var s=E(E({method:"GET"},i),a),u={},p={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var c="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=c}return void 0!==r&&(p.is_read=r),void 0!==o&&(p.page=o),void 0!==t&&(p.page_size=t),n.query=E(E(E({},n.query),p),a.query),delete n.search,s.headers=E(E({},u),a.headers),{url:j.format(n),options:s}},notificationsMarkAsRead:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("data","Required parameter data was null or undefined when calling notificationsMarkAsRead.");var t,a=j.parse("/notifications/mark_as_read/",!0);e&&(t=e.baseOptions);var i=E(E({method:"POST"},t),o),n={};if(e&&(e.username||e.password)&&(n.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var s="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;n.Authorization=s}n["Content-Type"]="application/json",a.query=E(E(E({},a.query),{}),o.query),delete a.search,i.headers=E(E({},n),o.headers);var u="string"!=typeof r||"application/json"===i.headers["Content-Type"];return i.data=u?JSON.stringify(void 0!==r?r:{}):r||"",{url:j.format(a),options:i}}}},r.NotificationsApiFp=function(e){return{notificationsList:function(o,t,a,i){var n=r.NotificationsApiAxiosParamCreator(e).notificationsList(o,t,a,i);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},n.options),{url:r+n.url});return e.request(o)}},notificationsMarkAsRead:function(o,t){var a=r.NotificationsApiAxiosParamCreator(e).notificationsMarkAsRead(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}}}},r.NotificationsApiFactory=function(e,o,t){return{notificationsList:function(a,i,n,s){return r.NotificationsApiFp(e).notificationsList(a,i,n,s)(t,o)},notificationsMarkAsRead:function(a,i){return r.NotificationsApiFp(e).notificationsMarkAsRead(a,i)(t,o)}}};var ee=function(e){function o(){return null!==e&&e.apply(this,arguments)||this}return K(o,e),o.prototype.notificationsList=function(e,o,t,a){return r.NotificationsApiFp(this.configuration).notificationsList(e,o,t,a)(this.axios,this.basePath)},o.prototype.notificationsMarkAsRead=function(e,o){return r.NotificationsApiFp(this.configuration).notificationsMarkAsRead(e,o)(this.axios,this.basePath)},o}(z.BaseAPI);r.NotificationsApi=ee,r.ProductApiAxiosParamCreator=function(e){return{productPayment:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling productPayment.");if(null==o)throw new z.RequiredError("data","Required parameter data was null or undefined when calling productPayment.");var a,i="/product/{id}/payment/".replace("{id}",encodeURIComponent(String(r))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"POST"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}u["Content-Type"]="application/json",n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers);var c="string"!=typeof o||"application/json"===s.headers["Content-Type"];return s.data=c?JSON.stringify(void 0!==o?o:{}):o||"",{url:j.format(n),options:s}},productRead:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling productRead.");var t,a="/product/{id}/".replace("{id}",encodeURIComponent(String(r))),i=j.parse(a,!0);e&&(t=e.baseOptions);var n=E(E({method:"GET"},t),o),s={};if(e&&(e.username||e.password)&&(s.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var u="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;s.Authorization=u}return i.query=E(E(E({},i.query),{}),o.query),delete i.search,n.headers=E(E({},s),o.headers),{url:j.format(i),options:n}},productTeacherproduct:function(r){void 0===r&&(r={});var o,t=j.parse("/product/teacherproduct/",!0);e&&(o=e.baseOptions);var a=E(E({method:"GET"},o),r),i={};if(e&&(e.username||e.password)&&(i.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var n="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;i.Authorization=n}return t.query=E(E(E({},t.query),{}),r.query),delete t.search,a.headers=E(E({},i),r.headers),{url:j.format(t),options:a}}}},r.ProductApiFp=function(e){return{productPayment:function(o,t,a){var i=r.ProductApiAxiosParamCreator(e).productPayment(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},productRead:function(o,t){var a=r.ProductApiAxiosParamCreator(e).productRead(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}},productTeacherproduct:function(o){var t=r.ProductApiAxiosParamCreator(e).productTeacherproduct(o);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},t.options),{url:r+t.url});return e.request(o)}}}},r.ProductApiFactory=function(e,o,t){return{productPayment:function(a,i,n){return r.ProductApiFp(e).productPayment(a,i,n)(t,o)},productRead:function(a,i){return r.ProductApiFp(e).productRead(a,i)(t,o)},productTeacherproduct:function(a){return r.ProductApiFp(e).productTeacherproduct(a)(t,o)}}};var er=function(e){function o(){return null!==e&&e.apply(this,arguments)||this}return K(o,e),o.prototype.productPayment=function(e,o,t){return r.ProductApiFp(this.configuration).productPayment(e,o,t)(this.axios,this.basePath)},o.prototype.productRead=function(e,o){return r.ProductApiFp(this.configuration).productRead(e,o)(this.axios,this.basePath)},o.prototype.productTeacherproduct=function(e){return r.ProductApiFp(this.configuration).productTeacherproduct(e)(this.axios,this.basePath)},o}(z.BaseAPI);r.ProductApi=er,r.ProductCodeApiAxiosParamCreator=function(e){return{productCodeRedeem:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("data","Required parameter data was null or undefined when calling productCodeRedeem.");var t,a=j.parse("/product-code/redeem/",!0);e&&(t=e.baseOptions);var i=E(E({method:"POST"},t),o),n={};if(e&&(e.username||e.password)&&(n.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var s="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;n.Authorization=s}n["Content-Type"]="application/json",a.query=E(E(E({},a.query),{}),o.query),delete a.search,i.headers=E(E({},n),o.headers);var u="string"!=typeof r||"application/json"===i.headers["Content-Type"];return i.data=u?JSON.stringify(void 0!==r?r:{}):r||"",{url:j.format(a),options:i}}}},r.ProductCodeApiFp=function(e){return{productCodeRedeem:function(o,t){var a=r.ProductCodeApiAxiosParamCreator(e).productCodeRedeem(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}}}},r.ProductCodeApiFactory=function(e,o,t){return{productCodeRedeem:function(a,i){return r.ProductCodeApiFp(e).productCodeRedeem(a,i)(t,o)}}};var eo=function(e){function o(){return null!==e&&e.apply(this,arguments)||this}return K(o,e),o.prototype.productCodeRedeem=function(e,o){return r.ProductCodeApiFp(this.configuration).productCodeRedeem(e,o)(this.axios,this.basePath)},o}(z.BaseAPI);r.ProductCodeApi=eo,r.ProjectApiAxiosParamCreator=function(e){return{projectAchievementsAchieve:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling projectAchievementsAchieve.");if(null==o)throw new z.RequiredError("project_pk","Required parameter project_pk was null or undefined when calling projectAchievementsAchieve.");var a,i="/project/{project_pk}/achievements/{id}/achieve/".replace("{id}",encodeURIComponent(String(r))).replace("{project_pk}",encodeURIComponent(String(o))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"POST"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}return n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers),{url:j.format(n),options:s}},projectAchievementsCreate:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("project_pk","Required parameter project_pk was null or undefined when calling projectAchievementsCreate.");if(null==o)throw new z.RequiredError("data","Required parameter data was null or undefined when calling projectAchievementsCreate.");var a,i="/project/{project_pk}/achievements/".replace("{project_pk}",encodeURIComponent(String(r))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"POST"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}u["Content-Type"]="application/json",n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers);var c="string"!=typeof o||"application/json"===s.headers["Content-Type"];return s.data=c?JSON.stringify(void 0!==o?o:{}):o||"",{url:j.format(n),options:s}},projectAchievementsDelete:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling projectAchievementsDelete.");if(null==o)throw new z.RequiredError("project_pk","Required parameter project_pk was null or undefined when calling projectAchievementsDelete.");var a,i="/project/{project_pk}/achievements/{id}/".replace("{id}",encodeURIComponent(String(r))).replace("{project_pk}",encodeURIComponent(String(o))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"DELETE"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}return n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers),{url:j.format(n),options:s}},projectAchievementsList:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("project_pk","Required parameter project_pk was null or undefined when calling projectAchievementsList.");var t,a="/project/{project_pk}/achievements/".replace("{project_pk}",encodeURIComponent(String(r))),i=j.parse(a,!0);e&&(t=e.baseOptions);var n=E(E({method:"GET"},t),o),s={};if(e&&(e.username||e.password)&&(s.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var u="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;s.Authorization=u}return i.query=E(E(E({},i.query),{}),o.query),delete i.search,n.headers=E(E({},s),o.headers),{url:j.format(i),options:n}},projectAchievementsPartialUpdate:function(r,o,t,a){if(void 0===a&&(a={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling projectAchievementsPartialUpdate.");if(null==o)throw new z.RequiredError("project_pk","Required parameter project_pk was null or undefined when calling projectAchievementsPartialUpdate.");if(null==t)throw new z.RequiredError("data","Required parameter data was null or undefined when calling projectAchievementsPartialUpdate.");var i,n="/project/{project_pk}/achievements/{id}/".replace("{id}",encodeURIComponent(String(r))).replace("{project_pk}",encodeURIComponent(String(o))),s=j.parse(n,!0);e&&(i=e.baseOptions);var u=E(E({method:"PATCH"},i),a),p={};if(e&&(e.username||e.password)&&(p.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var c="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;p.Authorization=c}p["Content-Type"]="application/json",s.query=E(E(E({},s.query),{}),a.query),delete s.search,u.headers=E(E({},p),a.headers);var l="string"!=typeof t||"application/json"===u.headers["Content-Type"];return u.data=l?JSON.stringify(void 0!==t?t:{}):t||"",{url:j.format(s),options:u}},projectAchievementsRead:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling projectAchievementsRead.");if(null==o)throw new z.RequiredError("project_pk","Required parameter project_pk was null or undefined when calling projectAchievementsRead.");var a,i="/project/{project_pk}/achievements/{id}/".replace("{id}",encodeURIComponent(String(r))).replace("{project_pk}",encodeURIComponent(String(o))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"GET"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}return n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers),{url:j.format(n),options:s}},projectAchievementsUpdate:function(r,o,t,a){if(void 0===a&&(a={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling projectAchievementsUpdate.");if(null==o)throw new z.RequiredError("project_pk","Required parameter project_pk was null or undefined when calling projectAchievementsUpdate.");if(null==t)throw new z.RequiredError("data","Required parameter data was null or undefined when calling projectAchievementsUpdate.");var i,n="/project/{project_pk}/achievements/{id}/".replace("{id}",encodeURIComponent(String(r))).replace("{project_pk}",encodeURIComponent(String(o))),s=j.parse(n,!0);e&&(i=e.baseOptions);var u=E(E({method:"PUT"},i),a),p={};if(e&&(e.username||e.password)&&(p.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var c="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;p.Authorization=c}p["Content-Type"]="application/json",s.query=E(E(E({},s.query),{}),a.query),delete s.search,u.headers=E(E({},p),a.headers);var l="string"!=typeof t||"application/json"===u.headers["Content-Type"];return u.data=l?JSON.stringify(void 0!==t?t:{}):t||"",{url:j.format(s),options:u}},projectBranchesDelete:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling projectBranchesDelete.");if(null==o)throw new z.RequiredError("project_pk","Required parameter project_pk was null or undefined when calling projectBranchesDelete.");var a,i="/project/{project_pk}/branches/{id}/".replace("{id}",encodeURIComponent(String(r))).replace("{project_pk}",encodeURIComponent(String(o))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"DELETE"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}return n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers),{url:j.format(n),options:s}},projectBranchesDependencies:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling projectBranchesDependencies.");if(null==o)throw new z.RequiredError("project_pk","Required parameter project_pk was null or undefined when calling projectBranchesDependencies.");var a,i="/project/{project_pk}/branches/{id}/dependencies/".replace("{id}",encodeURIComponent(String(r))).replace("{project_pk}",encodeURIComponent(String(o))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"GET"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}return n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers),{url:j.format(n),options:s}},projectBranchesEventsCreate:function(r,o,t,a){if(void 0===a&&(a={}),null==r)throw new z.RequiredError("branch_pk","Required parameter branch_pk was null or undefined when calling projectBranchesEventsCreate.");if(null==o)throw new z.RequiredError("project_pk","Required parameter project_pk was null or undefined when calling projectBranchesEventsCreate.");if(null==t)throw new z.RequiredError("data","Required parameter data was null or undefined when calling projectBranchesEventsCreate.");var i,n="/project/{project_pk}/branches/{branch_pk}/events/".replace("{branch_pk}",encodeURIComponent(String(r))).replace("{project_pk}",encodeURIComponent(String(o))),s=j.parse(n,!0);e&&(i=e.baseOptions);var u=E(E({method:"POST"},i),a),p={};if(e&&(e.username||e.password)&&(p.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var c="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;p.Authorization=c}p["Content-Type"]="application/json",s.query=E(E(E({},s.query),{}),a.query),delete s.search,u.headers=E(E({},p),a.headers);var l="string"!=typeof t||"application/json"===u.headers["Content-Type"];return u.data=l?JSON.stringify(void 0!==t?t:{}):t||"",{url:j.format(s),options:u}},projectBranchesList:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("project_pk","Required parameter project_pk was null or undefined when calling projectBranchesList.");var a,i="/project/{project_pk}/branches/".replace("{project_pk}",encodeURIComponent(String(r))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"GET"},a),t),u={},p={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var c="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=c}return void 0!==o&&(p.published=o),n.query=E(E(E({},n.query),p),t.query),delete n.search,s.headers=E(E({},u),t.headers),{url:j.format(n),options:s}},projectBranchesPartialUpdate:function(r,o,t,a){if(void 0===a&&(a={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling projectBranchesPartialUpdate.");if(null==o)throw new z.RequiredError("project_pk","Required parameter project_pk was null or undefined when calling projectBranchesPartialUpdate.");if(null==t)throw new z.RequiredError("data","Required parameter data was null or undefined when calling projectBranchesPartialUpdate.");var i,n="/project/{project_pk}/branches/{id}/".replace("{id}",encodeURIComponent(String(r))).replace("{project_pk}",encodeURIComponent(String(o))),s=j.parse(n,!0);e&&(i=e.baseOptions);var u=E(E({method:"PATCH"},i),a),p={};if(e&&(e.username||e.password)&&(p.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var c="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;p.Authorization=c}p["Content-Type"]="application/json",s.query=E(E(E({},s.query),{}),a.query),delete s.search,u.headers=E(E({},p),a.headers);var l="string"!=typeof t||"application/json"===u.headers["Content-Type"];return u.data=l?JSON.stringify(void 0!==t?t:{}):t||"",{url:j.format(s),options:u}},projectBranchesPublish:function(r,o,t,a){if(void 0===a&&(a={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling projectBranchesPublish.");if(null==o)throw new z.RequiredError("project_pk","Required parameter project_pk was null or undefined when calling projectBranchesPublish.");if(null==t)throw new z.RequiredError("data","Required parameter data was null or undefined when calling projectBranchesPublish.");var i,n="/project/{project_pk}/branches/{id}/publish/".replace("{id}",encodeURIComponent(String(r))).replace("{project_pk}",encodeURIComponent(String(o))),s=j.parse(n,!0);e&&(i=e.baseOptions);var u=E(E({method:"POST"},i),a),p={};if(e&&(e.username||e.password)&&(p.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var c="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;p.Authorization=c}p["Content-Type"]="application/json",s.query=E(E(E({},s.query),{}),a.query),delete s.search,u.headers=E(E({},p),a.headers);var l="string"!=typeof t||"application/json"===u.headers["Content-Type"];return u.data=l?JSON.stringify(void 0!==t?t:{}):t||"",{url:j.format(s),options:u}},projectBranchesRead:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling projectBranchesRead.");if(null==o)throw new z.RequiredError("project_pk","Required parameter project_pk was null or undefined when calling projectBranchesRead.");var a,i="/project/{project_pk}/branches/{id}/".replace("{id}",encodeURIComponent(String(r))).replace("{project_pk}",encodeURIComponent(String(o))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"GET"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}return n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers),{url:j.format(n),options:s}},projectBranchesUpdate:function(r,o,t,a){if(void 0===a&&(a={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling projectBranchesUpdate.");if(null==o)throw new z.RequiredError("project_pk","Required parameter project_pk was null or undefined when calling projectBranchesUpdate.");if(null==t)throw new z.RequiredError("data","Required parameter data was null or undefined when calling projectBranchesUpdate.");var i,n="/project/{project_pk}/branches/{id}/".replace("{id}",encodeURIComponent(String(r))).replace("{project_pk}",encodeURIComponent(String(o))),s=j.parse(n,!0);e&&(i=e.baseOptions);var u=E(E({method:"PUT"},i),a),p={};if(e&&(e.username||e.password)&&(p.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var c="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;p.Authorization=c}p["Content-Type"]="application/json",s.query=E(E(E({},s.query),{}),a.query),delete s.search,u.headers=E(E({},p),a.headers);var l="string"!=typeof t||"application/json"===u.headers["Content-Type"];return u.data=l?JSON.stringify(void 0!==t?t:{}):t||"",{url:j.format(s),options:u}},projectCreate:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("data","Required parameter data was null or undefined when calling projectCreate.");var t,a=j.parse("/project/",!0);e&&(t=e.baseOptions);var i=E(E({method:"POST"},t),o),n={};if(e&&(e.username||e.password)&&(n.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var s="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;n.Authorization=s}n["Content-Type"]="application/json",a.query=E(E(E({},a.query),{}),o.query),delete a.search,i.headers=E(E({},n),o.headers);var u="string"!=typeof r||"application/json"===i.headers["Content-Type"];return i.data=u?JSON.stringify(void 0!==r?r:{}):r||"",{url:j.format(a),options:i}},projectDelete:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling projectDelete.");var t,a="/project/{id}/".replace("{id}",encodeURIComponent(String(r))),i=j.parse(a,!0);e&&(t=e.baseOptions);var n=E(E({method:"DELETE"},t),o),s={};if(e&&(e.username||e.password)&&(s.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var u="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;s.Authorization=u}return i.query=E(E(E({},i.query),{}),o.query),delete i.search,n.headers=E(E({},s),o.headers),{url:j.format(i),options:n}},projectDocumentsCreate:function(r,o,t,a){if(void 0===a&&(a={}),null==r)throw new z.RequiredError("project_pk","Required parameter project_pk was null or undefined when calling projectDocumentsCreate.");var i,n="/project/{project_pk}/documents/".replace("{project_pk}",encodeURIComponent(String(r))),s=j.parse(n,!0);e&&(i=e.baseOptions);var u=E(E({method:"POST"},i),a),p={},c=new FormData;if(e&&(e.username||e.password)&&(p.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var l="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;p.Authorization=l}return void 0!==o&&c.append("content",o),void 0!==t&&c.append("relative_path",t),p["Content-Type"]="multipart/form-data",s.query=E(E(E({},s.query),{}),a.query),delete s.search,u.headers=E(E({},p),a.headers),u.data=c,{url:j.format(s),options:u}},projectDocumentsDelete:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling projectDocumentsDelete.");if(null==o)throw new z.RequiredError("project_pk","Required parameter project_pk was null or undefined when calling projectDocumentsDelete.");var a,i="/project/{project_pk}/documents/{id}/".replace("{id}",encodeURIComponent(String(r))).replace("{project_pk}",encodeURIComponent(String(o))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"DELETE"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}return n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers),{url:j.format(n),options:s}},projectDocumentsDownload:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("project_pk","Required parameter project_pk was null or undefined when calling projectDocumentsDownload.");if(null==o)throw new z.RequiredError("data","Required parameter data was null or undefined when calling projectDocumentsDownload.");var a,i="/project/{project_pk}/documents/download/".replace("{project_pk}",encodeURIComponent(String(r))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"POST"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}u["Content-Type"]="application/json",n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers);var c="string"!=typeof o||"application/json"===s.headers["Content-Type"];return s.data=c?JSON.stringify(void 0!==o?o:{}):o||"",{url:j.format(n),options:s}},projectDocumentsList:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("project_pk","Required parameter project_pk was null or undefined when calling projectDocumentsList.");var t,a="/project/{project_pk}/documents/".replace("{project_pk}",encodeURIComponent(String(r))),i=j.parse(a,!0);e&&(t=e.baseOptions);var n=E(E({method:"GET"},t),o),s={};if(e&&(e.username||e.password)&&(s.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var u="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;s.Authorization=u}return i.query=E(E(E({},i.query),{}),o.query),delete i.search,n.headers=E(E({},s),o.headers),{url:j.format(i),options:n}},projectDocumentsPartialUpdate:function(r,o,t,a,i){if(void 0===i&&(i={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling projectDocumentsPartialUpdate.");if(null==o)throw new z.RequiredError("project_pk","Required parameter project_pk was null or undefined when calling projectDocumentsPartialUpdate.");var n,s="/project/{project_pk}/documents/{id}/".replace("{id}",encodeURIComponent(String(r))).replace("{project_pk}",encodeURIComponent(String(o))),u=j.parse(s,!0);e&&(n=e.baseOptions);var p=E(E({method:"PATCH"},n),i),c={},l=new FormData;if(e&&(e.username||e.password)&&(c.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var d="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;c.Authorization=d}return void 0!==t&&l.append("content",t),void 0!==a&&l.append("relative_path",a),c["Content-Type"]="multipart/form-data",u.query=E(E(E({},u.query),{}),i.query),delete u.search,p.headers=E(E({},c),i.headers),p.data=l,{url:j.format(u),options:p}},projectDocumentsRead:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling projectDocumentsRead.");if(null==o)throw new z.RequiredError("project_pk","Required parameter project_pk was null or undefined when calling projectDocumentsRead.");var a,i="/project/{project_pk}/documents/{id}/".replace("{id}",encodeURIComponent(String(r))).replace("{project_pk}",encodeURIComponent(String(o))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"GET"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}return n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers),{url:j.format(n),options:s}},projectDocumentsUpdate:function(r,o,t,a,i){if(void 0===i&&(i={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling projectDocumentsUpdate.");if(null==o)throw new z.RequiredError("project_pk","Required parameter project_pk was null or undefined when calling projectDocumentsUpdate.");var n,s="/project/{project_pk}/documents/{id}/".replace("{id}",encodeURIComponent(String(r))).replace("{project_pk}",encodeURIComponent(String(o))),u=j.parse(s,!0);e&&(n=e.baseOptions);var p=E(E({method:"PUT"},n),i),c={},l=new FormData;if(e&&(e.username||e.password)&&(c.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var d="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;c.Authorization=d}return void 0!==t&&l.append("content",t),void 0!==a&&l.append("relative_path",a),c["Content-Type"]="multipart/form-data",u.query=E(E(E({},u.query),{}),i.query),delete u.search,p.headers=E(E({},c),i.headers),p.data=l,{url:j.format(u),options:p}},projectKeysCreate:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling projectKeysCreate.");if(null==o)throw new z.RequiredError("data","Required parameter data was null or undefined when calling projectKeysCreate.");var a,i="/project/{id}/keys/".replace("{id}",encodeURIComponent(String(r))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"POST"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}u["Content-Type"]="application/json",n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers);var c="string"!=typeof o||"application/json"===s.headers["Content-Type"];return s.data=c?JSON.stringify(void 0!==o?o:{}):o||"",{url:j.format(n),options:s}},projectKeysDelete:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling projectKeysDelete.");if(null==o)throw new z.RequiredError("data","Required parameter data was null or undefined when calling projectKeysDelete.");var a,i="/project/{id}/keys/".replace("{id}",encodeURIComponent(String(r))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"DELETE"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}u["Content-Type"]="application/json",n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers);var c="string"!=typeof o||"application/json"===s.headers["Content-Type"];return s.data=c?JSON.stringify(void 0!==o?o:{}):o||"",{url:j.format(n),options:s}},projectKeysRead:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling projectKeysRead.");var t,a="/project/{id}/keys/".replace("{id}",encodeURIComponent(String(r))),i=j.parse(a,!0);e&&(t=e.baseOptions);var n=E(E({method:"GET"},t),o),s={};if(e&&(e.username||e.password)&&(s.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var u="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;s.Authorization=u}return i.query=E(E(E({},i.query),{}),o.query),delete i.search,n.headers=E(E({},s),o.headers),{url:j.format(i),options:n}},projectLayoutCreate:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("project_pk","Required parameter project_pk was null or undefined when calling projectLayoutCreate.");if(null==o)throw new z.RequiredError("data","Required parameter data was null or undefined when calling projectLayoutCreate.");var a,i="/project/{project_pk}/layout/".replace("{project_pk}",encodeURIComponent(String(r))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"POST"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}u["Content-Type"]="application/json",n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers);var c="string"!=typeof o||"application/json"===s.headers["Content-Type"];return s.data=c?JSON.stringify(void 0!==o?o:{}):o||"",{url:j.format(n),options:s}},projectLayoutList:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("project_pk","Required parameter project_pk was null or undefined when calling projectLayoutList.");var t,a="/project/{project_pk}/layout/".replace("{project_pk}",encodeURIComponent(String(r))),i=j.parse(a,!0);e&&(t=e.baseOptions);var n=E(E({method:"GET"},t),o),s={};if(e&&(e.username||e.password)&&(s.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var u="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;s.Authorization=u}return i.query=E(E(E({},i.query),{}),o.query),delete i.search,n.headers=E(E({},s),o.headers),{url:j.format(i),options:n}},projectList:function(r,o,t,a,i,n,s){void 0===s&&(s={});var u,p=j.parse("/project/",!0);e&&(u=e.baseOptions);var c=E(E({method:"GET"},u),s),l={},d={};if(e&&(e.username||e.password)&&(l.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var h="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;l.Authorization=h}return void 0!==r&&(d.visibility=r),void 0!==o&&(d.group=o),void 0!==t&&(d.mine=t),void 0!==a&&(d.challenge=a),void 0!==i&&(d.predict=i),void 0!==n&&(d.recommended=n),p.query=E(E(E({},p.query),d),s.query),delete p.search,c.headers=E(E({},l),s.headers),{url:j.format(p),options:c}},projectPartialUpdate:function(r,o,t,a,i,n,s,u){if(void 0===u&&(u={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling projectPartialUpdate.");var p,c="/project/{id}/".replace("{id}",encodeURIComponent(String(r))),l=j.parse(c,!0);e&&(p=e.baseOptions);var d=E(E({method:"PATCH"},p),u),h={},m=new FormData;if(e&&(e.username||e.password)&&(h.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var f="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;h.Authorization=f}return void 0!==o&&m.append("name",o),void 0!==t&&m.append("description",t),void 0!==a&&m.append("visibility",a),void 0!==i&&m.append("image",i),void 0!==n&&m.append("capability_id",n),void 0!==s&&m.append("editor_image_id",s),h["Content-Type"]="multipart/form-data",l.query=E(E(E({},l.query),{}),u.query),delete l.search,d.headers=E(E({},h),u.headers),d.data=m,{url:j.format(l),options:d}},projectPropertiesCreate:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("project_pk","Required parameter project_pk was null or undefined when calling projectPropertiesCreate.");if(null==o)throw new z.RequiredError("data","Required parameter data was null or undefined when calling projectPropertiesCreate.");var a,i="/project/{project_pk}/properties/".replace("{project_pk}",encodeURIComponent(String(r))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"POST"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}u["Content-Type"]="application/json",n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers);var c="string"!=typeof o||"application/json"===s.headers["Content-Type"];return s.data=c?JSON.stringify(void 0!==o?o:{}):o||"",{url:j.format(n),options:s}},projectPropertiesList:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("project_pk","Required parameter project_pk was null or undefined when calling projectPropertiesList.");var t,a="/project/{project_pk}/properties/".replace("{project_pk}",encodeURIComponent(String(r))),i=j.parse(a,!0);e&&(t=e.baseOptions);var n=E(E({method:"GET"},t),o),s={};if(e&&(e.username||e.password)&&(s.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var u="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;s.Authorization=u}return i.query=E(E(E({},i.query),{}),o.query),delete i.search,n.headers=E(E({},s),o.headers),{url:j.format(i),options:n}},projectQuizzesRead:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling projectQuizzesRead.");if(null==o)throw new z.RequiredError("project_pk","Required parameter project_pk was null or undefined when calling projectQuizzesRead.");var a,i="/project/{project_pk}/quizzes/{id}/".replace("{id}",encodeURIComponent(String(r))).replace("{project_pk}",encodeURIComponent(String(o))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"GET"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}return n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers),{url:j.format(n),options:s}},projectQuizzesSubmit:function(r,o,t,a){if(void 0===a&&(a={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling projectQuizzesSubmit.");if(null==o)throw new z.RequiredError("project_pk","Required parameter project_pk was null or undefined when calling projectQuizzesSubmit.");if(null==t)throw new z.RequiredError("data","Required parameter data was null or undefined when calling projectQuizzesSubmit.");var i,n="/project/{project_pk}/quizzes/{id}/submit/".replace("{id}",encodeURIComponent(String(r))).replace("{project_pk}",encodeURIComponent(String(o))),s=j.parse(n,!0);e&&(i=e.baseOptions);var u=E(E({method:"POST"},i),a),p={};if(e&&(e.username||e.password)&&(p.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var c="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;p.Authorization=c}p["Content-Type"]="application/json",s.query=E(E(E({},s.query),{}),a.query),delete s.search,u.headers=E(E({},p),a.headers);var l="string"!=typeof t||"application/json"===u.headers["Content-Type"];return u.data=l?JSON.stringify(void 0!==t?t:{}):t||"",{url:j.format(s),options:u}},projectQuizzesUserAnswers:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling projectQuizzesUserAnswers.");if(null==o)throw new z.RequiredError("project_pk","Required parameter project_pk was null or undefined when calling projectQuizzesUserAnswers.");var a,i="/project/{project_pk}/quizzes/{id}/user_answers/".replace("{id}",encodeURIComponent(String(r))).replace("{project_pk}",encodeURIComponent(String(o))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"GET"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}return n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers),{url:j.format(n),options:s}},projectRead:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling projectRead.");var t,a="/project/{id}/".replace("{id}",encodeURIComponent(String(r))),i=j.parse(a,!0);e&&(t=e.baseOptions);var n=E(E({method:"GET"},t),o),s={};if(e&&(e.username||e.password)&&(s.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var u="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;s.Authorization=u}return i.query=E(E(E({},i.query),{}),o.query),delete i.search,n.headers=E(E({},s),o.headers),{url:j.format(i),options:n}},projectReadmeCreate:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("project_pk","Required parameter project_pk was null or undefined when calling projectReadmeCreate.");if(null==o)throw new z.RequiredError("data","Required parameter data was null or undefined when calling projectReadmeCreate.");var a,i="/project/{project_pk}/readme/".replace("{project_pk}",encodeURIComponent(String(r))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"POST"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}u["Content-Type"]="application/json",n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers);var c="string"!=typeof o||"application/json"===s.headers["Content-Type"];return s.data=c?JSON.stringify(void 0!==o?o:{}):o||"",{url:j.format(n),options:s}},projectReadmeList:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("project_pk","Required parameter project_pk was null or undefined when calling projectReadmeList.");var t,a="/project/{project_pk}/readme/".replace("{project_pk}",encodeURIComponent(String(r))),i=j.parse(a,!0);e&&(t=e.baseOptions);var n=E(E({method:"GET"},t),o),s={};if(e&&(e.username||e.password)&&(s.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var u="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;s.Authorization=u}return i.query=E(E(E({},i.query),{}),o.query),delete i.search,n.headers=E(E({},s),o.headers),{url:j.format(i),options:n}},projectResetAchievements:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling projectResetAchievements.");var t,a="/project/{id}/reset-achievements/".replace("{id}",encodeURIComponent(String(r))),i=j.parse(a,!0);e&&(t=e.baseOptions);var n=E(E({method:"POST"},t),o),s={};if(e&&(e.username||e.password)&&(s.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var u="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;s.Authorization=u}return i.query=E(E(E({},i.query),{}),o.query),delete i.search,n.headers=E(E({},s),o.headers),{url:j.format(i),options:n}},projectUpdate:function(r,o,t,a,i,n,s,u){if(void 0===u&&(u={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling projectUpdate.");var p,c="/project/{id}/".replace("{id}",encodeURIComponent(String(r))),l=j.parse(c,!0);e&&(p=e.baseOptions);var d=E(E({method:"PUT"},p),u),h={},m=new FormData;if(e&&(e.username||e.password)&&(h.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var f="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;h.Authorization=f}return void 0!==o&&m.append("name",o),void 0!==t&&m.append("description",t),void 0!==a&&m.append("visibility",a),void 0!==i&&m.append("image",i),void 0!==n&&m.append("capability_id",n),void 0!==s&&m.append("editor_image_id",s),h["Content-Type"]="multipart/form-data",l.query=E(E(E({},l.query),{}),u.query),delete l.search,d.headers=E(E({},h),u.headers),d.data=m,{url:j.format(l),options:d}}}},r.ProjectApiFp=function(e){return{projectAchievementsAchieve:function(o,t,a){var i=r.ProjectApiAxiosParamCreator(e).projectAchievementsAchieve(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},projectAchievementsCreate:function(o,t,a){var i=r.ProjectApiAxiosParamCreator(e).projectAchievementsCreate(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},projectAchievementsDelete:function(o,t,a){var i=r.ProjectApiAxiosParamCreator(e).projectAchievementsDelete(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},projectAchievementsList:function(o,t){var a=r.ProjectApiAxiosParamCreator(e).projectAchievementsList(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}},projectAchievementsPartialUpdate:function(o,t,a,i){var n=r.ProjectApiAxiosParamCreator(e).projectAchievementsPartialUpdate(o,t,a,i);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},n.options),{url:r+n.url});return e.request(o)}},projectAchievementsRead:function(o,t,a){var i=r.ProjectApiAxiosParamCreator(e).projectAchievementsRead(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},projectAchievementsUpdate:function(o,t,a,i){var n=r.ProjectApiAxiosParamCreator(e).projectAchievementsUpdate(o,t,a,i);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},n.options),{url:r+n.url});return e.request(o)}},projectBranchesDelete:function(o,t,a){var i=r.ProjectApiAxiosParamCreator(e).projectBranchesDelete(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},projectBranchesDependencies:function(o,t,a){var i=r.ProjectApiAxiosParamCreator(e).projectBranchesDependencies(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},projectBranchesEventsCreate:function(o,t,a,i){var n=r.ProjectApiAxiosParamCreator(e).projectBranchesEventsCreate(o,t,a,i);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},n.options),{url:r+n.url});return e.request(o)}},projectBranchesList:function(o,t,a){var i=r.ProjectApiAxiosParamCreator(e).projectBranchesList(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},projectBranchesPartialUpdate:function(o,t,a,i){var n=r.ProjectApiAxiosParamCreator(e).projectBranchesPartialUpdate(o,t,a,i);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},n.options),{url:r+n.url});return e.request(o)}},projectBranchesPublish:function(o,t,a,i){var n=r.ProjectApiAxiosParamCreator(e).projectBranchesPublish(o,t,a,i);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},n.options),{url:r+n.url});return e.request(o)}},projectBranchesRead:function(o,t,a){var i=r.ProjectApiAxiosParamCreator(e).projectBranchesRead(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},projectBranchesUpdate:function(o,t,a,i){var n=r.ProjectApiAxiosParamCreator(e).projectBranchesUpdate(o,t,a,i);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},n.options),{url:r+n.url});return e.request(o)}},projectCreate:function(o,t){var a=r.ProjectApiAxiosParamCreator(e).projectCreate(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}},projectDelete:function(o,t){var a=r.ProjectApiAxiosParamCreator(e).projectDelete(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}},projectDocumentsCreate:function(o,t,a,i){var n=r.ProjectApiAxiosParamCreator(e).projectDocumentsCreate(o,t,a,i);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},n.options),{url:r+n.url});return e.request(o)}},projectDocumentsDelete:function(o,t,a){var i=r.ProjectApiAxiosParamCreator(e).projectDocumentsDelete(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},projectDocumentsDownload:function(o,t,a){var i=r.ProjectApiAxiosParamCreator(e).projectDocumentsDownload(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},projectDocumentsList:function(o,t){var a=r.ProjectApiAxiosParamCreator(e).projectDocumentsList(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}},projectDocumentsPartialUpdate:function(o,t,a,i,n){var s=r.ProjectApiAxiosParamCreator(e).projectDocumentsPartialUpdate(o,t,a,i,n);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},s.options),{url:r+s.url});return e.request(o)}},projectDocumentsRead:function(o,t,a){var i=r.ProjectApiAxiosParamCreator(e).projectDocumentsRead(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},projectDocumentsUpdate:function(o,t,a,i,n){var s=r.ProjectApiAxiosParamCreator(e).projectDocumentsUpdate(o,t,a,i,n);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},s.options),{url:r+s.url});return e.request(o)}},projectKeysCreate:function(o,t,a){var i=r.ProjectApiAxiosParamCreator(e).projectKeysCreate(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},projectKeysDelete:function(o,t,a){var i=r.ProjectApiAxiosParamCreator(e).projectKeysDelete(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},projectKeysRead:function(o,t){var a=r.ProjectApiAxiosParamCreator(e).projectKeysRead(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}},projectLayoutCreate:function(o,t,a){var i=r.ProjectApiAxiosParamCreator(e).projectLayoutCreate(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},projectLayoutList:function(o,t){var a=r.ProjectApiAxiosParamCreator(e).projectLayoutList(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}},projectList:function(o,t,a,i,n,s,u){var p=r.ProjectApiAxiosParamCreator(e).projectList(o,t,a,i,n,s,u);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},p.options),{url:r+p.url});return e.request(o)}},projectPartialUpdate:function(o,t,a,i,n,s,u,p){var c=r.ProjectApiAxiosParamCreator(e).projectPartialUpdate(o,t,a,i,n,s,u,p);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},c.options),{url:r+c.url});return e.request(o)}},projectPropertiesCreate:function(o,t,a){var i=r.ProjectApiAxiosParamCreator(e).projectPropertiesCreate(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},projectPropertiesList:function(o,t){var a=r.ProjectApiAxiosParamCreator(e).projectPropertiesList(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}},projectQuizzesRead:function(o,t,a){var i=r.ProjectApiAxiosParamCreator(e).projectQuizzesRead(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},projectQuizzesSubmit:function(o,t,a,i){var n=r.ProjectApiAxiosParamCreator(e).projectQuizzesSubmit(o,t,a,i);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},n.options),{url:r+n.url});return e.request(o)}},projectQuizzesUserAnswers:function(o,t,a){var i=r.ProjectApiAxiosParamCreator(e).projectQuizzesUserAnswers(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},projectRead:function(o,t){var a=r.ProjectApiAxiosParamCreator(e).projectRead(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}},projectReadmeCreate:function(o,t,a){var i=r.ProjectApiAxiosParamCreator(e).projectReadmeCreate(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},projectReadmeList:function(o,t){var a=r.ProjectApiAxiosParamCreator(e).projectReadmeList(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}},projectResetAchievements:function(o,t){var a=r.ProjectApiAxiosParamCreator(e).projectResetAchievements(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}},projectUpdate:function(o,t,a,i,n,s,u,p){var c=r.ProjectApiAxiosParamCreator(e).projectUpdate(o,t,a,i,n,s,u,p);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},c.options),{url:r+c.url});return e.request(o)}}}},r.ProjectApiFactory=function(e,o,t){return{projectAchievementsAchieve:function(a,i,n){return r.ProjectApiFp(e).projectAchievementsAchieve(a,i,n)(t,o)},projectAchievementsCreate:function(a,i,n){return r.ProjectApiFp(e).projectAchievementsCreate(a,i,n)(t,o)},projectAchievementsDelete:function(a,i,n){return r.ProjectApiFp(e).projectAchievementsDelete(a,i,n)(t,o)},projectAchievementsList:function(a,i){return r.ProjectApiFp(e).projectAchievementsList(a,i)(t,o)},projectAchievementsPartialUpdate:function(a,i,n,s){return r.ProjectApiFp(e).projectAchievementsPartialUpdate(a,i,n,s)(t,o)},projectAchievementsRead:function(a,i,n){return r.ProjectApiFp(e).projectAchievementsRead(a,i,n)(t,o)},projectAchievementsUpdate:function(a,i,n,s){return r.ProjectApiFp(e).projectAchievementsUpdate(a,i,n,s)(t,o)},projectBranchesDelete:function(a,i,n){return r.ProjectApiFp(e).projectBranchesDelete(a,i,n)(t,o)},projectBranchesDependencies:function(a,i,n){return r.ProjectApiFp(e).projectBranchesDependencies(a,i,n)(t,o)},projectBranchesEventsCreate:function(a,i,n,s){return r.ProjectApiFp(e).projectBranchesEventsCreate(a,i,n,s)(t,o)},projectBranchesList:function(a,i,n){return r.ProjectApiFp(e).projectBranchesList(a,i,n)(t,o)},projectBranchesPartialUpdate:function(a,i,n,s){return r.ProjectApiFp(e).projectBranchesPartialUpdate(a,i,n,s)(t,o)},projectBranchesPublish:function(a,i,n,s){return r.ProjectApiFp(e).projectBranchesPublish(a,i,n,s)(t,o)},projectBranchesRead:function(a,i,n){return r.ProjectApiFp(e).projectBranchesRead(a,i,n)(t,o)},projectBranchesUpdate:function(a,i,n,s){return r.ProjectApiFp(e).projectBranchesUpdate(a,i,n,s)(t,o)},projectCreate:function(a,i){return r.ProjectApiFp(e).projectCreate(a,i)(t,o)},projectDelete:function(a,i){return r.ProjectApiFp(e).projectDelete(a,i)(t,o)},projectDocumentsCreate:function(a,i,n,s){return r.ProjectApiFp(e).projectDocumentsCreate(a,i,n,s)(t,o)},projectDocumentsDelete:function(a,i,n){return r.ProjectApiFp(e).projectDocumentsDelete(a,i,n)(t,o)},projectDocumentsDownload:function(a,i,n){return r.ProjectApiFp(e).projectDocumentsDownload(a,i,n)(t,o)},projectDocumentsList:function(a,i){return r.ProjectApiFp(e).projectDocumentsList(a,i)(t,o)},projectDocumentsPartialUpdate:function(a,i,n,s,u){return r.ProjectApiFp(e).projectDocumentsPartialUpdate(a,i,n,s,u)(t,o)},projectDocumentsRead:function(a,i,n){return r.ProjectApiFp(e).projectDocumentsRead(a,i,n)(t,o)},projectDocumentsUpdate:function(a,i,n,s,u){return r.ProjectApiFp(e).projectDocumentsUpdate(a,i,n,s,u)(t,o)},projectKeysCreate:function(a,i,n){return r.ProjectApiFp(e).projectKeysCreate(a,i,n)(t,o)},projectKeysDelete:function(a,i,n){return r.ProjectApiFp(e).projectKeysDelete(a,i,n)(t,o)},projectKeysRead:function(a,i){return r.ProjectApiFp(e).projectKeysRead(a,i)(t,o)},projectLayoutCreate:function(a,i,n){return r.ProjectApiFp(e).projectLayoutCreate(a,i,n)(t,o)},projectLayoutList:function(a,i){return r.ProjectApiFp(e).projectLayoutList(a,i)(t,o)},projectList:function(a,i,n,s,u,p,c){return r.ProjectApiFp(e).projectList(a,i,n,s,u,p,c)(t,o)},projectPartialUpdate:function(a,i,n,s,u,p,c,l){return r.ProjectApiFp(e).projectPartialUpdate(a,i,n,s,u,p,c,l)(t,o)},projectPropertiesCreate:function(a,i,n){return r.ProjectApiFp(e).projectPropertiesCreate(a,i,n)(t,o)},projectPropertiesList:function(a,i){return r.ProjectApiFp(e).projectPropertiesList(a,i)(t,o)},projectQuizzesRead:function(a,i,n){return r.ProjectApiFp(e).projectQuizzesRead(a,i,n)(t,o)},projectQuizzesSubmit:function(a,i,n,s){return r.ProjectApiFp(e).projectQuizzesSubmit(a,i,n,s)(t,o)},projectQuizzesUserAnswers:function(a,i,n){return r.ProjectApiFp(e).projectQuizzesUserAnswers(a,i,n)(t,o)},projectRead:function(a,i){return r.ProjectApiFp(e).projectRead(a,i)(t,o)},projectReadmeCreate:function(a,i,n){return r.ProjectApiFp(e).projectReadmeCreate(a,i,n)(t,o)},projectReadmeList:function(a,i){return r.ProjectApiFp(e).projectReadmeList(a,i)(t,o)},projectResetAchievements:function(a,i){return r.ProjectApiFp(e).projectResetAchievements(a,i)(t,o)},projectUpdate:function(a,i,n,s,u,p,c,l){return r.ProjectApiFp(e).projectUpdate(a,i,n,s,u,p,c,l)(t,o)}}};var et=function(e){function o(){return null!==e&&e.apply(this,arguments)||this}return K(o,e),o.prototype.projectAchievementsAchieve=function(e,o,t){return r.ProjectApiFp(this.configuration).projectAchievementsAchieve(e,o,t)(this.axios,this.basePath)},o.prototype.projectAchievementsCreate=function(e,o,t){return r.ProjectApiFp(this.configuration).projectAchievementsCreate(e,o,t)(this.axios,this.basePath)},o.prototype.projectAchievementsDelete=function(e,o,t){return r.ProjectApiFp(this.configuration).projectAchievementsDelete(e,o,t)(this.axios,this.basePath)},o.prototype.projectAchievementsList=function(e,o){return r.ProjectApiFp(this.configuration).projectAchievementsList(e,o)(this.axios,this.basePath)},o.prototype.projectAchievementsPartialUpdate=function(e,o,t,a){return r.ProjectApiFp(this.configuration).projectAchievementsPartialUpdate(e,o,t,a)(this.axios,this.basePath)},o.prototype.projectAchievementsRead=function(e,o,t){return r.ProjectApiFp(this.configuration).projectAchievementsRead(e,o,t)(this.axios,this.basePath)},o.prototype.projectAchievementsUpdate=function(e,o,t,a){return r.ProjectApiFp(this.configuration).projectAchievementsUpdate(e,o,t,a)(this.axios,this.basePath)},o.prototype.projectBranchesDelete=function(e,o,t){return r.ProjectApiFp(this.configuration).projectBranchesDelete(e,o,t)(this.axios,this.basePath)},o.prototype.projectBranchesDependencies=function(e,o,t){return r.ProjectApiFp(this.configuration).projectBranchesDependencies(e,o,t)(this.axios,this.basePath)},o.prototype.projectBranchesEventsCreate=function(e,o,t,a){return r.ProjectApiFp(this.configuration).projectBranchesEventsCreate(e,o,t,a)(this.axios,this.basePath)},o.prototype.projectBranchesList=function(e,o,t){return r.ProjectApiFp(this.configuration).projectBranchesList(e,o,t)(this.axios,this.basePath)},o.prototype.projectBranchesPartialUpdate=function(e,o,t,a){return r.ProjectApiFp(this.configuration).projectBranchesPartialUpdate(e,o,t,a)(this.axios,this.basePath)},o.prototype.projectBranchesPublish=function(e,o,t,a){return r.ProjectApiFp(this.configuration).projectBranchesPublish(e,o,t,a)(this.axios,this.basePath)},o.prototype.projectBranchesRead=function(e,o,t){return r.ProjectApiFp(this.configuration).projectBranchesRead(e,o,t)(this.axios,this.basePath)},o.prototype.projectBranchesUpdate=function(e,o,t,a){return r.ProjectApiFp(this.configuration).projectBranchesUpdate(e,o,t,a)(this.axios,this.basePath)},o.prototype.projectCreate=function(e,o){return r.ProjectApiFp(this.configuration).projectCreate(e,o)(this.axios,this.basePath)},o.prototype.projectDelete=function(e,o){return r.ProjectApiFp(this.configuration).projectDelete(e,o)(this.axios,this.basePath)},o.prototype.projectDocumentsCreate=function(e,o,t,a){return r.ProjectApiFp(this.configuration).projectDocumentsCreate(e,o,t,a)(this.axios,this.basePath)},o.prototype.projectDocumentsDelete=function(e,o,t){return r.ProjectApiFp(this.configuration).projectDocumentsDelete(e,o,t)(this.axios,this.basePath)},o.prototype.projectDocumentsDownload=function(e,o,t){return r.ProjectApiFp(this.configuration).projectDocumentsDownload(e,o,t)(this.axios,this.basePath)},o.prototype.projectDocumentsList=function(e,o){return r.ProjectApiFp(this.configuration).projectDocumentsList(e,o)(this.axios,this.basePath)},o.prototype.projectDocumentsPartialUpdate=function(e,o,t,a,i){return r.ProjectApiFp(this.configuration).projectDocumentsPartialUpdate(e,o,t,a,i)(this.axios,this.basePath)},o.prototype.projectDocumentsRead=function(e,o,t){return r.ProjectApiFp(this.configuration).projectDocumentsRead(e,o,t)(this.axios,this.basePath)},o.prototype.projectDocumentsUpdate=function(e,o,t,a,i){return r.ProjectApiFp(this.configuration).projectDocumentsUpdate(e,o,t,a,i)(this.axios,this.basePath)},o.prototype.projectKeysCreate=function(e,o,t){return r.ProjectApiFp(this.configuration).projectKeysCreate(e,o,t)(this.axios,this.basePath)},o.prototype.projectKeysDelete=function(e,o,t){return r.ProjectApiFp(this.configuration).projectKeysDelete(e,o,t)(this.axios,this.basePath)},o.prototype.projectKeysRead=function(e,o){return r.ProjectApiFp(this.configuration).projectKeysRead(e,o)(this.axios,this.basePath)},o.prototype.projectLayoutCreate=function(e,o,t){return r.ProjectApiFp(this.configuration).projectLayoutCreate(e,o,t)(this.axios,this.basePath)},o.prototype.projectLayoutList=function(e,o){return r.ProjectApiFp(this.configuration).projectLayoutList(e,o)(this.axios,this.basePath)},o.prototype.projectList=function(e,o,t,a,i,n,s){return r.ProjectApiFp(this.configuration).projectList(e,o,t,a,i,n,s)(this.axios,this.basePath)},o.prototype.projectPartialUpdate=function(e,o,t,a,i,n,s,u){return r.ProjectApiFp(this.configuration).projectPartialUpdate(e,o,t,a,i,n,s,u)(this.axios,this.basePath)},o.prototype.projectPropertiesCreate=function(e,o,t){return r.ProjectApiFp(this.configuration).projectPropertiesCreate(e,o,t)(this.axios,this.basePath)},o.prototype.projectPropertiesList=function(e,o){return r.ProjectApiFp(this.configuration).projectPropertiesList(e,o)(this.axios,this.basePath)},o.prototype.projectQuizzesRead=function(e,o,t){return r.ProjectApiFp(this.configuration).projectQuizzesRead(e,o,t)(this.axios,this.basePath)},o.prototype.projectQuizzesSubmit=function(e,o,t,a){return r.ProjectApiFp(this.configuration).projectQuizzesSubmit(e,o,t,a)(this.axios,this.basePath)},o.prototype.projectQuizzesUserAnswers=function(e,o,t){return r.ProjectApiFp(this.configuration).projectQuizzesUserAnswers(e,o,t)(this.axios,this.basePath)},o.prototype.projectRead=function(e,o){return r.ProjectApiFp(this.configuration).projectRead(e,o)(this.axios,this.basePath)},o.prototype.projectReadmeCreate=function(e,o,t){return r.ProjectApiFp(this.configuration).projectReadmeCreate(e,o,t)(this.axios,this.basePath)},o.prototype.projectReadmeList=function(e,o){return r.ProjectApiFp(this.configuration).projectReadmeList(e,o)(this.axios,this.basePath)},o.prototype.projectResetAchievements=function(e,o){return r.ProjectApiFp(this.configuration).projectResetAchievements(e,o)(this.axios,this.basePath)},o.prototype.projectUpdate=function(e,o,t,a,i,n,s,u){return r.ProjectApiFp(this.configuration).projectUpdate(e,o,t,a,i,n,s,u)(this.axios,this.basePath)},o}(z.BaseAPI);r.ProjectApi=et,r.ProjectBranchApiAxiosParamCreator=function(e){return{projectBranchList:function(r,o,t,a){void 0===a&&(a={});var i,n=j.parse("/project-branch/",!0);e&&(i=e.baseOptions);var s=E(E({method:"GET"},i),a),u={},p={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var c="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=c}return void 0!==r&&(p.group=r),void 0!==o&&(p.project=o),void 0!==t&&(p.name=t),n.query=E(E(E({},n.query),p),a.query),delete n.search,s.headers=E(E({},u),a.headers),{url:j.format(n),options:s}}}},r.ProjectBranchApiFp=function(e){return{projectBranchList:function(o,t,a,i){var n=r.ProjectBranchApiAxiosParamCreator(e).projectBranchList(o,t,a,i);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},n.options),{url:r+n.url});return e.request(o)}}}},r.ProjectBranchApiFactory=function(e,o,t){return{projectBranchList:function(a,i,n,s){return r.ProjectBranchApiFp(e).projectBranchList(a,i,n,s)(t,o)}}};var ea=function(e){function o(){return null!==e&&e.apply(this,arguments)||this}return K(o,e),o.prototype.projectBranchList=function(e,o,t,a){return r.ProjectBranchApiFp(this.configuration).projectBranchList(e,o,t,a)(this.axios,this.basePath)},o}(z.BaseAPI);r.ProjectBranchApi=ea,r.PurchasesApiAxiosParamCreator=function(e){return{purchasesList:function(r){void 0===r&&(r={});var o,t=j.parse("/purchases/",!0);e&&(o=e.baseOptions);var a=E(E({method:"GET"},o),r),i={};if(e&&(e.username||e.password)&&(i.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var n="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;i.Authorization=n}return t.query=E(E(E({},t.query),{}),r.query),delete t.search,a.headers=E(E({},i),r.headers),{url:j.format(t),options:a}},purchasesRead:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling purchasesRead.");var t,a="/purchases/{id}/".replace("{id}",encodeURIComponent(String(r))),i=j.parse(a,!0);e&&(t=e.baseOptions);var n=E(E({method:"GET"},t),o),s={};if(e&&(e.username||e.password)&&(s.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var u="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;s.Authorization=u}return i.query=E(E(E({},i.query),{}),o.query),delete i.search,n.headers=E(E({},s),o.headers),{url:j.format(i),options:n}}}},r.PurchasesApiFp=function(e){return{purchasesList:function(o){var t=r.PurchasesApiAxiosParamCreator(e).purchasesList(o);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},t.options),{url:r+t.url});return e.request(o)}},purchasesRead:function(o,t){var a=r.PurchasesApiAxiosParamCreator(e).purchasesRead(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}}}},r.PurchasesApiFactory=function(e,o,t){return{purchasesList:function(a){return r.PurchasesApiFp(e).purchasesList(a)(t,o)},purchasesRead:function(a,i){return r.PurchasesApiFp(e).purchasesRead(a,i)(t,o)}}};var ei=function(e){function o(){return null!==e&&e.apply(this,arguments)||this}return K(o,e),o.prototype.purchasesList=function(e){return r.PurchasesApiFp(this.configuration).purchasesList(e)(this.axios,this.basePath)},o.prototype.purchasesRead=function(e,o){return r.PurchasesApiFp(this.configuration).purchasesRead(e,o)(this.axios,this.basePath)},o}(z.BaseAPI);r.PurchasesApi=ei,r.SecurityImageApiAxiosParamCreator=function(e){return{securityImageList:function(r){void 0===r&&(r={});var o,t=j.parse("/security-image/",!0);e&&(o=e.baseOptions);var a=E(E({method:"GET"},o),r),i={};if(e&&(e.username||e.password)&&(i.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var n="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;i.Authorization=n}return t.query=E(E(E({},t.query),{}),r.query),delete t.search,a.headers=E(E({},i),r.headers),{url:j.format(t),options:a}}}},r.SecurityImageApiFp=function(e){return{securityImageList:function(o){var t=r.SecurityImageApiAxiosParamCreator(e).securityImageList(o);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},t.options),{url:r+t.url});return e.request(o)}}}},r.SecurityImageApiFactory=function(e,o,t){return{securityImageList:function(a){return r.SecurityImageApiFp(e).securityImageList(a)(t,o)}}};var en=function(e){function o(){return null!==e&&e.apply(this,arguments)||this}return K(o,e),o.prototype.securityImageList=function(e){return r.SecurityImageApiFp(this.configuration).securityImageList(e)(this.axios,this.basePath)},o}(z.BaseAPI);r.SecurityImageApi=en,r.TeacherApiAxiosParamCreator=function(e){return{teacherList:function(r,o,t,a){void 0===a&&(a={});var i,n=j.parse("/teacher/",!0);e&&(i=e.baseOptions);var s=E(E({method:"GET"},i),a),u={},p={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var c="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=c}return void 0!==r&&(p.search_query=r),void 0!==o&&(p.page=o),void 0!==t&&(p.page_size=t),n.query=E(E(E({},n.query),p),a.query),delete n.search,s.headers=E(E({},u),a.headers),{url:j.format(n),options:s}},teacherRead:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling teacherRead.");var t,a="/teacher/{id}/".replace("{id}",encodeURIComponent(String(r))),i=j.parse(a,!0);e&&(t=e.baseOptions);var n=E(E({method:"GET"},t),o),s={};if(e&&(e.username||e.password)&&(s.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var u="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;s.Authorization=u}return i.query=E(E(E({},i.query),{}),o.query),delete i.search,n.headers=E(E({},s),o.headers),{url:j.format(i),options:n}}}},r.TeacherApiFp=function(e){return{teacherList:function(o,t,a,i){var n=r.TeacherApiAxiosParamCreator(e).teacherList(o,t,a,i);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},n.options),{url:r+n.url});return e.request(o)}},teacherRead:function(o,t){var a=r.TeacherApiAxiosParamCreator(e).teacherRead(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}}}},r.TeacherApiFactory=function(e,o,t){return{teacherList:function(a,i,n,s){return r.TeacherApiFp(e).teacherList(a,i,n,s)(t,o)},teacherRead:function(a,i){return r.TeacherApiFp(e).teacherRead(a,i)(t,o)}}};var es=function(e){function o(){return null!==e&&e.apply(this,arguments)||this}return K(o,e),o.prototype.teacherList=function(e,o,t,a){return r.TeacherApiFp(this.configuration).teacherList(e,o,t,a)(this.axios,this.basePath)},o.prototype.teacherRead=function(e,o){return r.TeacherApiFp(this.configuration).teacherRead(e,o)(this.axios,this.basePath)},o}(z.BaseAPI);r.TeacherApi=es,r.TeamsApiAxiosParamCreator=function(e){return{teamsExport:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("slug","Required parameter slug was null or undefined when calling teamsExport.");if(null==o)throw new z.RequiredError("data","Required parameter data was null or undefined when calling teamsExport.");var a,i="/teams/{slug}/export/".replace("{slug}",encodeURIComponent(String(r))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"POST"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}u["Content-Type"]="application/json",n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers);var c="string"!=typeof o||"application/json"===s.headers["Content-Type"];return s.data=c?JSON.stringify(void 0!==o?o:{}):o||"",{url:j.format(n),options:s}},teamsList:function(r,o,t){void 0===t&&(t={});var a,i=j.parse("/teams/",!0);e&&(a=e.baseOptions);var n=E(E({method:"GET"},a),t),s={},u={};if(e&&(e.username||e.password)&&(s.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;s.Authorization=p}return void 0!==r&&(u.role=r),void 0!==o&&(u.exportable_to=o),i.query=E(E(E({},i.query),u),t.query),delete i.search,n.headers=E(E({},s),t.headers),{url:j.format(i),options:n}},teamsRead:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("slug","Required parameter slug was null or undefined when calling teamsRead.");var t,a="/teams/{slug}/".replace("{slug}",encodeURIComponent(String(r))),i=j.parse(a,!0);e&&(t=e.baseOptions);var n=E(E({method:"GET"},t),o),s={};if(e&&(e.username||e.password)&&(s.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var u="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;s.Authorization=u}return i.query=E(E(E({},i.query),{}),o.query),delete i.search,n.headers=E(E({},s),o.headers),{url:j.format(i),options:n}}}},r.TeamsApiFp=function(e){return{teamsExport:function(o,t,a){var i=r.TeamsApiAxiosParamCreator(e).teamsExport(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},teamsList:function(o,t,a){var i=r.TeamsApiAxiosParamCreator(e).teamsList(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},teamsRead:function(o,t){var a=r.TeamsApiAxiosParamCreator(e).teamsRead(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}}}},r.TeamsApiFactory=function(e,o,t){return{teamsExport:function(a,i,n){return r.TeamsApiFp(e).teamsExport(a,i,n)(t,o)},teamsList:function(a,i,n){return r.TeamsApiFp(e).teamsList(a,i,n)(t,o)},teamsRead:function(a,i){return r.TeamsApiFp(e).teamsRead(a,i)(t,o)}}};var eu=function(e){function o(){return null!==e&&e.apply(this,arguments)||this}return K(o,e),o.prototype.teamsExport=function(e,o,t){return r.TeamsApiFp(this.configuration).teamsExport(e,o,t)(this.axios,this.basePath)},o.prototype.teamsList=function(e,o,t){return r.TeamsApiFp(this.configuration).teamsList(e,o,t)(this.axios,this.basePath)},o.prototype.teamsRead=function(e,o){return r.TeamsApiFp(this.configuration).teamsRead(e,o)(this.axios,this.basePath)},o}(z.BaseAPI);r.TeamsApi=eu,r.UserApiAxiosParamCreator=function(e){return{userInvitationsCreate:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("user_pk","Required parameter user_pk was null or undefined when calling userInvitationsCreate.");if(null==o)throw new z.RequiredError("data","Required parameter data was null or undefined when calling userInvitationsCreate.");var a,i="/user/{user_pk}/invitations/".replace("{user_pk}",encodeURIComponent(String(r))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"POST"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}u["Content-Type"]="application/json",n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers);var c="string"!=typeof o||"application/json"===s.headers["Content-Type"];return s.data=c?JSON.stringify(void 0!==o?o:{}):o||"",{url:j.format(n),options:s}},userInvitationsList:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("user_pk","Required parameter user_pk was null or undefined when calling userInvitationsList.");var t,a="/user/{user_pk}/invitations/".replace("{user_pk}",encodeURIComponent(String(r))),i=j.parse(a,!0);e&&(t=e.baseOptions);var n=E(E({method:"GET"},t),o),s={};if(e&&(e.username||e.password)&&(s.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var u="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;s.Authorization=u}return i.query=E(E(E({},i.query),{}),o.query),delete i.search,n.headers=E(E({},s),o.headers),{url:j.format(i),options:n}},userList:function(r,o,t,a){void 0===a&&(a={});var i,n=j.parse("/user/",!0);e&&(i=e.baseOptions);var s=E(E({method:"GET"},i),a),u={},p={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var c="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=c}return void 0!==r&&(p.predict=r),void 0!==o&&(p.fetch=o),void 0!==t&&(p.group=t),n.query=E(E(E({},n.query),p),a.query),delete n.search,s.headers=E(E({},u),a.headers),{url:j.format(n),options:s}},userPartialUpdate:function(r,o,t,a,i,n,s,u){if(void 0===u&&(u={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling userPartialUpdate.");var p,c="/user/{id}/".replace("{id}",encodeURIComponent(String(r))),l=j.parse(c,!0);e&&(p=e.baseOptions);var d=E(E({method:"PATCH"},p),u),h={},m=new FormData;if(e&&(e.username||e.password)&&(h.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var f="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;h.Authorization=f}return void 0!==o&&m.append("username",o),void 0!==t&&m.append("first_name",t),void 0!==a&&m.append("last_name",a),void 0!==i&&m.append("email",i),void 0!==n&&m.append("gsm",n),void 0!==s&&m.append("avatar",s),h["Content-Type"]="multipart/form-data",l.query=E(E(E({},l.query),{}),u.query),delete l.search,d.headers=E(E({},h),u.headers),d.data=m,{url:j.format(l),options:d}},userRead:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling userRead.");var t,a="/user/{id}/".replace("{id}",encodeURIComponent(String(r))),i=j.parse(a,!0);e&&(t=e.baseOptions);var n=E(E({method:"GET"},t),o),s={};if(e&&(e.username||e.password)&&(s.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var u="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;s.Authorization=u}return i.query=E(E(E({},i.query),{}),o.query),delete i.search,n.headers=E(E({},s),o.headers),{url:j.format(i),options:n}},userUpdate:function(r,o,t,a,i,n,s,u){if(void 0===u&&(u={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling userUpdate.");var p,c="/user/{id}/".replace("{id}",encodeURIComponent(String(r))),l=j.parse(c,!0);e&&(p=e.baseOptions);var d=E(E({method:"PUT"},p),u),h={},m=new FormData;if(e&&(e.username||e.password)&&(h.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var f="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;h.Authorization=f}return void 0!==o&&m.append("username",o),void 0!==t&&m.append("first_name",t),void 0!==a&&m.append("last_name",a),void 0!==i&&m.append("email",i),void 0!==n&&m.append("gsm",n),void 0!==s&&m.append("avatar",s),h["Content-Type"]="multipart/form-data",l.query=E(E(E({},l.query),{}),u.query),delete l.search,d.headers=E(E({},h),u.headers),d.data=m,{url:j.format(l),options:d}},userUpdateOnlineStatus:function(r){void 0===r&&(r={});var o,t=j.parse("/user/update_online_status/",!0);e&&(o=e.baseOptions);var a=E(E({method:"POST"},o),r),i={};if(e&&(e.username||e.password)&&(i.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var n="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;i.Authorization=n}return t.query=E(E(E({},t.query),{}),r.query),delete t.search,a.headers=E(E({},i),r.headers),{url:j.format(t),options:a}},userUpdatePassword:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("data","Required parameter data was null or undefined when calling userUpdatePassword.");var t,a=j.parse("/user/update_password/",!0);e&&(t=e.baseOptions);var i=E(E({method:"POST"},t),o),n={};if(e&&(e.username||e.password)&&(n.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var s="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;n.Authorization=s}n["Content-Type"]="application/json",a.query=E(E(E({},a.query),{}),o.query),delete a.search,i.headers=E(E({},n),o.headers);var u="string"!=typeof r||"application/json"===i.headers["Content-Type"];return i.data=u?JSON.stringify(void 0!==r?r:{}):r||"",{url:j.format(a),options:i}}}},r.UserApiFp=function(e){return{userInvitationsCreate:function(o,t,a){var i=r.UserApiAxiosParamCreator(e).userInvitationsCreate(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},userInvitationsList:function(o,t){var a=r.UserApiAxiosParamCreator(e).userInvitationsList(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}},userList:function(o,t,a,i){var n=r.UserApiAxiosParamCreator(e).userList(o,t,a,i);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},n.options),{url:r+n.url});return e.request(o)}},userPartialUpdate:function(o,t,a,i,n,s,u,p){var c=r.UserApiAxiosParamCreator(e).userPartialUpdate(o,t,a,i,n,s,u,p);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},c.options),{url:r+c.url});return e.request(o)}},userRead:function(o,t){var a=r.UserApiAxiosParamCreator(e).userRead(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}},userUpdate:function(o,t,a,i,n,s,u,p){var c=r.UserApiAxiosParamCreator(e).userUpdate(o,t,a,i,n,s,u,p);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},c.options),{url:r+c.url});return e.request(o)}},userUpdateOnlineStatus:function(o){var t=r.UserApiAxiosParamCreator(e).userUpdateOnlineStatus(o);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},t.options),{url:r+t.url});return e.request(o)}},userUpdatePassword:function(o,t){var a=r.UserApiAxiosParamCreator(e).userUpdatePassword(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}}}},r.UserApiFactory=function(e,o,t){return{userInvitationsCreate:function(a,i,n){return r.UserApiFp(e).userInvitationsCreate(a,i,n)(t,o)},userInvitationsList:function(a,i){return r.UserApiFp(e).userInvitationsList(a,i)(t,o)},userList:function(a,i,n,s){return r.UserApiFp(e).userList(a,i,n,s)(t,o)},userPartialUpdate:function(a,i,n,s,u,p,c,l){return r.UserApiFp(e).userPartialUpdate(a,i,n,s,u,p,c,l)(t,o)},userRead:function(a,i){return r.UserApiFp(e).userRead(a,i)(t,o)},userUpdate:function(a,i,n,s,u,p,c,l){return r.UserApiFp(e).userUpdate(a,i,n,s,u,p,c,l)(t,o)},userUpdateOnlineStatus:function(a){return r.UserApiFp(e).userUpdateOnlineStatus(a)(t,o)},userUpdatePassword:function(a,i){return r.UserApiFp(e).userUpdatePassword(a,i)(t,o)}}};var ep=function(e){function o(){return null!==e&&e.apply(this,arguments)||this}return K(o,e),o.prototype.userInvitationsCreate=function(e,o,t){return r.UserApiFp(this.configuration).userInvitationsCreate(e,o,t)(this.axios,this.basePath)},o.prototype.userInvitationsList=function(e,o){return r.UserApiFp(this.configuration).userInvitationsList(e,o)(this.axios,this.basePath)},o.prototype.userList=function(e,o,t,a){return r.UserApiFp(this.configuration).userList(e,o,t,a)(this.axios,this.basePath)},o.prototype.userPartialUpdate=function(e,o,t,a,i,n,s,u){return r.UserApiFp(this.configuration).userPartialUpdate(e,o,t,a,i,n,s,u)(this.axios,this.basePath)},o.prototype.userRead=function(e,o){return r.UserApiFp(this.configuration).userRead(e,o)(this.axios,this.basePath)},o.prototype.userUpdate=function(e,o,t,a,i,n,s,u){return r.UserApiFp(this.configuration).userUpdate(e,o,t,a,i,n,s,u)(this.axios,this.basePath)},o.prototype.userUpdateOnlineStatus=function(e){return r.UserApiFp(this.configuration).userUpdateOnlineStatus(e)(this.axios,this.basePath)},o.prototype.userUpdatePassword=function(e,o){return r.UserApiFp(this.configuration).userUpdatePassword(e,o)(this.axios,this.basePath)},o}(z.BaseAPI);r.UserApi=ep,r.UserSecurityImageApiAxiosParamCreator=function(e){return{userSecurityImageCreate:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("data","Required parameter data was null or undefined when calling userSecurityImageCreate.");var t,a=j.parse("/user-security-image/",!0);e&&(t=e.baseOptions);var i=E(E({method:"POST"},t),o),n={};if(e&&(e.username||e.password)&&(n.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var s="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;n.Authorization=s}n["Content-Type"]="application/json",a.query=E(E(E({},a.query),{}),o.query),delete a.search,i.headers=E(E({},n),o.headers);var u="string"!=typeof r||"application/json"===i.headers["Content-Type"];return i.data=u?JSON.stringify(void 0!==r?r:{}):r||"",{url:j.format(a),options:i}},userSecurityImageDelete:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling userSecurityImageDelete.");var t,a="/user-security-image/{id}/".replace("{id}",encodeURIComponent(String(r))),i=j.parse(a,!0);e&&(t=e.baseOptions);var n=E(E({method:"DELETE"},t),o),s={};if(e&&(e.username||e.password)&&(s.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var u="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;s.Authorization=u}return i.query=E(E(E({},i.query),{}),o.query),delete i.search,n.headers=E(E({},s),o.headers),{url:j.format(i),options:n}},userSecurityImageList:function(r){void 0===r&&(r={});var o,t=j.parse("/user-security-image/",!0);e&&(o=e.baseOptions);var a=E(E({method:"GET"},o),r),i={};if(e&&(e.username||e.password)&&(i.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var n="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;i.Authorization=n}return t.query=E(E(E({},t.query),{}),r.query),delete t.search,a.headers=E(E({},i),r.headers),{url:j.format(t),options:a}},userSecurityImagePartialUpdate:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling userSecurityImagePartialUpdate.");if(null==o)throw new z.RequiredError("data","Required parameter data was null or undefined when calling userSecurityImagePartialUpdate.");var a,i="/user-security-image/{id}/".replace("{id}",encodeURIComponent(String(r))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"PATCH"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}u["Content-Type"]="application/json",n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers);var c="string"!=typeof o||"application/json"===s.headers["Content-Type"];return s.data=c?JSON.stringify(void 0!==o?o:{}):o||"",{url:j.format(n),options:s}},userSecurityImageRead:function(r,o){if(void 0===o&&(o={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling userSecurityImageRead.");var t,a="/user-security-image/{id}/".replace("{id}",encodeURIComponent(String(r))),i=j.parse(a,!0);e&&(t=e.baseOptions);var n=E(E({method:"GET"},t),o),s={};if(e&&(e.username||e.password)&&(s.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var u="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;s.Authorization=u}return i.query=E(E(E({},i.query),{}),o.query),delete i.search,n.headers=E(E({},s),o.headers),{url:j.format(i),options:n}},userSecurityImageUpdate:function(r,o,t){if(void 0===t&&(t={}),null==r)throw new z.RequiredError("id","Required parameter id was null or undefined when calling userSecurityImageUpdate.");if(null==o)throw new z.RequiredError("data","Required parameter data was null or undefined when calling userSecurityImageUpdate.");var a,i="/user-security-image/{id}/".replace("{id}",encodeURIComponent(String(r))),n=j.parse(i,!0);e&&(a=e.baseOptions);var s=E(E({method:"PUT"},a),t),u={};if(e&&(e.username||e.password)&&(u.Authorization="Basic "+btoa(e.username+":"+e.password)),e&&e.apiKey){var p="function"==typeof e.apiKey?e.apiKey("Authorization"):e.apiKey;u.Authorization=p}u["Content-Type"]="application/json",n.query=E(E(E({},n.query),{}),t.query),delete n.search,s.headers=E(E({},u),t.headers);var c="string"!=typeof o||"application/json"===s.headers["Content-Type"];return s.data=c?JSON.stringify(void 0!==o?o:{}):o||"",{url:j.format(n),options:s}}}},r.UserSecurityImageApiFp=function(e){return{userSecurityImageCreate:function(o,t){var a=r.UserSecurityImageApiAxiosParamCreator(e).userSecurityImageCreate(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}},userSecurityImageDelete:function(o,t){var a=r.UserSecurityImageApiAxiosParamCreator(e).userSecurityImageDelete(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}},userSecurityImageList:function(o){var t=r.UserSecurityImageApiAxiosParamCreator(e).userSecurityImageList(o);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},t.options),{url:r+t.url});return e.request(o)}},userSecurityImagePartialUpdate:function(o,t,a){var i=r.UserSecurityImageApiAxiosParamCreator(e).userSecurityImagePartialUpdate(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}},userSecurityImageRead:function(o,t){var a=r.UserSecurityImageApiAxiosParamCreator(e).userSecurityImageRead(o,t);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},a.options),{url:r+a.url});return e.request(o)}},userSecurityImageUpdate:function(o,t,a){var i=r.UserSecurityImageApiAxiosParamCreator(e).userSecurityImageUpdate(o,t,a);return function(e,r){void 0===e&&(e=T.default),void 0===r&&(r=z.BASE_PATH);var o=E(E({},i.options),{url:r+i.url});return e.request(o)}}}},r.UserSecurityImageApiFactory=function(e,o,t){return{userSecurityImageCreate:function(a,i){return r.UserSecurityImageApiFp(e).userSecurityImageCreate(a,i)(t,o)},userSecurityImageDelete:function(a,i){return r.UserSecurityImageApiFp(e).userSecurityImageDelete(a,i)(t,o)},userSecurityImageList:function(a){return r.UserSecurityImageApiFp(e).userSecurityImageList(a)(t,o)},userSecurityImagePartialUpdate:function(a,i,n){return r.UserSecurityImageApiFp(e).userSecurityImagePartialUpdate(a,i,n)(t,o)},userSecurityImageRead:function(a,i){return r.UserSecurityImageApiFp(e).userSecurityImageRead(a,i)(t,o)},userSecurityImageUpdate:function(a,i,n){return r.UserSecurityImageApiFp(e).userSecurityImageUpdate(a,i,n)(t,o)}}};var ec=function(e){function o(){return null!==e&&e.apply(this,arguments)||this}return K(o,e),o.prototype.userSecurityImageCreate=function(e,o){return r.UserSecurityImageApiFp(this.configuration).userSecurityImageCreate(e,o)(this.axios,this.basePath)},o.prototype.userSecurityImageDelete=function(e,o){return r.UserSecurityImageApiFp(this.configuration).userSecurityImageDelete(e,o)(this.axios,this.basePath)},o.prototype.userSecurityImageList=function(e){return r.UserSecurityImageApiFp(this.configuration).userSecurityImageList(e)(this.axios,this.basePath)},o.prototype.userSecurityImagePartialUpdate=function(e,o,t){return r.UserSecurityImageApiFp(this.configuration).userSecurityImagePartialUpdate(e,o,t)(this.axios,this.basePath)},o.prototype.userSecurityImageRead=function(e,o){return r.UserSecurityImageApiFp(this.configuration).userSecurityImageRead(e,o)(this.axios,this.basePath)},o.prototype.userSecurityImageUpdate=function(e,o,t){return r.UserSecurityImageApiFp(this.configuration).userSecurityImageUpdate(e,o,t)(this.axios,this.basePath)},o}(z.BaseAPI);r.UserSecurityImageApi=ec}}]);