(window.webpackJsonp=window.webpackJsonp||[]).push([[0],[,,,,,,,,,,,,function(e,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var s=Object.getOwnPropertyDescriptor(t,i);s&&!("get"in s?!t.__esModule:s.writable||s.configurable)||(s={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,s)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),s=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||n(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),s(i(183),t),s(i(726),t),s(i(727),t),s(i(728),t),s(i(729),t),s(i(730),t),s(i(293),t),s(i(294),t),s(i(736),t),s(i(737),t),s(i(738),t),s(i(739),t),s(i(740),t),s(i(741),t),s(i(742),t),s(i(743),t),s(i(744),t)},,,,,,,,,function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Scope=t.Value=t.Type=void 0;const n=i(1157);t.Type=n.default;const s=i(1158);t.Value=s.default;const o=i(1159);t.Scope=o.default},function(e,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var s=Object.getOwnPropertyDescriptor(t,i);s&&!("get"in s?!t.__esModule:s.writable||s.configurable)||(s={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,s)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),s=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||n(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),s(i(186),t),s(i(311),t),s(i(319),t),s(i(312),t),s(i(316),t),s(i(320),t),s(i(321),t),s(i(783),t),s(i(323),t),s(i(325),t),s(i(317),t),s(i(189),t),s(i(339),t),s(i(340),t),s(i(188),t),s(i(837),t),s(i(838),t),s(i(839),t),s(i(840),t),s(i(841),t),s(i(842),t),s(i(843),t),s(i(844),t),s(i(845),t),s(i(846),t),s(i(847),t),s(i(848),t),s(i(849),t),s(i(850),t),s(i(851),t),s(i(852),t),s(i(853),t),s(i(854),t),s(i(855),t),s(i(856),t),s(i(878),t),s(i(341),t),s(i(314),t),s(i(879),t),s(i(880),t),s(i(881),t),s(i(882),t),s(i(883),t),s(i(884),t),s(i(885),t),s(i(886),t),s(i(887),t),s(i(315),t),s(i(888),t),s(i(313),t),s(i(190),t),s(i(889),t),s(i(890),t),s(i(342),t),s(i(324),t),s(i(891),t),s(i(892),t),s(i(893),t),s(i(894),t),s(i(322),t),s(i(895),t),s(i(343),t),s(i(344),t),s(i(896),t),s(i(897),t),s(i(898),t),s(i(899),t),s(i(900),t),s(i(901),t),s(i(902),t),s(i(903),t),s(i(187),t),s(i(904),t),s(i(905),t),s(i(906),t),s(i(907),t),s(i(908),t),s(i(909),t),s(i(910),t),s(i(911),t),s(i(912),t),s(i(913),t),s(i(914),t),s(i(915),t),s(i(916),t),s(i(354),t),s(i(917),t),s(i(318),t),s(i(918),t),s(i(919),t),s(i(920),t),s(i(921),t),s(i(338),t)},,,,,,,,,,function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ApiClientError=void 0;const n=i(724);class s extends Error{constructor(e,t){if(super(n[t]),this.statusCode=t,e)try{let t="string"==typeof e?JSON.parse(e):e;this.message="message"in t?t.message:"",this.details="details"in t?t.details:"",this.stack=JSON.stringify(e)}catch(t){this.message=e,this.details=""}}}t.ApiClientError=s},,,,,,,,,,,,,,function(e,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var s=Object.getOwnPropertyDescriptor(t,i);s&&!("get"in s?!t.__esModule:s.writable||s.configurable)||(s={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,s)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),s=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||n(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),s(i(395),t),s(i(1035),t),s(i(1036),t),s(i(1037),t),s(i(1038),t),s(i(1039),t),s(i(1040),t),s(i(1041),t)},,,,,,,,,,,,,,,,function(e,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var s=Object.getOwnPropertyDescriptor(t,i);s&&!("get"in s?!t.__esModule:s.writable||s.configurable)||(s={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,s)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),s=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||n(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),s(i(784),t),s(i(785),t),s(i(786),t),s(i(787),t),s(i(788),t),s(i(789),t),s(i(327),t),s(i(326),t),s(i(791),t),s(i(334),t),s(i(331),t),s(i(792),t),s(i(332),t),s(i(333),t),s(i(793),t),s(i(335),t),s(i(336),t),s(i(328),t),s(i(794),t),s(i(330),t),s(i(329),t),s(i(795),t),s(i(796),t),s(i(797),t),s(i(798),t),s(i(337),t),s(i(799),t),s(i(800),t),s(i(801),t),s(i(802),t),s(i(803),t),s(i(804),t),s(i(805),t),s(i(806),t),s(i(807),t),s(i(808),t),s(i(809),t),s(i(810),t),s(i(811),t),s(i(812),t),s(i(813),t),s(i(814),t),s(i(815),t),s(i(816),t),s(i(817),t),s(i(818),t),s(i(819),t),s(i(820),t),s(i(821),t),s(i(337),t),s(i(822),t),s(i(823),t),s(i(824),t),s(i(825),t),s(i(826),t),s(i(827),t),s(i(828),t),s(i(829),t),s(i(830),t),s(i(831),t),s(i(832),t),s(i(833),t),s(i(834),t),s(i(835),t),s(i(836),t)},function(e,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var s=Object.getOwnPropertyDescriptor(t,i);s&&!("get"in s?!t.__esModule:s.writable||s.configurable)||(s={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,s)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),s=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||n(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),s(i(345),t),s(i(347),t),s(i(348),t),s(i(346),t),s(i(858),t),s(i(859),t),s(i(860),t),s(i(861),t),s(i(862),t),s(i(863),t),s(i(864),t),s(i(865),t),s(i(866),t),s(i(867),t),s(i(349),t),s(i(350),t),s(i(351),t),s(i(352),t),s(i(353),t),s(i(868),t),s(i(869),t),s(i(870),t),s(i(871),t),s(i(872),t),s(i(873),t),s(i(874),t),s(i(875),t),s(i(876),t),s(i(877),t)},function(e,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var s=Object.getOwnPropertyDescriptor(t,i);s&&!("get"in s?!t.__esModule:s.writable||s.configurable)||(s={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,s)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),s=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||n(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),s(i(924),t),s(i(925),t),s(i(926),t),s(i(927),t),s(i(928),t),s(i(929),t),s(i(930),t),s(i(931),t),s(i(356),t),s(i(932),t),s(i(933),t),s(i(934),t),s(i(935),t),s(i(357),t)},,,,,,,,function(e,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var s=Object.getOwnPropertyDescriptor(t,i);s&&!("get"in s?!t.__esModule:s.writable||s.configurable)||(s={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,s)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),s=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||n(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),s(i(185),t),s(i(309),t),s(i(769),t),s(i(771),t),s(i(772),t),s(i(773),t),s(i(774),t),s(i(775),t),s(i(776),t),s(i(777),t),s(i(778),t),s(i(779),t)},function(e,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var s=Object.getOwnPropertyDescriptor(t,i);s&&!("get"in s?!t.__esModule:s.writable||s.configurable)||(s={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,s)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),s=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||n(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),s(i(379),t),s(i(380),t),s(i(1001),t),s(i(1002),t),s(i(1003),t),s(i(1004),t),s(i(1005),t)},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var s=Object.getOwnPropertyDescriptor(t,i);s&&!("get"in s?!t.__esModule:s.writable||s.configurable)||(s={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,s)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),s=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||n(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),s(i(381),t),s(i(1006),t),s(i(383),t),s(i(1007),t),s(i(384),t),s(i(1008),t),s(i(1009),t),s(i(385),t),s(i(1010),t),s(i(386),t),s(i(387),t),s(i(388),t),s(i(1011),t),s(i(389),t),s(i(1012),t),s(i(390),t),s(i(391),t),s(i(1013),t),s(i(1014),t),s(i(1015),t),s(i(1016),t),s(i(1017),t),s(i(1018),t),s(i(1019),t),s(i(1020),t),s(i(394),t),s(i(1021),t),s(i(1022),t),s(i(1023),t),s(i(1024),t),s(i(382),t),s(i(1025),t),s(i(1026),t),s(i(1027),t),s(i(1028),t),s(i(1029),t),s(i(1030),t),s(i(1031),t),s(i(196),t),s(i(1032),t),s(i(392),t),s(i(393),t),s(i(1033),t),s(i(394),t)},,,,,,,,,,,,,,,,,,,,function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Filter=void 0;t.Filter=class{toQueryString(){const e=Object.entries(this).filter(([e,t])=>null!=t).map(([e,t])=>`${e.toLowerCase()}=${t.toString()}`).join("&");return e.length>0?"?"+e:""}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ContentStatus=void 0,function(e){e.Published="published",e.Unpublished="unpublished",e.Unlisted="unlisted"}(t.ContentStatus||(t.ContentStatus={}))},,,,,,,,,,,function(e,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var s=Object.getOwnPropertyDescriptor(t,i);s&&!("get"in s?!t.__esModule:s.writable||s.configurable)||(s={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,s)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),s=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||n(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),s(i(298),t),s(i(303),t),s(i(304),t),s(i(299),t),s(i(300),t),s(i(301),t),s(i(302),t),s(i(305),t),s(i(306),t),s(i(307),t),s(i(751),t),s(i(752),t),s(i(753),t),s(i(754),t),s(i(755),t),s(i(756),t),s(i(757),t),s(i(758),t),s(i(759),t),s(i(760),t),s(i(761),t),s(i(762),t),s(i(763),t),s(i(764),t),s(i(765),t),s(i(766),t)},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var s=Object.getOwnPropertyDescriptor(t,i);s&&!("get"in s?!t.__esModule:s.writable||s.configurable)||(s={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,s)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),s=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||n(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),s(i(723),t),s(i(32),t),s(i(725),t),s(i(285),t),s(i(279),t),s(i(280),t),s(i(278),t),s(i(281),t),s(i(283),t),s(i(289),t),s(i(290),t),s(i(287),t),s(i(276),t),s(i(284),t),s(i(288),t),s(i(286),t),s(i(277),t),s(i(282),t),s(i(291),t),s(i(292),t)},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ApiClientConfig=void 0;t.ApiClientConfig=class{constructor(e){var t;this.keepAlive=null===(t=null==e?void 0:e.keepAlive)||void 0===t||t,this.connectionTimeoutInMs=null==e?void 0:e.connectionTimeoutInMs}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Invitation=void 0;class n{constructor(e){this.id=null==e?void 0:e.id,this.name=null==e?void 0:e.name,this.email=null==e?void 0:e.email,this.roles=null==e?void 0:e.roles,this.courseId=null==e?void 0:e.courseId,this.teamId=null==e?void 0:e.teamId,this.teamName=null==e?void 0:e.teamName,this.organizationId=null==e?void 0:e.organizationId,this.businessUnit=null==e?void 0:e.businessUnit,this.businessUnitId=null==e?void 0:e.businessUnitId,this.businessCategory=null==e?void 0:e.businessCategory,this.businessRegion=null==e?void 0:e.businessRegion,this.title=null==e?void 0:e.title,this.status=null==e?void 0:e.status,this.ctfCompetitionId=null==e?void 0:e.ctfCompetitionId,this.createdTimestamp=null==e?void 0:e.createdTimestamp,this.options=null==e?void 0:e.options}static fromJson(e){if(void 0!==e)return new n(e)}}t.Invitation=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AccessPoint=void 0;class n{static fromJson(e){if(void 0!==e)return Object.assign(new n,e)}}t.AccessPoint=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CourseCode=void 0;class n{constructor(e,t,i,n){this.value=e,this.expiresAt=t,this.courseId=i,this.courseName=n}static fromJson(e){return void 0===e?void 0:new n(e.value,e.expiresAt,e.courseId,e.courseName)}}t.CourseCode=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.User=void 0;const n=i(315),s=i(316),o=i(782);class r{static fromJson(e){if(void 0!==e)return Object.assign(new r,e)}static fromUserResourceView(e){let t=r.fromJson(e);return!t.courses&&t.resources&&(t.courses=t.resources.filter(e=>e.type===n.ResourceType.Course).map(e=>new s.CourseMembership(e.id,e.role))),!t.organizations&&t.resources&&(t.organizations=t.resources.filter(e=>e.type===n.ResourceType.Organization).map(e=>o.OrganizationMembership.fromJson(Object.assign(Object.assign({},e),{organizationId:e.id})))),t}}t.User=r},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RecipeParameter=void 0;class n{static fromJson(e){if(void 0!==e)return Object.assign(new n,e)}}t.RecipeParameter=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExerciseGroupFilter=void 0;class n{constructor(e){this.courseId=null==e?void 0:e.courseId,this.token=null==e?void 0:e.token,this.limit=Number(null==e?void 0:e.limit)||void 0}static toQueryString(e){let t=[];return(e=new n(e)).limit&&t.push("limit="+e.limit),e.token&&t.push("token="+e.token),t.length>0?"?"+t.join("&"):""}}t.ExerciseGroupFilter=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Claim=void 0;class n{constructor(e,t,i,n,s){this.type=e,this.value=t,this.notBefore=n,this.notAfter=s,this.scope=i}get scopes(){return Array.isArray(this.scope)?this.scope:[this.scope]}static fromJson(e){return void 0===e?e:Object.assign(new n(void 0,void 0),e)}}t.Claim=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Rule=void 0;const n=i(358),s=i(359);class o{static fromJson(e){if(void 0===e)return e;let t=new o;return t.id=e.id,t.target=s.RuleTarget.fromJson(e.target),t.entitlement=n.Entitlement.fromJson(e.entitlement),t}}t.Rule=o},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.ContentCategoryValues=t.ContentCategory=void 0,function(e){e.Course="course",e.Module="module",e.Lesson="lesson",e.Exercise="exercise",e.Environment="environment",e.Ctf="ctf"}(n=t.ContentCategory||(t.ContentCategory={})),t.ContentCategoryValues=function(){return Object.keys(n).map(e=>n[e])}},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.EducationLevelValues=t.EducationLevel=void 0,function(e){e.HighSchool="highschool",e.CommunityCollege="communitycollege",e.UniversityUndergraduate="universityundergraduate",e.GraduateStudent="graduatestudent"}(n=t.EducationLevel||(t.EducationLevel={})),t.EducationLevelValues=function(){return Object.keys(n).map(e=>n[e])}},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.ExperienceLevelValues=t.ExperienceLevel=void 0,function(e){e.Beginner="beginner",e.BeginnerPlus="beginnerplus",e.Intermediate="intermediate",e.IntermediatePlus="intermediateplus",e.Advanced="advanced"}(n=t.ExperienceLevel||(t.ExperienceLevel={})),t.ExperienceLevelValues=function(){return Object.keys(n).map(e=>n[e])}},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.InternalCustomAttributeName=void 0,function(e){e.EnforceCourseEndTimeBy="enforcecourseendtimeby",e.FloatingUsers="floatingusers",e.FloatingCopiedEnvironments="floatingcopiedenvironments"}(n||(t.InternalCustomAttributeName=n={}))},,,,,,,,,,,,,,,function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.ActivityType=void 0,function(e){e.User="user",e.Invoice="invoice",e.Payment="payment"}(n||(t.ActivityType=n={}))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Credential=void 0;class n{constructor(e){this.id=null==e?void 0:e.id,this.name=null==e?void 0:e.name,this.username=null==e?void 0:e.username,this.password=null==e?void 0:e.password,this.role=null==e?void 0:e.role,this.userId=null==e?void 0:e.userId,this.courseId=null==e?void 0:e.courseId,this.organizationId=null==e?void 0:e.organizationId,this.activatedTimestamp=null==e?void 0:e.activatedTimestamp,this.createdTimestamp=null==e?void 0:e.createdTimestamp,this.modifiedTimestamp=null==e?void 0:e.modifiedTimestamp}static fromJson(e){return e?new n(e):void 0}static idFromDisplayName(e){return null==e?void 0:e.replace(/ /g,"").toLowerCase()}}t.Credential=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CredentialFilter=void 0;class n{constructor(e){this.limit=Number(null==e?void 0:e.limit),this.token=null==e?void 0:e.token,this.activated=null==e?void 0:e.activated,this.userId=null==e?void 0:e.userId,this.courseId=null==e?void 0:e.courseId,this.sortOrder=null==e?void 0:e.sortOrder}static toQueryString(e){const t=new n(e),i=Object.keys(t).filter(e=>t[e]||!1===t[e]);return i.length>0?"?"+i.map(e=>`${e.toLowerCase()}=${encodeURIComponent(t[e])}`).join("&"):""}}t.CredentialFilter=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NotFoundApiClientError=void 0;const n=i(32);class s extends n.ApiClientError{constructor(e){super(e,404)}}t.NotFoundApiClientError=s},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UnauthorizedApiClientError=void 0;const n=i(32);class s extends n.ApiClientError{constructor(e){super(e,401)}}t.UnauthorizedApiClientError=s},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ForbiddenApiClientError=void 0;const n=i(32);class s extends n.ApiClientError{constructor(e){super(e,403)}}t.ForbiddenApiClientError=s},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BadRequestApiClientError=void 0;const n=i(32);class s extends n.ApiClientError{constructor(e){super(e,400)}}t.BadRequestApiClientError=s},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ConflictApiClientError=void 0;const n=i(32);class s extends n.ApiClientError{constructor(e){super(e,409)}}t.ConflictApiClientError=s},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GoneApiClientError=void 0;const n=i(32);class s extends n.ApiClientError{constructor(e){var t;super(e,410);try{this.location=null===(t=JSON.parse(this.details))||void 0===t?void 0:t.location}catch(e){}}}t.GoneApiClientError=s},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UnprocessableApiClientError=void 0;const n=i(32);class s extends n.ApiClientError{constructor(e){super(e,422)}}t.UnprocessableApiClientError=s},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InternalServerErrorApiClientError=void 0;const n=i(32);class s extends n.ApiClientError{constructor(e){super(e,500)}}t.InternalServerErrorApiClientError=s},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NotImplementedApiClientError=void 0;const n=i(32);class s extends n.ApiClientError{constructor(e){super(e,501)}}t.NotImplementedApiClientError=s},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BadGatewayApiClientError=void 0;const n=i(32);class s extends n.ApiClientError{constructor(e){super(e,502)}}t.BadGatewayApiClientError=s},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ServiceUnavailableApiClientError=void 0;const n=i(32);class s extends n.ApiClientError{constructor(e){super(e,503)}}t.ServiceUnavailableApiClientError=s},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MethodNotAllowedApiClientError=void 0;const n=i(32);class s extends n.ApiClientError{constructor(e){super(e,405)}}t.MethodNotAllowedApiClientError=s},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ProviderLimitError=void 0;const n=i(32);class s extends n.ApiClientError{constructor(e){super(e,529)}}t.ProviderLimitError=s},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LockAcquiringApiClientError=void 0;const n=i(32);class s extends n.ApiClientError{constructor(e){super(e,530)}}t.LockAcquiringApiClientError=s},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LockReleasingApiClientError=void 0;const n=i(32);class s extends n.ApiClientError{constructor(e){super(e,531)}}t.LockReleasingApiClientError=s},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.VersionLockApiClientError=void 0;const n=i(32);class s extends n.ApiClientError{constructor(e){super(e,532)}}t.VersionLockApiClientError=s},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RetryableProviderApiClientError=void 0;const n=i(32);class s extends n.ApiClientError{constructor(e){super(e,533)}}t.RetryableProviderApiClientError=s},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ApiRequestConfig=void 0;t.ApiRequestConfig=class{constructor(e={},t=1e3,i,n,s){this.headers=e,this.timeoutMs=t,this.errorHandler=i,this.callingHandler=n,this.calledHandler=s}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ApiResponse=void 0;t.ApiResponse=class{constructor(e,t,i,n){this.statusCode=e,this.headers=t,this.data=i,this.statusText=n}}},function(e,t,i){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.getSharedHttpsAgent=function(){return null!=o?o:o=new n.Agent({keepAlive:!0,keepAliveMsecs:Number(e.env.SHARED_AGENT_KEEP_ALIVE_INTERVAL_MS)||1e3,timeout:Number(e.env.SHARED_AGENT_ESTABLISH_CONNECTION_TIMEOUT_MS)||3e3,sessionTimeout:Number(e.env.SHARED_AGENT_TLS_REUSE_TIMEOUT_SECONDS)||300})},t.getSharedHttpAgent=function(){return null!=r?r:r=new s.Agent({keepAlive:!0,keepAliveMsecs:Number(e.env.SHARED_AGENT_KEEP_ALIVE_INTERVAL_MS)||1e3,timeout:Number(e.env.SHARED_AGENT_ESTABLISH_CONNECTION_TIMEOUT_MS)||3e3})};const n=i(734),s=i(140);let o=void 0;let r=void 0}).call(this,i(33))},,,function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Competition=void 0;const n=i(299),s=i(300),o=i(301),r=i(302);class a{constructor(e){var t;this.id=null==e?void 0:e.id,this.name=null==e?void 0:e.name,this.logo=null==e?void 0:e.logo,this.subdomain=null==e?void 0:e.subdomain,this.organizationId=null==e?void 0:e.organizationId,this.createdTimestamp=null==e?void 0:e.createdTimestamp,this.modifiedTimestamp=null==e?void 0:e.modifiedTimestamp,this.categories=null==e?void 0:e.categories,this.statistics=o.CompetitionStatistics.fromJson(null==e?void 0:e.statistics),this.settings=s.CompetitionSettings.fromJson(null==e?void 0:e.settings),this.limits=n.CompetitionLimits.fromJson(null==e?void 0:e.limits),this.exerciseGroupId=null==e?void 0:e.exerciseGroupId,this.courseId=null==e?void 0:e.courseId,this.status=null==e?void 0:e.status,this.recipeParameters=null===(t=null==e?void 0:e.recipeParameters)||void 0===t?void 0:t.map(e=>r.RecipeParameter.fromJson(e))}static fromJson(e){if(void 0!==e)return new a(e)}}t.Competition=a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CompetitionLimits=void 0;class n{constructor(e){this.maxFileStorageInMb=null==e?void 0:e.maxFileStorageInMb,this.maxArtifactsPerChallenge=null==e?void 0:e.maxArtifactsPerChallenge,this.maxTeams=null==e?void 0:e.maxTeams,this.maxPlayers=null==e?void 0:e.maxPlayers,this.maxChallenges=null==e?void 0:e.maxChallenges,this.maxPlayersPerTeam=null==e?void 0:e.maxPlayersPerTeam,this.maxEnvironments=null==e?void 0:e.maxEnvironments,this.maxEnvironmentsPerChallenge=null==e?void 0:e.maxEnvironmentsPerChallenge}static fromJson(e){if(void 0!==e)return new n(e)}}t.CompetitionLimits=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CompetitionSettings=void 0;class n{constructor(e){this.startTime=null==e?void 0:e.startTime,this.endTime=null==e?void 0:e.endTime,this.themeId=null==e?void 0:e.themeId,this.requireEmailVerification=null==e?void 0:e.requireEmailVerification,this.allowPublicRegistration=null==e?void 0:e.allowPublicRegistration,this.allowDirectLogin=null==e?void 0:e.allowDirectLogin,this.allowTeamNameChange=null==e?void 0:e.allowTeamNameChange,this.allowPlayerNameChange=null==e?void 0:e.allowPlayerNameChange,this.allowTeamMembershipChange=null==e?void 0:e.allowTeamMembershipChange,this.allowUnregisteredUsersToViewDashboard=null==e?void 0:e.allowUnregisteredUsersToViewDashboard,this.hideDashboard=null==e?void 0:e.hideDashboard,this.numberOfHeatedEnvironments=null==e?void 0:e.numberOfHeatedEnvironments}static fromJson(e){if(void 0!==e)return new n(e)}}t.CompetitionSettings=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CompetitionStatistics=void 0;class n{constructor(e){this.numberOfTeams=null==e?void 0:e.numberOfTeams,this.numberOfPlayers=null==e?void 0:e.numberOfPlayers,this.numberOfChallenges=null==e?void 0:e.numberOfChallenges,this.fileStorageInMb=null==e?void 0:e.fileStorageInMb,this.numberOfEnvironments=null==e?void 0:e.numberOfEnvironments}static fromJson(e){if(void 0!==e)return new n(e)}}t.CompetitionStatistics=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RecipeParameter=void 0;class n{constructor(e){this.id=null==e?void 0:e.id,this.value=null==e?void 0:e.value}static fromJson(e){if(e)return new n(e)}}t.RecipeParameter=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CompetitionPage=void 0;t.CompetitionPage=class{constructor(e,t,i){this.items=e,this.nextPageToken=t,this.prevPageToken=i}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CompetitionFilter=void 0;class n{constructor(e){this.sortedBy=null==e?void 0:e.sortedBy,this.token=null==e?void 0:e.token,this.subdomain=null==e?void 0:e.subdomain,this.limit=null==e?void 0:e.limit,this.code=null==e?void 0:e.code,this.organizationId=null==e?void 0:e.organizationId,this.courseId=null==e?void 0:e.courseId}static fromJson(e){if(void 0!==e)return new n(e)}toQueryString(){return"?"+Object.keys(this).filter(e=>void 0!==this[e]).map(e=>`${e.toLowerCase()}=${this[e]}`).join("&")}}t.CompetitionFilter=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Limit=void 0;class n{constructor(e){this.max=null==e?void 0:e.max,this.current=null==e?void 0:e.current}static fromJson(e){return e?new n(e):void 0}}t.Limit=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CustomCompetitionLimits=void 0;const n=i(305);class s{constructor(e){this.maxFileStorageInMb=n.Limit.fromJson(null==e?void 0:e.maxFileStorageInMb),this.maxArtifactsPerChallenge=n.Limit.fromJson(null==e?void 0:e.maxArtifactsPerChallenge),this.maxTeams=n.Limit.fromJson(null==e?void 0:e.maxTeams),this.maxPlayers=n.Limit.fromJson(null==e?void 0:e.maxPlayers),this.maxChallenges=n.Limit.fromJson(null==e?void 0:e.maxChallenges),this.maxPlayersPerTeam=n.Limit.fromJson(null==e?void 0:e.maxPlayersPerTeam),this.maxEnvironments=n.Limit.fromJson(null==e?void 0:e.maxEnvironments),this.maxEnvironmentsPerChallenge=n.Limit.fromJson(null==e?void 0:e.maxEnvironmentsPerChallenge)}static fromJson(e){return e?new s(e):void 0}}t.CustomCompetitionLimits=s},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ImportStatistics=void 0;class n{constructor(e){this.statistics=null==e?void 0:e.statistics,this.errors=null==e?void 0:e.errors}static fromJson(e){if(e)return new n(e)}}t.ImportStatistics=n},,function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InvitationFilter=void 0;const n=i(185);class s{constructor(e){this.courseId=null==e?void 0:e.courseId,this.organizationId=null==e?void 0:e.organizationId,this.competitionId=null==e?void 0:e.competitionId,this.token=null==e?void 0:e.token,this.limit=null==e?void 0:e.limit}static fromJson(e){if(void 0!==e)return new s(e)}static toQueryString(e){if(void 0===e)return"";let t=[];for(const i of Object.keys(e))e[i]&&t.push(`${i.toLowerCase()}=${e[i]}`);return 0===t.length?"":"?"+t.join("&")}static toCourseOnlyQueryString(e){let t=Object.keys(new n.Invitation).filter(e=>"ctfCompetitionId"!==e&&!e.includes("business")&&"options"!==e),i=s.toQueryString(e);return i.length>0?`${i}&properties=${t.join(",")}`:"?properties="+t.join(",")}static toCompetitionOnlyQueryString(e){let t=Object.keys(new n.Invitation).filter(e=>"courseId"!==e&&!e.includes("business")&&"options"!==e),i=s.toQueryString(e);return i.length>0?`${i}&properties=${t.join(",")}`:"?properties="+t.join(",")}}t.InvitationFilter=s},,function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Course=void 0;const n=i(187),s=i(312),o=i(313),r=i(314),a=i(317),l=i(318);class u{get isAvailable(){let e=(new Date).toISOString();return!(this.startTime&&e<this.startTime||this.endTime&&e>this.endTime)}constructor(e){this.id=null==e?void 0:e.id,this.name=null==e?void 0:e.name,this.requester=o.ApproverRequester.fromJson(null==e?void 0:e.requester),this.approver=o.ApproverRequester.fromJson(null==e?void 0:e.approver),this.description=null==e?void 0:e.description,this.justification=null==e?void 0:e.justification,this.organizationId=null==e?void 0:e.organizationId,this.organizationName=null==e?void 0:e.organizationName,this.invitationTemplate=a.InvitationTemplate.fromJson(null==e?void 0:e.invitationTemplate),this.businessUnitId=null==e?void 0:e.businessUnitId,this.teams=null==e?void 0:e.teams,this.createdTimestamp=null==e?void 0:e.createdTimestamp,this.startTime=null==e?void 0:e.startTime,this.endTime=null==e?void 0:e.endTime,this.statistics=(null==e?void 0:e.statistics)?r.CourseStatistics.fromJson(e.statistics):new r.CourseStatistics,this.limits=(null==e?void 0:e.limits)?s.CourseLimit.fromJson(null==e?void 0:e.limits):new s.CourseLimit,this.status=null==e?void 0:e.status,this.code=n.CourseCode.fromJson(null==e?void 0:e.code),this.sync=l.CourseSync.fromJson(null==e?void 0:e.sync),this.enrollmentVendibleId=null==e?void 0:e.enrollmentVendibleId,this.reservedEnrollments=null==e?void 0:e.reservedEnrollments,this.image=null==e?void 0:e.image}static fromJson(e){return void 0===e?void 0:new u(e)}}t.Course=u},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CourseLimit=void 0;class n{static fromJson(e){if(void 0!==e)return Object.assign(new n,e)}}t.CourseLimit=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ApproverRequester=void 0;class n{constructor(e){this.id=null==e?void 0:e.id,this.name=null==e?void 0:e.name,this.email=null==e?void 0:e.email}static fromJson(e){return void 0===e?void 0:new n(e)}}t.ApproverRequester=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CourseStatistics=void 0;const n=i(188);class s{constructor(){this.numberOfExercises=0,this.numberOfUsers=0,this.numberOfEnrollments=0,this.numberOfStudents=0,this.numberOfTas=0,this.numberOfInstructors=0,this.instructors=[],this.tas=[]}static fromJson(e){if(void 0===e)return;let t=Object.assign(new s,e),i=["instructors","tas"];for(let s of i)if(t[s]=[],s in e&&void 0!==e[s])for(let i of e[s])t[s].push(n.User.fromJson(i));return t}}t.CourseStatistics=s},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.ResourceType=void 0,function(e){e.Any="any",e.Course="course",e.Organization="organization",e.CtfCompetition="ctfcompetition"}(n||(t.ResourceType=n={}))},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CourseMembership=void 0;class n{constructor(e,t){this.id=e,this.role=t}static fromJson(e){if(void 0!==e)return Object.assign(new n,e)}}t.CourseMembership=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InvitationTemplate=void 0;class n{static fromJson(e){if(void 0!==e)return Object.assign(new n,e)}}t.InvitationTemplate=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CourseSync=void 0;class n{constructor(e){this.enabled=null==e?void 0:e.enabled,this.courseApplicationId=null==e?void 0:e.courseApplicationId,this.syncScheduleId=null==e?void 0:e.syncScheduleId}static fromJson(e){return e?new n(e):void 0}}t.CourseSync=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CourseFilter=void 0;class n{constructor(e){this.businessUnitId=null==e?void 0:e.businessUnitId,this.endsOnAfter=null==e?void 0:e.endsOnAfter,this.endsOnBefore=null==e?void 0:e.endsOnBefore,this.instructorId=null==e?void 0:e.instructorId,this.limit=null==e?void 0:e.limit,this.organizationApplicationId=null==e?void 0:e.organizationApplicationId,this.organizationIds=null==e?void 0:e.organizationIds,this.sortBy=null==e?void 0:e.sortBy,this.sortOrder=null==e?void 0:e.sortOrder,this.statuses=null==e?void 0:e.statuses,this.token=null==e?void 0:e.token,this.userId=null==e?void 0:e.userId}static transformMultiValueParams(e,t,i){for(let n of t||[])i.push(`${e}=${n}`)}static toQueryString(e){let t=[],i=new n(e);for(let e of Object.keys(i)){let s=i[e];if(void 0!==s)switch(e){case"organizationIds":n.transformMultiValueParams("organizationid",s,t);break;case"statuses":n.transformMultiValueParams("status",s,t);break;default:t.push(`${e.toLocaleLowerCase()}=${s}`)}}return t.length>0?"?"+t.join("&"):""}}t.CourseFilter=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CourseUser=void 0;class n{static fromJson(e){if(void 0!==e)return Object.assign(new n,e)}}t.CourseUser=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Exercise=void 0;const n=i(186),s=i(189),o=i(322);class r{static fromJson(e){if(void 0===e)return;let t=Object.assign(new r,e);if(t.accessPoints=[],"accessPoints"in e&&void 0!==e.accessPoints)for(let i of e.accessPoints)t.accessPoints.push(n.AccessPoint.fromJson(i));if(t.recipeParameters=[],"recipeParameters"in e&&void 0!==e.recipeParameters)for(let i of e.recipeParameters)t.recipeParameters.push(s.RecipeParameter.fromJson(i));return"statistics"in e&&(t.statistics=o.ExerciseStatistics.fromJson(e.statistics)),t}}t.Exercise=r},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExerciseStatistics=void 0;class n{constructor(){this.activeSessions=0,this.totalAccessDurationInMs=0}static fromJson(e){if(void 0!==e)return Object.assign(new n,e)}}t.ExerciseStatistics=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExerciseGroup=void 0;const n=i(189),s=i(186),o=i(324),r=i(325),a=i(62),l=i(338);class u{get isAvailable(){if(""===this.startTime&&""===this.endTime)return!1;let e=this.startTime?new Date(this.startTime):void 0,t=this.endTime?new Date(this.endTime):void 0,i=new Date;return!(e&&i<e||t&&i>t)}get isPersistent(){var e,t;switch(null===(t=null===(e=this.recipeParameters)||void 0===e?void 0:e.find(({id:e})=>"persistent"===e))||void 0===t?void 0:t.value){case"true":return!0;case"false":return!1;default:throw new Error("Unable to determine persistence because value is undefined")}}get isCtf(){var e;return null===(e=this.recipeParameters)||void 0===e?void 0:e.some(e=>e.id===a.RecipeItemType.CtfCompetition)}constructor(e){var t,i,a;this.id=null==e?void 0:e.id,this.name=null==e?void 0:e.name,this.description=null==e?void 0:e.description,this.catalogId=null==e?void 0:e.catalogId,this.courseId=null==e?void 0:e.courseId,this.organizationId=null==e?void 0:e.organizationId,this.startTime=null==e?void 0:e.startTime,this.endTime=null==e?void 0:e.endTime,this.status=null==e?void 0:e.status,this.recipeParameters=(null==e?void 0:e.recipeParameters)?e.recipeParameters.map(e=>n.RecipeParameter.fromJson(e)):void 0,this.createdTimestamp=null==e?void 0:e.createdTimestamp,this.screenshot=null==e?void 0:e.screenshot,this.metadata=null==e?void 0:e.metadata,this.accessPoints=(null==e?void 0:e.accessPoints)?e.accessPoints.map(e=>s.AccessPoint.fromJson(e)):void 0,this.features=null===(t=null==e?void 0:e.features)||void 0===t?void 0:t.map(e=>o.Feature.fromJson(e)),this.states=null===(i=null==e?void 0:e.states)||void 0===i?void 0:i.map(e=>r.ExerciseGroupState.fromJson(e)),this.notes=null===(a=null==e?void 0:e.notes)||void 0===a?void 0:a.map(e=>l.Note.fromJson(e))}static fromJson(e){return void 0===e?void 0:new u(e)}}t.ExerciseGroup=u},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Feature=void 0;class n{constructor(e){this.id=null==e?void 0:e.id,this.name=null==e?void 0:e.name,this.description=null==e?void 0:e.description,this.type=null==e?void 0:e.type,this.status=null==e?void 0:e.status}static fromJson(e){return e?new n(e):void 0}}t.Feature=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExerciseGroupState=void 0;class n{constructor(e){this.id=null==e?void 0:e.id,this.value=null==e?void 0:e.value}static fromJson(e){return e?new n(e):void 0}}t.ExerciseGroupState=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CatalogFamilyFilter=void 0;class n{constructor(e){this.sortOrder=null==e?void 0:e.sortOrder,this.sortBy=null==e?void 0:e.sortBy,this.limit=null==e?void 0:e.limit,this.token=null==e?void 0:e.token,this.organizationId=null==e?void 0:e.organizationId,this.userId=null==e?void 0:e.userId,this.mine=null==e?void 0:e.mine,this.isSnapshot=null==e?void 0:e.isSnapshot}static toQueryString(e){e=new n(e);const t=Object.entries(e).filter(([e,t])=>void 0!==t).map(([e,t])=>`${e.toLocaleLowerCase()}=${t}`);return t.length>0?"?"+t.join("&"):""}}t.CatalogFamilyFilter=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CatalogFamily=void 0;t.CatalogFamily=class{constructor(e){this.id=null==e?void 0:e.id,this.name=null==e?void 0:e.name,this.description=null==e?void 0:e.description,this.logo=null==e?void 0:e.logo,this.organizationId=null==e?void 0:e.organizationId,this.organizationName=null==e?void 0:e.organizationName,this.userId=null==e?void 0:e.userId,this.userName=null==e?void 0:e.userName,this.metadata=null==e?void 0:e.metadata,this.catalogEntries=null==e?void 0:e.catalogEntries,this.recipeParameters=null==e?void 0:e.recipeParameters,this.createdTimestamp=null==e?void 0:e.createdTimestamp,this.modifiedTimestamp=null==e?void 0:e.modifiedTimestamp,this.version=null==e?void 0:e.version}get defaultCatalogEntry(){let e={},t=this.recipeParameters.find(e=>!e.when),i=!0;for(;i;){if("catalogid"===t.id)return this.catalogEntries.find(e=>e.id===t.default);e[t.id]=t.default,t=this.recipeParameters.find(t=>{if(!t.when)return!1;const i=Object.keys(t.when),n=Object.keys(e);if(i.length!==n.length)return!1;for(const n of i)if(t.when[n]!==e[n])return!1;return!0}),t||(i=!1)}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CatalogFamilySearchFilter=void 0;class n{constructor(e){this.query=null==e?void 0:e.query,this.pageToken=null==e?void 0:e.pageToken,this.organizationIds=null==e?void 0:e.organizationIds,this.environmentTypes=null==e?void 0:e.environmentTypes,this.operatingSystems=null==e?void 0:e.operatingSystems,this.coursewarePartners=null==e?void 0:e.coursewarePartners,this.networks=null==e?void 0:e.networks,this.limit=null==e?void 0:e.limit,this.mine=null==e?void 0:e.mine}static toQueryString(e){let t="?context=catalogfamily";(e=new n(e)).query&&(t+="&q="+e.query,delete e.query);for(let[i,n]of Object.entries(e))if("limit"!==i&&"mine"!==i||!n){let e=n;if(null==e?void 0:e.length){i=i.toLowerCase(),e=Array.isArray(e)?e:[e];for(const n of e)t+=`&${i}=${encodeURIComponent(n)}`}}else t+=`&${i}=${n}`;return t}}t.CatalogFamilySearchFilter=n,n.GLOBAL_ENTRY_ORGANIZATION_ID="global"},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CatalogFamilyAccessFilter=void 0;class n{constructor(e){this.sortOrder=null==e?void 0:e.sortOrder,this.sortBy=null==e?void 0:e.sortBy,this.limit=null==e?void 0:e.limit,this.token=null==e?void 0:e.token}static toQueryString(e){e=new n(e);const t=Object.entries(e).filter(([e,t])=>!!t).map(([e,t])=>`${e.toLocaleLowerCase()}=${t}`);return t.length>0?"?"+t.join("&"):""}}t.CatalogFamilyAccessFilter=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CatalogFamilyAccess=void 0;t.CatalogFamilyAccess=class{constructor(e){this.id=null==e?void 0:e.id,this.name=null==e?void 0:e.name,this.email=null==e?void 0:e.email,this.acceptorUserId=null==e?void 0:e.acceptorUserId,this.accessType=null==e?void 0:e.accessType,this.sharedByName=null==e?void 0:e.sharedByName,this.catalogFamilyId=null==e?void 0:e.catalogFamilyId,this.organizationId=null==e?void 0:e.organizationId,this.version=null==e?void 0:e.version,this.accessStartedTimestamp=null==e?void 0:e.accessStartedTimestamp,this.createdTimestamp=null==e?void 0:e.createdTimestamp,this.modifiedTimestamp=null==e?void 0:e.modifiedTimestamp,this.catalogFamilyName=null==e?void 0:e.catalogFamilyName,this.catalogFamilyVersion=null==e?void 0:e.catalogFamilyVersion}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Recipe=void 0;class n{constructor(e){e&&(this.id=e.id,this.type=e.type,this.provider=e.provider,this.parameters=e.parameters,this.tags=e.tags)}static findParameterValue(e,t){var i,n;return null===(n=null===(i=e.parameters)||void 0===i?void 0:i.find(e=>e.id===t))||void 0===n?void 0:n.value}static fromJson(e){if(void 0!==e)return new n(e)}}t.Recipe=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RecipeParameter=void 0;const n=i(333);class s{constructor(e,t,i,n=[]){this.id=e,this.name=t,this.default=i,this.options=n}static fromJson(e){if(void 0===e)return;let t=Object.assign(new s,e);if("options"in e&&void 0!==e.options){t.options=[];for(let i of e.options)t.options.push(n.RecipeParameterOption.fromJson(i))}return t}}t.RecipeParameter=s},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RecipeParameterOption=void 0;class n{constructor(e,t,i){this.name=e,this.value=t,this.disabled=i}static fromJson(e){if(void 0!==e)return Object.assign(new n,e)}}t.RecipeParameterOption=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Instruction=void 0;class n{constructor(e,t,i){this.type=e,this.name=i,this.value=t}static fromJson(e){if(void 0!==e)return Object.assign(new n(void 0,void 0,void 0),e)}}t.Instruction=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Note=void 0;class n{constructor(e,t){this.type=e,this.message=t}static fromJson(e){if(void 0!==e)return Object.assign(new n,e)}}t.Note=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Feature=void 0;class n{constructor(e){this.id=null==e?void 0:e.id,this.name=null==e?void 0:e.name,this.description=null==e?void 0:e.description,this.type=null==e?void 0:e.type}static fromJson(e){return e?new n(e):void 0}}t.Feature=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Note=void 0;class n{constructor(e){this.id=null==e?void 0:e.id,this.type=null==e?void 0:e.type,this.message=null==e?void 0:e.message,this.dismissible=null==e?void 0:e.dismissible}static fromJson(e){return e?new n(e):void 0}}t.Note=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Team=void 0;class n{static fromJson(e){if(void 0!==e)return Object.assign(new n,e)}}t.Team=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TeamFilter=void 0;class n{constructor(e){this.limit=null==e?void 0:e.limit,this.courseId=null==e?void 0:e.courseId,this.userId=null==e?void 0:e.userId,this.status=null==e?void 0:e.status,this.token=null==e?void 0:e.token}toQueryString(){let e=[];for(let t of Object.keys(this))this[t]&&e.push(`${t.toLowerCase()}=${this[t]}`);return 0===e.length?"":"?"+e.join("&")}static fromJson(e){return e?new n(e):void 0}}t.TeamFilter=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UserFilter=void 0;t.UserFilter=class{constructor(e){e&&(this.competitionId=e.competitionId,this.roles=e.roles,this.organizationId=e.organizationId,this.status=e.status,this.token=e.token,this.limit=e.limit)}static toQueryString(e){if(!e)return"";let t=[];if(e.competitionId&&t.push("competitionid="+e.competitionId),e.organizationId&&t.push("organizationid="+e.organizationId),e.status&&t.push("status="+e.status),e.token&&t.push("token="+e.token),e.limit&&t.push("limit="+e.limit),e.roles)for(let i of e.roles)t.push("role="+i);return t.length>0?"?"+t.join("&"):""}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CourseUserFilter=void 0;t.CourseUserFilter=class{constructor(e){this.roles=null==e?void 0:e.roles,this.status=null==e?void 0:e.status,this.token=null==e?void 0:e.token,this.limit=null==e?void 0:e.limit}static toQueryString(e){if(!e)return"";let t=[];if(e.status&&t.push("status="+e.status),e.token&&t.push("token="+e.token),e.limit&&t.push("limit="+e.limit),e.roles)for(let i of e.roles)t.push("role="+i);return"?"+t.join("&")}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CourseApplication=void 0;class n{constructor(e){this.id=null==e?void 0:e.id,this.type=null==e?void 0:e.type,this.courseId=null==e?void 0:e.courseId,this.deploymentId=null==e?void 0:e.deploymentId,this.organizationId=null==e?void 0:e.organizationId,this.organizationApplicationId=null==e?void 0:e.organizationApplicationId,this.referenceId=null==e?void 0:e.referenceId,this.referenceUrl=null==e?void 0:e.referenceUrl,this.createdTimestamp=null==e?void 0:e.createdTimestamp,this.modifiedTimestamp=null==e?void 0:e.modifiedTimestamp}static fromJson(e){return void 0===e?void 0:new n(e)}}t.CourseApplication=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CourseApplicationFilter=void 0;class n{constructor(e){this.token=null==e?void 0:e.token,this.limit=Number(null==e?void 0:e.limit)||void 0,this.organizationApplicationId=null==e?void 0:e.organizationApplicationId,this.deploymentId=null==e?void 0:e.deploymentId,this.referenceId=null==e?void 0:e.referenceId,this.courseId=null==e?void 0:e.courseId}static toQueryString(e){let t=new n(e);delete t.courseId;let i=[];for(const e of Object.keys(t||{}))t[e]&&i.push(`${e.toLowerCase()}=${t[e]}`);return i.length>0?"?"+i.join("&"):""}}t.CourseApplicationFilter=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Payment=void 0;const n=i(346);class s{constructor(e){this.id=null==e?void 0:e.id,this.provider=null==e?void 0:e.provider,this.transaction=n.Transaction.fromJson(null==e?void 0:e.transaction),this.vendibleId=null==e?void 0:e.vendibleId,this.vendibleType=null==e?void 0:e.vendibleType,this.vendibleReferenceId=null==e?void 0:e.vendibleReferenceId,this.userId=null==e?void 0:e.userId,this.organizationId=null==e?void 0:e.organizationId,this.createdTimestamp=null==e?void 0:e.createdTimestamp,this.modifiedTimestamp=null==e?void 0:e.modifiedTimestamp}static fromJson(e){return e?new s(e):void 0}}t.Payment=s},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Transaction=void 0;class n{constructor(e){this.id=null==e?void 0:e.id,this.type=null==e?void 0:e.type,this.status=null==e?void 0:e.status,this.amount=null==e?void 0:e.amount,this.payerName=null==e?void 0:e.payerName,this.payerEmail=null==e?void 0:e.payerEmail,this.date=null==e?void 0:e.date,this.accountType=null==e?void 0:e.accountType,this.description=null==e?void 0:e.description,this.message=null==e?void 0:e.message}static fromJson(e){return e?new n(e):void 0}}t.Transaction=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PaymentDeleteFilter=void 0;const n=i(131);class s extends n.Filter{constructor(e){super(),this.hard=null==e?void 0:e.hard}}t.PaymentDeleteFilter=s},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PaymentFilter=void 0;const n=i(131);class s extends n.Filter{constructor(e){super(),this.userId=null==e?void 0:e.userId,this.vendibleId=null==e?void 0:e.vendibleId,this.organizationId=null==e?void 0:e.organizationId,this.deleted=null==e?void 0:e.deleted,this.limit=null==e?void 0:e.limit,this.token=null==e?void 0:e.token}}t.PaymentFilter=s},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PaymentUrl=void 0;class n{constructor(e){this.provider=null==e?void 0:e.provider,this.paymentUrl=null==e?void 0:e.paymentUrl}static fromJson(e){return e?new n(e):void 0}}t.PaymentUrl=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Price=void 0;class n{constructor(e){this.amount=null==e?void 0:e.amount,this.currency=null==e?void 0:e.currency}static fromJson(e){return e?new n(e):void 0}}t.Price=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Vendible=void 0;const n=i(350);class s{constructor(e){this.id=null==e?void 0:e.id,this.type=null==e?void 0:e.type,this.name=null==e?void 0:e.name,this.scopes=null==e?void 0:e.scopes,this.price=n.Price.fromJson(null==e?void 0:e.price),this.referenceId=null==e?void 0:e.referenceId,this.organizationId=null==e?void 0:e.organizationId,this.status=null==e?void 0:e.status,this.createdTimestamp=null==e?void 0:e.createdTimestamp,this.modifiedTimestamp=null==e?void 0:e.modifiedTimestamp}static fromJson(e){return e?new s(e):void 0}}t.Vendible=s},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.VendibleDeleteFilter=void 0;const n=i(131);class s extends n.Filter{constructor(e){super(),this.hard=null==e?void 0:e.hard}}t.VendibleDeleteFilter=s},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.VendibleFilter=void 0;const n=i(131);class s extends n.Filter{constructor(e){super(),this.organizationId=null==e?void 0:e.organizationId,this.referenceId=null==e?void 0:e.referenceId,this.type=null==e?void 0:e.type,this.status=null==e?void 0:e.status,this.limit=null==e?void 0:e.limit,this.token=null==e?void 0:e.token}}t.VendibleFilter=s},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SortableExerciseGroupFilter=void 0;const n=i(190);class s extends n.ExerciseGroupFilter{constructor(e){super(e),this.organizationIds=null==e?void 0:e.organizationIds,this.catalogId=null==e?void 0:e.catalogId,this.fields=null==e?void 0:e.fields,this.sortBy=null==e?void 0:e.sortBy,this.sortOrder=null==e?void 0:e.sortOrder}static toQueryString(e){if(!e)return"";let t=n.ExerciseGroupFilter.toQueryString(e),i=[];if(e.organizationIds)for(let t of e.organizationIds)i.push("organizationid="+t);if(e.fields)for(let t of e.fields)i.push("field="+t);return e.courseId&&i.push("courseid="+e.courseId),e.catalogId&&i.push("catalogid="+e.catalogId),e.sortBy&&i.push("sortby="+e.sortBy),e.sortOrder&&i.push("sortorder="+e.sortOrder),t.length>0?`${t}${i.length>0?"&"+i.join("&"):""}`:i.length>0?"?"+i.join("&"):""}}t.SortableExerciseGroupFilter=s},,function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Token=void 0;class n{constructor(e,t="Bearer"){this.type=t,this.value=e}static fromJson(e){return Object.assign(new n(void 0),e)}}t.Token=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Jwk=void 0;class n{constructor(e){this.kty=null==e?void 0:e.kty,this.n=null==e?void 0:e.n,this.e=null==e?void 0:e.e,this.kid=null==e?void 0:e.kid,this.alg=null==e?void 0:e.alg,this.use=null==e?void 0:e.use}static fromJson(e){return e?new n(e):void 0}}t.Jwk=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Entitlement=void 0;const n=i(191);class s{constructor(e=[],t=[]){this.allow=e,this.deny=t}static fromJson(e){if(void 0===e)return e;let t=new s;if("allow"in e&&Array.isArray(e.allow))for(let i of e.allow)t.allow.push(n.Claim.fromJson(i));if("deny"in e&&Array.isArray(e.deny))for(let i of e.deny)t.deny.push(n.Claim.fromJson(i));return t}}t.Entitlement=s},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RuleTarget=void 0;class n{constructor(e,t){this.type=e,this.id=t}static fromJson(e){return void 0===e?e:Object.assign(new n(void 0,void 0),e)}}t.RuleTarget=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RuleFilter=void 0;t.RuleFilter=class{constructor(e,t,i,n){this.targetId=e,this.targetType=t,this.claimType=i,this.claimValue=n}toQueryString(){return`?targetid=${this.targetId?encodeURIComponent(this.targetId):""}&targettype=${this.targetType?encodeURIComponent(this.targetType):""}&claimtype=${this.claimType?encodeURIComponent(this.claimType):""}&claimvalue=${this.claimValue?encodeURIComponent(this.claimValue):""}`}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Rules=void 0;const n=i(192);class s{constructor(){this.items=[]}static fromJson(e){if(void 0===e)return e;let t=new s;t.start=e.start,t.total=e.total;for(let i of e.items)t.items.push(n.Rule.fromJson(i));return t}}t.Rules=s},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Activity=void 0;class n{constructor(e){this.id=null==e?void 0:e.id,this.organizationId=null==e?void 0:e.organizationId,this.type=null==e?void 0:e.type,this.referenceId=null==e?void 0:e.referenceId,this.deduplicationId=null==e?void 0:e.deduplicationId,this.amount=null==e?void 0:e.amount,this.balance=null==e?void 0:e.balance,this.notes=null==e?void 0:e.notes,this.status=null==e?void 0:e.status,this.postedDate=null==e?void 0:e.postedDate,this.createdTimestamp=null==e?void 0:e.createdTimestamp,this.modifiedTimestamp=null==e?void 0:e.modifiedTimestamp}static fromJson(e){return e?new n(e):void 0}}t.Activity=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ActivityFilter=void 0;class n{constructor(e){this.limit=Number(null==e?void 0:e.limit),this.token=null==e?void 0:e.token,this.postedFrom=null==e?void 0:e.postedFrom,this.postedTo=null==e?void 0:e.postedTo}static toQueryString(e){const t=new n(e),i=Object.keys(t).filter(e=>t[e]);return i.length>0?"?"+i.map(e=>`${e.toLowerCase()}=${encodeURIComponent(t[e])}`).join("&"):""}}t.ActivityFilter=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Balance=void 0;class n{constructor(e){this.organizationId=null==e?void 0:e.organizationId,this.balance=null==e?void 0:e.balance,this.postedBalance=null==e?void 0:e.postedBalance}static fromJson(e){return e?new n(e):void 0}}t.Balance=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BalanceFilter=void 0;class n{constructor(e){this.limit=Number(null==e?void 0:e.limit),this.token=null==e?void 0:e.token}static toQueryString(e){const t=new n(e),i=Object.keys(t).filter(e=>t[e]);return i.length>0?"?"+i.map(e=>`${e.toLowerCase()}=${encodeURIComponent(t[e])}`).join("&"):""}}t.BalanceFilter=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ActivityImportReport=void 0;const n=i(367);class s{constructor(e){var t;this.jobId=null==e?void 0:e.jobId,this.warnings=null===(t=null==e?void 0:e.warnings)||void 0===t?void 0:t.map(e=>n.Warning.fromJson(e)).filter(e=>!!e),this.messages=e.messages}static fromJson(e){return e?new s(e):void 0}}t.ActivityImportReport=s},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Warning=void 0;class n{constructor(e){this.id=null==e?void 0:e.id,this.value=null==e?void 0:e.value,this.description=null==e?void 0:e.description}static fromJson(e){return e?new n(e):void 0}}t.Warning=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Content=void 0;const n=i(194),s=i(195),o=i(193);class r{constructor(e){e&&(this.id=e.id,this.name=e.name,this.status=e.status,this.urlAlias=e.urlAlias,this.description=e.description,this.tags=e.tags,this.contributors=e.contributors,this.parentId=e.parentId,this.children=e.children,this.sections=e.sections,this.files=e.files,this.ksas=e.ksas,this.kus=e.kus,this.createdTimestamp=e.createdTimestamp,this.modifiedTimestamp=e.modifiedTimestamp,this.lastCuratedTimestamps=e.lastCuratedTimestamps)}get category(){return this.categories.join(", ")}get categories(){var e;return[...new Set(null===(e=this.tags)||void 0===e?void 0:e.filter(e=>o.ContentCategoryValues().includes(e)))]}get educationLevels(){var e;return[...new Set(null===(e=this.tags)||void 0===e?void 0:e.filter(e=>n.EducationLevelValues().includes(e)))]}get experienceLevels(){var e;return[...new Set(null===(e=this.tags)||void 0===e?void 0:e.filter(e=>s.ExperienceLevelValues().includes(e)))]}static fromJson(e){if(void 0!==e)return new r(e)}}t.Content=r},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ContentFilter=void 0;class n{constructor(e){this.token=null==e?void 0:e.token,this.limit=null==e?void 0:e.limit,this.condense=null==e?void 0:e.condense,this.available=null==e?void 0:e.available}static fromJson(e){return new n(e)}toQueryString(){let e=[];return this.available&&e.push("available="+this.available),this.condense&&e.push("condense=1"),this.limit&&e.push("limit="+this.limit),this.token&&e.push("token="+this.token),e.length>0?"?"+e.join("&"):""}}t.ContentFilter=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ContributorPage=void 0;t.ContributorPage=class{constructor(e,t){this.contributors=e,this.nextPageToken=t}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Contributor=void 0;class n{constructor(e={}){Object.assign(this,e)}static fromJson(e){if(void 0!==e)return new n(e)}}t.Contributor=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Knowledge=void 0;class n{constructor(e){e&&(this.id=e.id,this.name=e.name,this.type=e.type,this.createdTimestamp=e.createdTimestamp,this.modifiedTimestamp=e.modifiedTimestamp)}static fromJson(e){if(void 0!==e)return new n(e)}}t.Knowledge=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.KnowledgePage=void 0;t.KnowledgePage=class{constructor(e,t){this.knowledges=e,this.nextPageToken=t}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BundleFilter=void 0;t.BundleFilter=class{constructor(e){this.children=e?e.children:void 0}toQueryString(){return this.children?"?children="+this.children:""}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NewsContent=void 0;class n{constructor(e){this.id=e.id,this.image=e.image,this.name=e.name,this.description=e.description,this.link=e.link,this.externalLink=e.externalLink,this.status=e.status,this.date=e.date,this.createdTimestamp=e.createdTimestamp,this.modifiedTimestamp=e.modifiedTimestamp}static fromJson(e){if(void 0!==e)return new n(e)}}t.NewsContent=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EventContent=void 0;class n{constructor(e){this.id=e.id,this.name=e.name,this.description=e.description,this.link=e.link,this.status=e.status,this.date=e.date,this.location=e.location,this.createdTimestamp=e.createdTimestamp,this.modifiedTimestamp=e.modifiedTimestamp}static fromJson(e){if(void 0!==e)return new n(e)}}t.EventContent=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CoursewareMetrics=void 0;class n{constructor(e,t,i,n,s,o,r){this.assignmentCount=e,this.categoryCounts=t,this.experienceLevelCounts=i,this.educationLevelCounts=n,this.linkagesCount=s,this.quizCount=o,this.totalCourseware=r}static fromJson(e){return new n(e.assignmentCount,e.categoryCounts,e.experienceLevelCounts,e.educationLevelCounts,e.linkagesCount,e.quizCount,e.totalCourseware)}}t.CoursewareMetrics=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Page=void 0;t.Page=class{constructor(e,t){this.items=e,this.nextPageToken=t}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BusinessUnitFilter=void 0;class n{constructor(e){this.categories=null==e?void 0:e.categories,this.organizationId=null==e?void 0:e.organizationId,this.limit=null==e?void 0:e.limit,this.token=null==e?void 0:e.token}static fromJson(e){if(void 0!==e)return new n(e)}static toQueryString(e){if(!e)return"";let t=[];for(const i of Object.keys(e))e[i]&&("categories"===i?t.push("categories="+e.categories.join(",")):t.push(`${i.toLowerCase()}=${e[i]}`));return t.length>0?"?"+t.join("&"):""}}t.BusinessUnitFilter=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BusinessUnit=void 0;class n{constructor(e){this.id=null==e?void 0:e.id,this.name=null==e?void 0:e.name,this.region=null==e?void 0:e.region,this.category=null==e?void 0:e.category,this.organizationId=null==e?void 0:e.organizationId,this.createdTimestamp=null==e?void 0:e.createdTimestamp,this.modifiedTimestamp=null==e?void 0:e.modifiedTimestamp}static fromJson(e){if(void 0!==e)return new n(e)}}t.BusinessUnit=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Organization=void 0;const n=i(382),s=i(383),o=i(196);class r{constructor(e,t,i,n,s,o,r,a,l,u){this.id=e,this.name=t,this.description=i,this.status=n,this.limits=s,this.parentId=o,this.parentName=r,this.alternateIds=a,this.contractStartTimestamp=u,this.contractExpirationTimestamp=l}static fromJson(e){if(void 0===e)return;let t=new r;return Object.assign(t,e),t}static getOrganizationCustomAttributeValue(e,t){return l(e)[t]}static setOrganizationCustomAttributeValue(e,t,i){let n=l(e);return n[t]=i,a(e,n)}static getInternalCustomAttributeValue(e,t){return l(e,o.InternalCustomAttributeName,"internalCustomAttributes")[t]}static setInternalCustomAttributeValue(e,t,i){let n=l(e,o.InternalCustomAttributeName,"internalCustomAttributes");return n[t]=i,a(e,n,"internalCustomAttributes")}}function a(e,t,i="customAttributes"){e[i]||(e[i]=[]);for(let n of e[i])t[n.name]&&(n.value=t[n.name]);for(let n of Object.keys(t))e[i].some(e=>e.name===n)||e[i].push(new s.OrganizationCustomAttribute(n,t[n]))}function l(e,t=n.OrganizationCustomAttributeName,i="customAttributes"){if(!e)return{};let s=Object.keys(t).map(e=>t[e]),o={};for(let t of e[i]||[])s.some(e=>t.name===e)&&(o[t.name]=t.value);return o}t.Organization=r},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.OrganizationCustomAttributeName=void 0,function(e){e.DetachUnusedExerciseInstancesAfterDays="detach_unused_exercise_instances_after_days",e.MaxConnectionDurationInMinutes="max_connection_duration_in_minutes",e.TrialPeriodInDays="trial_period_in_days"}(n||(t.OrganizationCustomAttributeName=n={}))},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OrganizationCustomAttribute=void 0;class n{constructor(e,t){this.name=e,this.value=t}static fromJson(e){if(void 0===e)return;let t=new n;return Object.assign(t,e),t}}t.OrganizationCustomAttribute=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OrganizationFilter=void 0;t.OrganizationFilter=class{constructor(e){this.organizationIds=null==e?void 0:e.organizationIds,this.parentId=null==e?void 0:e.parentId,this.fields=null==e?void 0:e.fields,this.token=null==e?void 0:e.token,this.limit=null==e?void 0:e.limit,this.sortBy=null==e?void 0:e.sortBy,this.sortOrder=null==e?void 0:e.sortOrder,this.manageable=null==e?void 0:e.manageable}toQueryString(){var e,t;let i=[];return(null===(e=this.organizationIds)||void 0===e?void 0:e.length)>0&&i.push(this.organizationIds.map(e=>"orgid="+e).join("&")),this.token&&i.push("token="+this.token),this.limit&&i.push("pagesize="+this.limit),this.parentId&&i.push("parentid="+this.parentId),(null===(t=this.fields)||void 0===t?void 0:t.length)>0&&i.push(this.fields.map(e=>"field="+e).join("&")),this.sortBy&&i.push("sortby="+this.sortBy),this.sortOrder&&i.push("sortorder="+this.sortOrder),void 0!==this.manageable&&i.push("manageable="+this.manageable),i.length>0?"?"+i.join("&"):""}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SupportRecipient=void 0;class n{constructor(e,t,i){this.role=e,this.email=t,this.name=i}static fromJson(e){if(void 0!==e)return Object.assign(new n,e)}}t.SupportRecipient=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EmailTemplate=void 0;class n{constructor({subject:e,text:t,html:i,from:n,organizationName:s,organizationContactEmail:o}={}){this.subject=e,this.text=t,this.html=i,this.from=n,this.organizationName=s,this.organizationContactEmail=o}static fromJson(e){if(void 0!==e)return new n({subject:e.subject,text:e.text,html:e.html,from:e.from,organizationName:e.organizationName,organizationContactEmail:e.organizationContactEmail})}}t.EmailTemplate=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OrganizationEmailTemplates=void 0;class n{constructor(e={}){this.accountRequestedTemplate=e.accountRequestedTemplate,this.accountPendingApprovalTemplate=e.accountPendingApprovalTemplate,this.accountApprovedTemplate=e.accountApprovedTemplate,this.accountRejectedTemplate=e.accountRejectedTemplate,this.courseRequestedTemplate=e.courseRequestedTemplate,this.coursePendingApprovalTemplate=e.coursePendingApprovalTemplate,this.courseApprovedTemplate=e.courseApprovedTemplate,this.courseRejectedTemplate=e.courseRejectedTemplate,this.courseUserInvitationTemplate=e.courseUserInvitationTemplate,this.organizationUserInvitationTemplate=e.organizationUserInvitationTemplate,this.courseInstructorInvitationTemplate=e.courseInstructorInvitationTemplate,this.courseExpirationWarningTemplate=e.courseExpirationWarningTemplate,this.ctfAdminInvitationTemplate=e.ctfAdminInvitationTemplate,this.ctfPlayerInvitationTemplate=e.ctfPlayerInvitationTemplate}static fromJson(e){if(void 0===e)return;return new n({accountRequestedTemplate:e.accountRequestedTemplate,accountPendingApprovalTemplate:e.accountPendingApprovalTemplate,accountApprovedTemplate:e.accountApprovedTemplate,accountRejectedTemplate:e.accountRejectedTemplate,courseRequestedTemplate:e.courseRequestedTemplate,coursePendingApprovalTemplate:e.coursePendingApprovalTemplate,courseApprovedTemplate:e.courseApprovedTemplate,courseRejectedTemplate:e.courseRejectedTemplate,courseUserInvitationTemplate:e.courseUserInvitationTemplate,organizationUserInvitationTemplate:e.organizationUserInvitationTemplate,courseInstructorInvitationTemplate:e.courseInstructorInvitationTemplate,courseExpirationWarningTemplate:e.courseExpirationWarningTemplate,ctfAdminInvitationTemplate:e.ctfAdminInvitationTemplate,ctfPlayerInvitationTemplate:e.ctfPlayerInvitationTemplate})}}t.OrganizationEmailTemplates=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OrganizationCode=void 0;class n{constructor(e,t,i,n){this.value=e,this.organizationId=t,this.organizationName=i,this.customAttributes=n}static fromJson(e){return void 0===e?void 0:new n(e.value,e.organizationId,e.organizationName,e.customAttributes)}}t.OrganizationCode=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Limit=void 0;class n{constructor(e){this.max=null==e?void 0:e.max,this.current=null==e?void 0:e.current}static fromJson(e){return e?new n(e):void 0}}t.Limit=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OrganizationApplication=void 0;t.OrganizationApplication=class{constructor(e){this.id=null==e?void 0:e.id,this.name=null==e?void 0:e.name,this.type=null==e?void 0:e.type,this.createdTimestamp=null==e?void 0:e.createdTimestamp,this.modifiedTimestamp=null==e?void 0:e.modifiedTimestamp,this.organizationId=null==e?void 0:e.organizationId}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OrganizationApplicationFilter=void 0;t.OrganizationApplicationFilter=class{constructor(e){this.organizationId=null==e?void 0:e.organizationId,this.type=null==e?void 0:e.type,this.value=null==e?void 0:e.value,this.limit=null==e?void 0:e.limit,this.token=null==e?void 0:e.token}toQueryString(){let e=[];return this.type&&e.push("type="+this.type),this.value&&e.push("value="+this.value),this.limit&&e.push("limit="+this.limit),this.token&&e.push("token="+this.token),e.length>0?"?"+e.join("&"):""}}},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.InternalCustomAttrbuteValueAllowed=void 0,function(e){e.Allowed="allowed",e.NotAllowed="notallowed"}(n||(t.InternalCustomAttrbuteValueAllowed=n={}))},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.InternalCustomAttrbuteValueEnforceCourseEndDateBy=void 0,function(e){e.Subscription="subscription",e.Date="date",e.TrialPeriod="trialperiod"}(n||(t.InternalCustomAttrbuteValueEnforceCourseEndDateBy=n={}))},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Subscriber=void 0;class n{constructor(e){this.id=e.id,this.name=e.name,this.emailAddress=e.emailAddress,this.emailFormat=e.emailFormat,this.jobTitle=e.jobTitle,this.businessUnit=e.businessUnit,this.topics=e.topics,this.status=e.status,this.createdTimestamp=e.createdTimestamp,this.modifiedTimestamp=e.modifiedTimestamp}static fromJson(e){if(e)return new n({id:e.id,name:e.name,emailAddress:e.emailAddress,emailFormat:e.emailFormat,jobTitle:e.jobTitle,businessUnit:e.businessUnit,topics:e.topics,status:e.status,createdTimestamp:e.createdTimestamp,modifiedTimestamp:e.modifiedTimestamp})}}t.Subscriber=n},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var s=Object.getOwnPropertyDescriptor(t,i);s&&!("get"in s?!t.__esModule:s.writable||s.configurable)||(s={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,s)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),s=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||n(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),s(i(274),t),s(i(275),t),s(i(719),t),s(i(720),t),s(i(721),t),s(i(722),t)},function(e,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),s=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||t.hasOwnProperty(i)||n(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),s(i(191),t),s(i(936),t),s(i(358),t),s(i(192),t),s(i(360),t),s(i(361),t),s(i(359),t),s(i(937),t),s(i(938),t),s(i(939),t),s(i(940),t),s(i(941),t),s(i(942),t),s(i(943),t),s(i(944),t),s(i(945),t)},function(e,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var s=Object.getOwnPropertyDescriptor(t,i);s&&!("get"in s?!t.__esModule:s.writable||s.configurable)||(s={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,s)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),s=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||n(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),s(i(362),t),s(i(363),t),s(i(364),t),s(i(365),t),s(i(366),t),s(i(367),t),s(i(946),t),s(i(947),t),s(i(948),t),s(i(949),t),s(i(950),t),s(i(951),t),s(i(952),t),s(i(953),t),s(i(211),t),s(i(954),t)},function(e,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),s=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||t.hasOwnProperty(i)||n(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),s(i(955),t),s(i(956),t),s(i(368),t),s(i(369),t),s(i(957),t),s(i(370),t),s(i(958),t),s(i(371),t),s(i(372),t),s(i(959),t),s(i(373),t),s(i(960),t),s(i(961),t),s(i(962),t),s(i(963),t),s(i(374),t),s(i(375),t),s(i(964),t),s(i(376),t),s(i(965),t),s(i(132),t),s(i(966),t),s(i(377),t),s(i(967),t),s(i(968),t),s(i(193),t),s(i(132),t),s(i(194),t),s(i(195),t),s(i(969),t),s(i(970),t),s(i(971),t),s(i(972),t),s(i(973),t),s(i(974),t),s(i(975),t),s(i(976),t),s(i(977),t),s(i(978),t),s(i(979),t),s(i(980),t),s(i(981),t),s(i(982),t),s(i(983),t),s(i(984),t),s(i(985),t),s(i(986),t),s(i(987),t),s(i(988),t),s(i(989),t),s(i(378),t),s(i(990),t),s(i(991),t),s(i(992),t),s(i(993),t),s(i(994),t),s(i(995),t),s(i(996),t),s(i(997),t),s(i(998),t),s(i(999),t),s(i(1e3),t)},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";var n=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(s,o){function r(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.CredentialApiClient=void 0;const s=i(12),o=i(274),r=i(275);class a extends s.AutoPagingApiClient{constructor(e,t,i){super(i),i||(t&&t.headers&&!("User-Agent"in t.headers)&&(t.headers["User-Agent"]="credential-api-client"),i=new s.ApiClient(e,t)),this.apiClient=i}create(e,t){return n(this,void 0,void 0,(function*(){const i=yield this.apiClient.post("/v1/credential",e,t);return this.apiClient.validateResponse(i,200),o.Credential.fromJson(i.data)}))}getOne(e,t){return n(this,void 0,void 0,(function*(){const i=yield this.apiClient.get("/v1/credentials/"+e,t);return this.apiClient.validateResponse(i,200),o.Credential.fromJson(i.data)}))}get(e,t){return n(this,void 0,void 0,(function*(){const i=yield this.apiClient.get("/v1/credentials"+r.CredentialFilter.toQueryString(e),t);return this.apiClient.validateResponse(i,200),new s.ApiPageResponse(i.data)}))}activate(e,t,i){return n(this,void 0,void 0,(function*(){const n=yield this.apiClient.put(`/v1/credentials/${e}/activate`,{userId:t},i);this.apiClient.validateResponse(n,204)}))}delete(e,t){return n(this,void 0,void 0,(function*(){const i=yield this.apiClient.delete("/v1/credential/"+e,t);this.apiClient.validateResponse(i,204)}))}resetPassword(e,t){return n(this,void 0,void 0,(function*(){const i=yield this.apiClient.put(`/v1/credential/${e}/reset`,t);return this.apiClient.validateResponse(i,200),i.data.password}))}}t.CredentialApiClient=a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},,function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ApiClientErrorFactory=void 0;const n=i(32),s=i(276),o=i(277),r=i(278),a=i(279),l=i(280),u=i(281),c=i(282),d=i(283),_=i(284),v=i(285),p=i(286),h=i(287),f=i(288),m=i(289),C=i(290),g=i(291),y=i(292);t.ApiClientErrorFactory=class{static create(e,t){return 400===t?new a.BadRequestApiClientError(e):401===t?new o.UnauthorizedApiClientError(e):403===t?new r.ForbiddenApiClientError(e):404===t?new s.NotFoundApiClientError(e):405===t?new h.MethodNotAllowedApiClientError(e):409===t?new l.ConflictApiClientError(e):410===t?new u.GoneApiClientError(e):422===t?new c.UnprocessableApiClientError(e):500===t?new d.InternalServerErrorApiClientError(e):501===t?new _.NotImplementedApiClientError(e):502===t?new v.BadGatewayApiClientError(e):503===t?new p.ServiceUnavailableApiClientError(e):529===t?new f.ProviderLimitError(e):530===t?new m.LockAcquiringApiClientError(e):531===t?new C.LockReleasingApiClientError(e):532===t?new g.VersionLockApiClientError(e):533===t?new y.RetryableProviderApiClientError(e):new n.ApiClientError(e,t)}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";var n=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(s,o){function r(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.ApiClient=void 0;const s=i(293),o=i(294),r=i(183),a=i(183),l=i(184),u=i(731);t.ApiClient=class{constructor(e,t=new s.ApiRequestConfig,i=new l.ApiClientConfig,n=u.default.create(e,i)){this.client=n,this.config=t,this.baseURL=e,t.headers["Content-Type"]||(t.headers["Content-Type"]="application/json"),"User-Agent"in t.headers&&void 0===t.headers["User-Agent"]&&delete t.headers["User-Agent"]}get(e){return n(this,arguments,void 0,(function*(e,t=new s.ApiRequestConfig){const i=this.generateURL(e),n=this.formatConfig(t);try{this.handleCallingHandler(n);let e=yield this.client.get(i,n);return new o.ApiResponse(e.status,e.headers,e.data,e.statusText)}catch(e){return this.errorHandler(e,"GET: "+i,n)}finally{this.handleCalledHandler(n)}}))}post(e,t){return n(this,arguments,void 0,(function*(e,t,i=new s.ApiRequestConfig){const n=this.generateURL(e),r=this.formatConfig(i);try{this.handleCallingHandler(r);let e=yield this.client.post(n,t,r);return new o.ApiResponse(e.status,e.headers,e.data,e.statusText)}catch(e){return this.errorHandler(e,"POST: "+n,r)}finally{this.handleCalledHandler(r)}}))}patch(e,t){return n(this,arguments,void 0,(function*(e,t,i=new s.ApiRequestConfig){const n=this.generateURL(e),r=this.formatConfig(i);try{this.handleCallingHandler(r);let e=yield this.client.patch(n,t,r);return new o.ApiResponse(e.status,e.headers,e.data,e.statusText)}catch(e){return this.errorHandler(e,"PATCH: "+n,r)}finally{this.handleCalledHandler(r)}}))}delete(e){return n(this,arguments,void 0,(function*(e,t=new s.ApiRequestConfig){const i=this.generateURL(e),n=this.formatConfig(t);try{this.handleCallingHandler(n);let e=yield this.client.delete(i,n);return new o.ApiResponse(e.status,e.headers,e.data,e.statusText)}catch(e){return this.errorHandler(e,"DELETE: "+i,n)}finally{this.handleCalledHandler(n)}}))}put(e,t){return n(this,arguments,void 0,(function*(e,t,i=new s.ApiRequestConfig){const n=this.generateURL(e),r=this.formatConfig(i);try{this.handleCallingHandler(r);let e=yield this.client.put(n,t,r);return new o.ApiResponse(e.status,e.headers,e.data,e.statusText)}catch(e){return this.errorHandler(e,"PUT: "+n,r)}finally{this.handleCalledHandler(r)}}))}errorHandler(e,t,i){let n;if(n=e.response?a.ApiClientErrorFactory.create(e.response.data,e.response.status):e.request?new r.ApiClientError(`The request ${t} was made but no response was received: ${e.message}`,0):e,!0!==this.handleCustomErrorHandler(n,i))throw n;return e.response}stripUndefined(e){return Object.entries(e).filter(([e,t])=>void 0!==t).reduce((e,[t,i])=>(e[t]=i,e),{})}formatConfig(e){let t=Object.assign({},this.config);t.headers=Object.assign({},t.headers,e.headers);let i=Object.assign({},e);return delete i.headers,t=Object.assign(t,this.stripUndefined(i)),t}validateResponse(e,t){if(e.statusCode!=t){let t=a.ApiClientErrorFactory.create(e.data,e.statusCode);if(!0!==this.handleCustomErrorHandler(t))throw t}}handleCustomErrorHandler(e,t=this.config){return!!t.errorHandler&&t.errorHandler(e)}handleCallingHandler(e=this.config){e.callingHandler&&e.callingHandler()}handleCalledHandler(e=this.config){e.calledHandler&&e.calledHandler()}generateURL(e){return new URL(e,this.baseURL||void 0).toString()}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=i(732),s=i(735);t.default=class{static create(e,t){const i=e?new URL(e):void 0;switch(null==i?void 0:i.protocol){case"aws-lambda:":return new n.default(t);default:return new s.default(t)}}}},function(e,t,i){"use strict";var n=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(s,o){function r(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0});const s=i(184),o=i(733),r=i(295);t.default=class{constructor(e=new s.ApiClientConfig,t){try{let n=new(i(!function(){var e=new Error("Cannot find module '@smithy/node-http-handler'");throw e.code="MODULE_NOT_FOUND",e}()).NodeHttpHandler)({httpsAgent:(0,r.getSharedHttpsAgent)(),connectionTimeout:e.connectionTimeoutInMs,socketTimeout:e.connectionTimeoutInMs});this.client=t||new(i(!function(){var e=new Error("Cannot find module '@aws-sdk/client-lambda'");throw e.code="MODULE_NOT_FOUND",e}()).Lambda)({requestHandler:n})}catch(e){}}entiresToMultiValueRecord(e){var t;const i={};for(const[n,s]of e)null!==(t=i[n])&&void 0!==t||(i[n]=[]),i[n].push(s);return i}parseResponse(e){const t=JSON.parse(e.Payload.transformToString()||"{}"),i=t.headers||{},n="application/json"===i["Content-Type"]?JSON.parse(t.body):t.body;if(t.statusCode>=400)throw new o.RequestClientResponseError({response:{status:t.statusCode,headers:i,data:n}});return{data:n,headers:i,status:t.statusCode,statusText:void 0}}invoke(e,t,i,s){return n(this,void 0,void 0,(function*(){i="string"!=typeof i?JSON.stringify(i):i,t=t instanceof URL?t:new URL(t);const n=yield this.client.invoke({FunctionName:t.hostname,Payload:JSON.stringify({httpMethod:e,path:t.pathname,multiValueHeaders:this.entiresToMultiValueRecord(Object.entries((null==s?void 0:s.headers)||{})),multiValueQueryStringParameters:this.entiresToMultiValueRecord(t.searchParams),body:i})});return this.parseResponse(n)}))}get(e,t){return this.invoke("GET",e,void 0,t)}post(e,t,i){return this.invoke("POST",e,t,i)}put(e,t,i){return this.invoke("PUT",e,t,i)}patch(e,t,i){return this.invoke("PATCH",e,t,i)}delete(e,t){return this.invoke("DELETE",e,void 0,t)}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RequestClientResponseError=void 0;t.RequestClientResponseError=class{constructor(e){this.response=e.response}}},,function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=i(1174),s=i(184),o=i(295);class r{constructor(e=new s.ApiClientConfig){this.client=n.default.create({httpAgent:(0,o.getSharedHttpAgent)(),httpsAgent:(0,o.getSharedHttpsAgent)()})}static toAxiosRequestConfig(e){if(void 0===e)return;let t={};for(let i of Object.keys(e))if(!["calledHandler","callingHandler","errorHandler"].includes(i))if("headers"===i){t[i]={};for(let n of Object.keys(e[i])){let s=e[i][n];t[i][n]="string"==typeof s?s:JSON.stringify(s)}}else t[i]=e[i];return t}get(e,t){return this.client.get(e,r.toAxiosRequestConfig(t))}post(e,t,i){return this.client.post(e,t,r.toAxiosRequestConfig(i))}put(e,t,i){return this.client.put(e,t,r.toAxiosRequestConfig(i))}patch(e,t,i){return this.client.patch(e,t,r.toAxiosRequestConfig(i))}delete(e,t){return this.client.delete(e,r.toAxiosRequestConfig(t))}}t.default=r},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.Header=void 0,function(e){e.LockReentrant="lock-reentrant",e.Expires="Expires",e.DebouncedTimestamp="debounced-timestamp"}(n||(t.Header=n={}))},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ApiPageResponse=void 0;class n{constructor(e){this.items=null==e?void 0:e.items,this.nextPageToken=null==e?void 0:e.nextPageToken,this.prevPageToken=null==e?void 0:e.prevPageToken}static fromJson(e){if(void 0!==e)return new n(e)}}t.ApiPageResponse=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";var n=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(s,o){function r(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.AutoPagingApiClient=void 0;t.AutoPagingApiClient=class{constructor(e){this.apiClient=e}get(e,t){throw new Error("get not implemented")}_getAll(e){return n(this,arguments,void 0,(function*(e,t={},...i){var n;const s=[];null!==(n=t.limit)&&void 0!==n||(t.limit=1e3);do{const n=yield e(t,...i);s.push(...n.items),t.token=n.nextPageToken}while(t.token);return s}))}getAll(e,t){return n(this,void 0,void 0,(function*(){return this._getAll(this.get.bind(this),e||{},t)}))}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IFilter=void 0;t.IFilter=class{}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Filter=void 0;t.Filter=class{constructor(e){this.limit=null==e?void 0:e.limit,this.token=null==e?void 0:e.token}toQueryString(){const e=[];for(const[t,i]of Object.entries(this))void 0!==i&&e.push(`${t.toLowerCase()}=${i}`);return e.length>0?"?"+e.join("&"):""}}},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.SortOrder=void 0,function(e){e.Asc="asc",e.Desc="desc"}(n||(t.SortOrder=n={}))},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Token=void 0;const n=i(745);t.Token=class{constructor(e){this.value=null==e?void 0:e.value,this.order=null==e?void 0:e.order}toString(){return(0,n.encode)(JSON.stringify(this))}static parse(e){return JSON.parse((0,n.decode)(e))}}},,,,,,,function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.CompetitionStatus=void 0,function(e){e.Ready="ready",e.PendingDeleting="pending_deleting",e.PendingPopulatingChallenges="pending_populating_challenges",e.PendingScalingDown="pending_scaling_down"}(n||(t.CompetitionStatus=n={}))},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.SortableFields=void 0,function(e){e.Name="name"}(n||(t.SortableFields=n={}))},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.EnforceableRecipeParameters=void 0,function(e){e.AllowPublicRegistration="allow_public_registration"}(n||(t.EnforceableRecipeParameters=n={}))},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.ImportFormat=void 0,function(e){e.Text="text/plain",e.Compressed="application/gzip"}(n||(t.ImportFormat=n={}))},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";var n=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(s,o){function r(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.CompetitionApiClient=void 0;const s=i(12),o=i(298),r=i(303),a=i(304),l=i(306),u=i(307);class c extends s.AutoPagingApiClient{constructor(e,t,i){if(i)return super(i),void(this.apiClient=i);t&&t.headers&&!("User-Agent"in t.headers)&&(t.headers["User-Agent"]="competition-api-client"),super(i=new s.ApiClient(e,t)),this.apiClient=i}create(e,t){return n(this,void 0,void 0,(function*(){var i=yield this.apiClient.post("/v1/competitions",e,t);return this.apiClient.validateResponse(i,200),i.data.id}))}getOne(e,t){return n(this,void 0,void 0,(function*(){var i=yield this.apiClient.get("/v1/competitions/"+e,t);return this.apiClient.validateResponse(i,200),o.Competition.fromJson(i.data)}))}get(e,t){return n(this,void 0,void 0,(function*(){e=e instanceof a.CompetitionFilter?e:a.CompetitionFilter.fromJson(e);var i=yield this.apiClient.get("/v1/competitions"+(e?e.toQueryString():""),t);return this.apiClient.validateResponse(i,200),yield new r.CompetitionPage(i.data.items,i.data.nextPageToken,i.data.prevPageToken)}))}update(e,t,i){return n(this,void 0,void 0,(function*(){delete t.id;var n=yield this.apiClient.patch("/v1/competitions/"+e,t,i);this.apiClient.validateResponse(n,204)}))}delete(e,t){return n(this,void 0,void 0,(function*(){var i=yield this.apiClient.delete("/v1/competitions/"+e,t);this.apiClient.validateResponse(i,204)}))}getCompetitionLimits(e,t){return n(this,void 0,void 0,(function*(){const i=yield this.apiClient.get(`/v1/competitions/${e}/limits`,t);return this.apiClient.validateResponse(i,200),l.CustomCompetitionLimits.fromJson(i.data)}))}updateCompetitionLimits(e,t,i){return n(this,void 0,void 0,(function*(){const n=yield this.apiClient.patch(`/v1/competitions/${e}/limits`,t,i);this.apiClient.validateResponse(n,204)}))}import(e,t,i){return n(this,arguments,void 0,(function*(e,t,i,n=new s.ApiRequestConfig({})){n.headers["Content-Type"]=i;var o=yield this.apiClient.put(`/v1/competition/${e}/import`,t,n);return this.apiClient.validateResponse(o,200),u.ImportStatistics.fromJson(o.data)}))}snapshot(e,t,i){return n(this,void 0,void 0,(function*(){const n="string"==typeof t?{name:t}:{name:null==t?void 0:t.name,description:null==t?void 0:t.description,overwrite:null==t?void 0:t.overwrite},s=yield this.apiClient.put(`/v1/competitions/${e}/snapshot`,n,i);return this.apiClient.validateResponse(s,200),s.data.catalogId}))}}t.CompetitionApiClient=c},,,function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InvitationTemplate=void 0;const n=i(770);class s{constructor(e,t,i){this.subject=e||n.default.MAIL_DEFAULT_SUBJECT,this.text=t||n.default.MAIL_DEFAULT_TEXT,this.html=i||n.default.MAIL_DEFAULT_HTML}static fromJson(e){if(void 0===e)return;let t=new s;return Object.assign(t,e),t}}t.InvitationTemplate=s},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class n{}n.MAIL_DEFAULT_SUBJECT="Invitation from Virginia Cyber Range",n.MAIL_DEFAULT_TEXT="Dear [[user.name]], \n\nWelcome to Virginia Cyber Range. Here is your unique invitation link: [[invitation.link]]. Please follow this link to get started! \n\nSincerely, \nVirginia Cyber Range",n.MAIL_DEFAULT_HTML='<html><body>Dear [[user.name]], <br><br>Welcome to Virginia Cyber Range. Here is your unique invitation link: <a href="[[invitation.link]]" target="_blank">Click here</a>. Please follow this link to get started! <br><br>Sincerely, <br>Virginia Cyber Range</body></html>',n.MAIL_DEFAULT_FROMEMAIL="Virginia Cyber Range <contact@virginiacyberrange.org>",t.default=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.BusinessCategory=void 0,function(e){e.K12="k12",e.COLLEGE="college",e.UNIVERSITY="university",e.COMMERCIAL="commercial",e.GOVERNMENT="government"}(n||(t.BusinessCategory=n={}))},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.InvitationStatus=void 0,function(e){e.PendingApproval="pendingapproval",e.Ready="ready",e.Rejected="rejected"}(n||(t.InvitationStatus=n={}))},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.InvitationOptionKey=void 0,function(e){e.TeacherForum="teacherForum"}(n||(t.InvitationOptionKey=n={}))},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";var n=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(s,o){function r(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.InvitationApiClient=void 0;const s=i(12),o=i(185),r=i(309);t.InvitationApiClient=class{constructor(e,t,i){i?this.apiClient=i:(t&&t.headers&&!("User-Agent"in t.headers)&&(t.headers["User-Agent"]="user-api-client"),this.apiClient=new s.ApiClient(e,t))}resend(e,t){return n(this,void 0,void 0,(function*(){var i=yield this.apiClient.put(`/v1/invitations/${e}/resend`,t);this.apiClient.validateResponse(i,204)}))}approve(e,t){return n(this,void 0,void 0,(function*(){var i=yield this.apiClient.put(`/v1/invitations/${e}/approve`,t);this.apiClient.validateResponse(i,204)}))}reject(e,t){return n(this,void 0,void 0,(function*(){var i=yield this.apiClient.put(`/v1/invitations/${e}/reject`,t);this.apiClient.validateResponse(i,204)}))}add(e,t){return n(this,void 0,void 0,(function*(){var i=yield this.apiClient.post("/v1/invitations",e,t);this.apiClient.validateResponse(i,204)}))}addWithRole(e,t,i){return n(this,void 0,void 0,(function*(){const n=Object.assign(Object.assign({},e),{role:t});var s=yield this.apiClient.post("/v1/invitations",[n],i);this.apiClient.validateResponse(s,204)}))}getOne(e,t){return n(this,void 0,void 0,(function*(){var i=yield this.apiClient.get("/v1/invitations/"+e,t);return this.apiClient.validateResponse(i,200),o.Invitation.fromJson(i.data)}))}getCompetitionInvitations(e,t){return n(this,void 0,void 0,(function*(){let i=yield this.apiClient.get("/v1/invitations"+r.InvitationFilter.toCompetitionOnlyQueryString(e),t);return this.apiClient.validateResponse(i,200),new s.ApiPageResponse({items:i.data.items.map(e=>o.Invitation.fromJson(e)),nextPageToken:i.data.nextPageToken})}))}getCourseInvitations(e,t){return n(this,void 0,void 0,(function*(){let i=yield this.apiClient.get("/v1/invitations"+r.InvitationFilter.toCourseOnlyQueryString(e),t);return this.apiClient.validateResponse(i,200),new s.ApiPageResponse({items:i.data.items.map(e=>o.Invitation.fromJson(e)),nextPageToken:i.data.nextPageToken})}))}get(e,t){return n(this,void 0,void 0,(function*(){var i=yield this.apiClient.get("/v1/invitations"+r.InvitationFilter.toQueryString(e),t);return this.apiClient.validateResponse(i,200),new s.ApiPageResponse({items:i.data.items.map(e=>o.Invitation.fromJson(e)),nextPageToken:i.data.nextPageToken})}))}update(e,t,i){return n(this,void 0,void 0,(function*(){var n=yield this.apiClient.patch("/v1/invitations/"+e,t,i);this.apiClient.validateResponse(n,204)}))}delete(e,t){return n(this,void 0,void 0,(function*(){var i=yield this.apiClient.delete("/v1/invitations/"+e,t);this.apiClient.validateResponse(i,204)}))}}},,,function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OrganizationMembership=void 0;class n{constructor(e){this.organizationId=e.organizationId,this.role=e.role,this.businessCategory=e.businessCategory,this.businessUnit=e.businessUnit,this.businessRegion=e.businessRegion,this.title=e.title,this.createdTimestamp=e.createdTimestamp}static fromJson(e){if(void 0!==e)return new n(e)}}t.OrganizationMembership=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExerciseFilter=void 0;t.ExerciseFilter=class{constructor(e){}toQueryString(){return""}}},function(e,t,i){"use strict";var n=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(s,o){function r(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.CatalogApiClient=void 0;const s=i(12),o=i(62);t.CatalogApiClient=class{constructor(e,t,i){i?this.apiClient=i:(t&&t.headers&&!("User-Agent"in t.headers)&&(t.headers["User-Agent"]="catalog-api-client"),this.apiClient=new s.ApiClient(e,t))}create(e,t){return n(this,void 0,void 0,(function*(){delete e.numberOfVmsWhenProvisioned;var i=yield this.apiClient.post("/v1/catalogs",e,t);return this.apiClient.validateResponse(i,200),e.id=i.data.id,e.id}))}get(e,t){return n(this,void 0,void 0,(function*(){var i=yield this.apiClient.get("/v1/catalogs"+(e?e.toQueryString():""),t);this.apiClient.validateResponse(i,200);let n=[];for(let e of i.data.items)n.push(o.CatalogEntry.fromJson(e));return n}))}getOne(e,t){return n(this,void 0,void 0,(function*(){var i=yield this.apiClient.get("/v1/catalogs/"+e,t);return this.apiClient.validateResponse(i,200),o.CatalogEntry.fromJson(i.data)}))}update(e,t){return n(this,void 0,void 0,(function*(){if(!e||!e.id)throw new Error("Could not update the catalog because the catalog ID is undefined.");let i=e.id,n=Object.assign({},e);delete n.id,delete n.numberOfVmsWhenProvisioned;var s=yield this.apiClient.patch("/v1/catalogs/"+i,n,t);this.apiClient.validateResponse(s,204)}))}delete(e,t){return n(this,void 0,void 0,(function*(){var i=yield this.apiClient.delete("/v1/catalogs/"+e,t);this.apiClient.validateResponse(i,204)}))}getCatalogConfigs(e,t){return n(this,void 0,void 0,(function*(){var i=yield this.apiClient.get(`/v1/catalogs/${e}/configs`,t);return this.apiClient.validateResponse(i,200),i.data}))}}},function(e,t,i){"use strict";var n=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(s,o){function r(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.CatalogFamilyApiClient=void 0;const s=i(12),o=i(326),r=i(327);class a extends s.AutoPagingApiClient{constructor(e,t,i){if(i)return super(i),void(this.apiClient=i);t&&t.headers&&!("User-Agent"in t.headers)&&(t.headers["User-Agent"]="catalog-api-client"),super(i=new s.ApiClient(e,t)),this.apiClient=i}get(e,t){return n(this,void 0,void 0,(function*(){const i=o.CatalogFamilyFilter.toQueryString(e),n=yield this.apiClient.get("/v1/catalog-families"+i,t);return this.apiClient.validateResponse(n,200),n.data.items=n.data.items.map(e=>new r.CatalogFamily(e)),n.data}))}getOne(e,t){return n(this,void 0,void 0,(function*(){const i=yield this.apiClient.get("/v1/catalog-families/"+e,t);return this.apiClient.validateResponse(i,200),new r.CatalogFamily(i.data)}))}addOwner(e,t,i){return n(this,void 0,void 0,(function*(){const n=yield this.apiClient.put(`/v1/catalog-family/${e}/owner/${t}`,i);this.apiClient.validateResponse(n,204)}))}delete(e,t){return n(this,void 0,void 0,(function*(){const i=yield this.apiClient.delete("/v1/catalog-family/"+e,t);this.apiClient.validateResponse(i,204)}))}update(e,t){return n(this,void 0,void 0,(function*(){if(!e||!e.id)throw new Error("Could not update the catalogFamily because the catalogFamily ID is undefined.");let i=e.id,n=Object.assign({},e);delete n.id;var s=yield this.apiClient.patch("/v1/catalog-family/"+i,n,t);this.apiClient.validateResponse(s,204)}))}}t.CatalogFamilyApiClient=a},function(e,t,i){"use strict";var n=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(s,o){function r(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.CatalogFamilySearchApiClient=void 0;const s=i(12),o=i(328);t.CatalogFamilySearchApiClient=class{constructor(e,t,i){i||(t&&t.headers&&!("User-Agent"in t.headers)&&(t.headers["User-Agent"]="catalog-api-client"),i=new s.ApiClient(e,t)),this.apiClient=i}search(e,t){return n(this,void 0,void 0,(function*(){const i=o.CatalogFamilySearchFilter.toQueryString(e),n=yield this.apiClient.get("/v1/search"+i,t);return this.apiClient.validateResponse(n,200),n.data}))}searchAll(e,t){return n(this,void 0,void 0,(function*(){let i=[];e=new o.CatalogFamilySearchFilter(e);const n=yield this.search(e,t);i.push(...n.items);let s=n.nextPageToken;for(;s;){const e=yield this.apiClient.get("/v1/search"+s,t);this.apiClient.validateResponse(e,200),i.push(...e.data.items),s=e.data.nextPageToken}return i}))}}},function(e,t,i){"use strict";var n=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(s,o){function r(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.CatalogFamilyAccessApiClient=void 0;const s=i(12),o=i(329),r=i(330);t.CatalogFamilyAccessApiClient=class{constructor(e,t,i){i?this.apiClient=i:(t&&t.headers&&!("User-Agent"in t.headers)&&(t.headers["User-Agent"]="catalog-api-client"),this.apiClient=new s.ApiClient(e,t))}create(e,t,i,s){return n(this,void 0,void 0,(function*(){var n=yield this.apiClient.post("/v1/catalog-family-accesses",{catalogFamilyId:e,accessType:t,recipients:i},s);this.apiClient.validateResponse(n,204)}))}getCatalogFamilyAccesses(e,t,i){return n(this,void 0,void 0,(function*(){const n=o.CatalogFamilyAccessFilter.toQueryString(t),s=yield this.apiClient.get(`/v1/catalog-family/${e}/catalog-family-accesses${n}`,i);return this.apiClient.validateResponse(s,200),s.data.items=s.data.items.map(e=>new r.CatalogFamilyAccess(e)),s.data}))}accept(e,t,i){return n(this,void 0,void 0,(function*(){const n=yield this.apiClient.put(`/v1/catalog-family-access/${e}/accept`,{organizationId:t},i);return this.apiClient.validateResponse(n,200),n.data.catalogId}))}delete(e,t){return n(this,void 0,void 0,(function*(){const i=yield this.apiClient.delete("/v1/catalog-family-access/"+e,t);this.apiClient.validateResponse(i,204)}))}getOne(e,t){return n(this,void 0,void 0,(function*(){const i=yield this.apiClient.get("/v1/catalog-family-access/"+e,t);return this.apiClient.validateResponse(i,200),new r.CatalogFamilyAccess(i.data)}))}removeMyAccess(e,t){return n(this,void 0,void 0,(function*(){const i=yield this.apiClient.put(`/v1/catalog-family/${e}/remove-my-access`,void 0,t);this.apiClient.validateResponse(i,204)}))}reShare(e,t){return n(this,void 0,void 0,(function*(){const i=yield this.apiClient.put(`/v1/catalog-family-access/${e}/reshare`,void 0,t);this.apiClient.validateResponse(i,204)}))}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CatalogConfig=void 0;class n{constructor(e){this.reachability=null==e?void 0:e.reachability,this.osType=null==e?void 0:e.osType,this.shell=e.shell,this.defaultUserPasswordHash=null==e?void 0:e.defaultUserPasswordHash}static fromJson(e){return e?new n(e):void 0}}t.CatalogConfig=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CatalogEntry=void 0;const n=i(331),s=i(332),o=i(334),r=i(790),a=i(335),l=i(336);class u{constructor(e){this.id=e}static fromJson(e){if(void 0===e)return;let t=Object.assign(new u,e);if("recipes"in e&&void 0!==e.recipes){t.recipes=[];for(let i of e.recipes)t.recipes.push(n.Recipe.fromJson(i))}if("recipeParameters"in e&&void 0!==e.recipeParameters){t.recipeParameters=[];for(let i of e.recipeParameters)t.recipeParameters.push(s.RecipeParameter.fromJson(i))}if("instructions"in e&&void 0!==e.instructions){t.instructions=[];for(let i of e.instructions)t.instructions.push(o.Instruction.fromJson(i))}if("credentials"in e&&void 0!==e.credentials){t.credentials=[];for(let i of e.credentials)t.credentials.push(r.Credential.fromJson(i))}if("notes"in e&&void 0!==e.notes){t.notes=[];for(let i of e.notes)t.notes.push(a.Note.fromJson(i))}return e.features&&(t.features=e.features.map(e=>l.Feature.fromJson(e))),t}}t.CatalogEntry=u},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Credential=void 0;class n{constructor(e,t){this.username=e,this.password=t}static fromJson(e){if(void 0!==e)return Object.assign(new n,e)}}t.Credential=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CatalogFilter=void 0;t.CatalogFilter=class{constructor(e,t,i,n){this.enabled=e,this.organizationId=t,this.userId=i,n&&(this.fields=Array.isArray(n)?n:[n])}toQueryString(){var e;let t=[];return void 0!==this.organizationId&&t.push("organizationid="+this.organizationId),void 0!==this.userId&&t.push("userid="+this.userId),void 0!==this.enabled&&t.push("enabled="+this.enabled),(null===(e=this.fields)||void 0===e?void 0:e.length)>0&&t.push(this.fields.map(e=>"field="+e).join("&")),0===t.length?"":"?"+t.join("&")}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FamilyRecipeParameter=void 0;class n{constructor(e){this.id=null==e?void 0:e.id,this.name=null==e?void 0:e.name,this.default=null==e?void 0:e.default,this.options=null==e?void 0:e.options,this.type=null==e?void 0:e.type,this.when=null==e?void 0:e.when}static fromJson(e){if(void 0!==e)return new n(e)}}t.FamilyRecipeParameter=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RecipeParameterValue=void 0;class n{constructor(e,t){this.id=e,this.value=t}static fromJson(e){if(void 0!==e)return Object.assign(new n,e)}}t.RecipeParameterValue=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CatalogMetadata=void 0;t.CatalogMetadata=class{constructor(e){this.family=null==e?void 0:e.family,this.version=null==e?void 0:e.version,this.variations=null==e?void 0:e.variations,this.release=null==e?void 0:e.release,this.logo=null==e?void 0:e.logo,this.tags=null==e?void 0:e.tags,this.configuration=null==e?void 0:e.configuration,this.lessonPrefix=null==e?void 0:e.lessonPrefix}}},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.AccessPointFeature=void 0,function(e){e.FileTransfer="FILETRANSFER",e.AutoLogin="AUTOLOGIN",e.AllowAudio="ALLOWAUDIO",e.GuacamoleGlyphEnabled="GUACAMOLE_GLYPH_ENABLED"}(n||(t.AccessPointFeature=n={}))},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.AccessPointType=void 0,function(e){e.Ssh="ssh",e.Rdp="rdp"}(n||(t.AccessPointType=n={}))},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.CatalogRecipeItemParameterProperty=void 0,function(e){e.Network="network",e.ProxyAccess="proxyaccess",e.ImageId="imageid",e.VolumeSize="volumesize",e.InstanceType="instancetype",e.FileTransfer="filetransfer",e.AllowAudio="allowaudio",e.AutoLogin="autologin",e.RandomizePassword="randomizepassword",e.GuacamoleGlyphsRequired="glyphsrequired",e.ResizeMethod="resizemethod",e.PrimaryHostname="primaryhostname",e.AdditionalHostnames="additionalhostnames",e.SshAccess="sshaccess",e.RdpAccess="rdpaccess",e.PrewarmMinute="prewarmminutes",e.FirstBootHealthCheckPort="firstboothealthcheckport",e.VolumePrewarmEnabled="volumeprewarmenabled",e.RdpPrewarmEnabled="rdpprewarmenabled",e.Username="username",e.Password="password",e.DnsDisplayName="dnsdisplayname",e.DomainLoginCapable="domainlogincapable"}(n||(t.CatalogRecipeItemParameterProperty=n={}))},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.DnsScope=void 0,function(e){e.Exercise="exercise",e.Group="group"}(n||(t.DnsScope=n={}))},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.catalogEntryStatus=void 0,function(e){e.PENDING="pending",e.PENDING_COPYING="pending_copying",e.PENDING_IMAGING="pending_imaging",e.PENDING_REPLICATING="pending_replicating",e.READY="ready",e.ERROR="error"}(n||(t.catalogEntryStatus=n={}))},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.NoteType=void 0,function(e){e.INFO="info",e.WARNING="warning",e.ERROR="error"}(n||(t.NoteType=n={}))},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.FeatureType=void 0,function(e){e.Accessibility="accessibility",e.Internal="internal",e.Control="control"}(n||(t.FeatureType=n={}))},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.RecipeItemType=void 0,function(e){e.CtfCompetition="ctf_competition",e.TeamVirtualMachine="team_virtual_machine",e.TeamSubnet="team_subnet",e.TeamFirewall="team_firewall",e.GroupSubnet="group_subnet"}(n||(t.RecipeItemType=n={}))},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.RecipeParameterType=void 0,function(e){e.MANDATORY="mandatory",e.OPTIONAL="optional",e.SINGLE="single",e.MULTIPLE="multiple",e.CHECKBOX="checkbox"}(n||(t.RecipeParameterType=n={}))},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.ResizeMethod=void 0,function(e){e.Default="default",e.DisplayUpdate="display-update",e.Reconnect="reconnect"}(n||(t.ResizeMethod=n={}))},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.CatalogMetadataVariation=void 0,function(e){e.Terminal="terminal",e.Desktop="desktop",e.Tools="tools"}(n||(t.CatalogMetadataVariation=n={}))},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.CatalogRecipeParameterId=void 0,function(e){e.AllowDomainLogin="allowdomainlogin",e.DnsDisplayNames="dnsdisplaynames",e.DnsDisplayHostnames="dnsdisplayhostnames",e.DnsScope="dnsscope",e.LabId="labid",e.LabName="labname",e.LabCoursewarePath="labcoursewarepath"}(n||(t.CatalogRecipeParameterId=n={}))},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.CatalogFamilyMetadataTag=void 0,function(e){e.EnvironmentTypesSnapshot="environmentTypes:snapshot",e.EnvironmentTypesChallengeEnvironment="environmentTypes:challenge_environment",e.EnvironmentTypesCtf="environmentTypes:ctf"}(n||(t.CatalogFamilyMetadataTag=n={}))},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.CatalogMetadataTagKey=void 0,function(e){e.EnvironmentTypes="environmentTypes"}(n||(t.CatalogMetadataTagKey=n={}))},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.CatalogMetadataTagValue=void 0,function(e){e.ChallengeEnvironment="challenge_environment",e.Ctf="ctf"}(n||(t.CatalogMetadataTagValue=n={}))},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.CatalogFamilySortBy=void 0,function(e){e.Version="version",e.Name="name",e.UserName="username",e.OrganizationName="organizationname"}(n||(t.CatalogFamilySortBy=n={}))},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.Provider=void 0,function(e){e.Aws="aws"}(n||(t.Provider=n={}))},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.CatalogFamilyAccessSortBy=void 0,function(e){e.Name="name",e.Email="email",e.AccessType="accesstype",e.Version="version",e.AccessStartedTimestamp="accessstartedtimestamp"}(n||(t.CatalogFamilyAccessSortBy=n={}))},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.CatalogFamilyAccessType=void 0,function(e){e.Owned="owned",e.Linked="linked",e.Copied="copied"}(n||(t.CatalogFamilyAccessType=n={}))},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.CatalogFamilyAccessVersion=void 0,function(e){e.Latest="latest"}(n||(t.CatalogFamilyAccessVersion=n={}))},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.UserRole=void 0,function(e){e.Admin="admin",e.DemoInstructor="demoinstructor",e.Instructor="instructor",e.Student="student",e.TA="ta",e.SuperAdmin="superadmin",e.BillingAdmin="billingadmin",e.OrganizationAdmin="organizationadmin",e.CourseAdmin="courseadmin",e.OrganizationDemoInstructor="organizationdemoinstructor",e.OrganizationInstructor="organizationinstructor",e.OrganizationStudent="organizationstudent",e.OrganizationTA="organizationta",e.CourseRequester="courserequester",e.CoursewareAdmin="coursewareadmin",e.CoursewareAssistant="coursewareassistant",e.CtfAdmin="ctfadmin",e.CtfPlayer="ctfplayer"}(n||(t.UserRole=n={}))},function(e,t,i){"use strict";var n=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(s,o){function r(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.UserApiClient=void 0;const s=i(188),o=i(12),r=i(311),a=i(339),l=i(321),u=i(319),c=i(340),d=i(320),_=i(323),v=i(341),p=i(187),h=i(22),f=i(342),m=i(190),C=i(343),g=i(344),y=i(857),E=i(354);t.UserApiClient=class{constructor(e,t,i){i?this.apiClient=i:(t&&t.headers&&!("User-Agent"in t.headers)&&(t.headers["User-Agent"]="user-api-client"),this.apiClient=new o.ApiClient(e,t))}createUserByInvitation(e,t){return n(this,void 0,void 0,(function*(){var i=yield this.apiClient.post("/v1/users",{invitationId:e},t);this.apiClient.validateResponse(i,204)}))}createUserByCourseCode(e,t){return n(this,void 0,void 0,(function*(){var i=yield this.apiClient.post("/v1/users",{courseCode:e},t);this.apiClient.validateResponse(i,204)}))}createUserByCtfCompetitionSubdomain(e,t){return n(this,void 0,void 0,(function*(){var i=yield this.apiClient.post("/v1/users",{ctfCompetitionSubdomain:e},t);this.apiClient.validateResponse(i,204)}))}createUserByLtiToken(e,t){return n(this,void 0,void 0,(function*(){var i=yield this.apiClient.post("/v1/users",{ltiToken:e},t);this.apiClient.validateResponse(i,204)}))}createUserByCredential(e,t){return n(this,void 0,void 0,(function*(){var i=yield this.apiClient.post("/v1/users",{credentialId:e},t);this.apiClient.validateResponse(i,204)}))}getUser(e,t){return n(this,void 0,void 0,(function*(){var i=yield this.apiClient.get("/v1/users/"+e,t);return this.apiClient.validateResponse(i,200),s.User.fromJson(i.data)}))}getCurrentUser(e){return n(this,void 0,void 0,(function*(){var t=yield this.apiClient.get("/v1/users/me",e);return this.apiClient.validateResponse(t,200),s.User.fromJson(t.data)}))}listUsers(e,t){return n(this,void 0,void 0,(function*(){let i=e?v.UserFilter.toQueryString(e):"";var n=yield this.apiClient.get("/v2/users"+i,t);this.apiClient.validateResponse(n,200);let r=[];for(let e of n.data.items)r.push(s.User.fromJson(e));return new o.ApiPageResponse({items:r,nextPageToken:n.data.nextPageToken})}))}listAllUsers(){return n(this,arguments,void 0,(function*(e=new v.UserFilter,t){let i;delete e.token,delete e.limit;const n=[];do{i=yield this.listUsers(e,t),n.push(...i.items),e.token=i.nextPageToken}while(e.token);return n}))}updateUser(e,t){return n(this,void 0,void 0,(function*(){let i=Object.assign({},e);delete i.id;var n=yield this.apiClient.patch("/v1/users/"+e.id,i,t);this.apiClient.validateResponse(n,204)}))}updateUserRoles(e,t,i){return n(this,void 0,void 0,(function*(){var n=yield this.apiClient.patch("/v1/users/"+e,{roles:t},i);this.apiClient.validateResponse(n,204)}))}createCourse(e,t){return n(this,void 0,void 0,(function*(){var i=yield this.apiClient.post("/v1/courses",e,t);return this.apiClient.validateResponse(i,200),e.id=i.data.id,y.CreateCourseResponse.fromJson(i.data)}))}approveCourse(e,t){return n(this,void 0,void 0,(function*(){var i=yield this.apiClient.put(`/v1/courses/${e}/approve`,void 0,t);this.apiClient.validateResponse(i,204)}))}rejectCourse(e,t){return n(this,void 0,void 0,(function*(){var i=yield this.apiClient.put(`/v1/courses/${e}/reject`,void 0,t);this.apiClient.validateResponse(i,204)}))}createCourseCode(e){return n(this,arguments,void 0,(function*(e,t={reservedEnrollments:!1},i){var n=yield this.apiClient.put(`/v1/courses/${e}/code`,t,i);return this.apiClient.validateResponse(n,200),p.CourseCode.fromJson(n.data)}))}getCourseCode(e,t){return n(this,void 0,void 0,(function*(){var i=yield this.apiClient.get("/v1/course-codes/"+e,t);return this.apiClient.validateResponse(i,200),p.CourseCode.fromJson(i.data)}))}deleteCourseCode(e,t){return n(this,void 0,void 0,(function*(){var i=yield this.apiClient.delete(`/v1/courses/${e}/code`,t);this.apiClient.validateResponse(i,204)}))}getCourses(e,t){return n(this,void 0,void 0,(function*(){let i=yield this.apiClient.get("/v3/courses"+(e?u.CourseFilter.toQueryString(e):""),t);return this.apiClient.validateResponse(i,200),i.data.items=i.data.items.map(e=>r.Course.fromJson(e)),new o.ApiPageResponse(i.data)}))}getAllCourses(e,t){return n(this,void 0,void 0,(function*(){e||(e=new u.CourseFilter);let i=[];do{let n=yield this.getCourses(e,t);i.push(...n.items),e.token=n.nextPageToken}while(e.token);return i}))}getCourse(e,t){return n(this,void 0,void 0,(function*(){var i=yield this.apiClient.get("/v1/courses/"+e,t);return this.apiClient.validateResponse(i,200),r.Course.fromJson(i.data)}))}updateCourseStatistics(e,t){return n(this,void 0,void 0,(function*(){var i=yield this.apiClient.put(`/v1/courses/${e}/statistics`,void 0,t);this.apiClient.validateResponse(i,200)}))}updateCourse(e,t){return n(this,void 0,void 0,(function*(){let i=Object.assign({},e);delete i.id;var n=yield this.apiClient.patch("/v1/courses/"+e.id,i,t);this.apiClient.validateResponse(n,204)}))}updateCourseUserRoles(e,t,i,s){return n(this,void 0,void 0,(function*(){var n=yield this.apiClient.patch(`/v1/users/${e}/courses/${t}/roles`,i,s);this.apiClient.validateResponse(n,204)}))}requestCourseSupport(e,t,i,s){return n(this,void 0,void 0,(function*(){var n=yield this.apiClient.post(`/v1/courses/${e}/support`,{subject:t,body:i},s);this.apiClient.validateResponse(n,200);let o=[];for(let e of n.data)o.push(h.SupportRecipient.fromJson(e));return o}))}deleteCourse(e,t){return n(this,void 0,void 0,(function*(){var i=yield this.apiClient.delete("/v1/courses/"+e,t);this.apiClient.validateResponse(i,204)}))}addCourseUser(e,t,i,s){return n(this,void 0,void 0,(function*(){const n=yield this.apiClient.put(`/v1/courses/${e}/users/${t}/roles/${i}`,void 0,s);this.apiClient.validateResponse(n,204)}))}getCourseUsers(e,t,i){return n(this,void 0,void 0,(function*(){const n=t?f.CourseUserFilter.toQueryString(t):"";var s=yield this.apiClient.get(`/v2/courses/${e}/users`+n,i);return this.apiClient.validateResponse(s,200),s.data.items=s.data.items.map(e=>d.CourseUser.fromJson(e)),new o.ApiPageResponse(s.data)}))}getAllCourseUsers(e){return n(this,arguments,void 0,(function*(e,t=new f.CourseUserFilter,i){let n;delete t.token,delete t.limit;const s=[];do{n=yield this.getCourseUsers(e,t,i),s.push(...n.items),t.token=n.nextPageToken}while(t.token);return s}))}deleteCourseUser(e,t,i){return n(this,void 0,void 0,(function*(){var n=yield this.apiClient.delete(`/v1/courses/${e}/users/${t}`,i);this.apiClient.validateResponse(n,204)}))}getCourseTeams(e,t,i){return n(this,void 0,void 0,(function*(){let n=new c.TeamFilter(t),s=yield this.apiClient.get(`/v2/courses/${e}/teams${n.toQueryString()}`,i);return this.apiClient.validateResponse(s,200),new o.ApiPageResponse(s.data)}))}getAllCourseTeams(e){return n(this,arguments,void 0,(function*(e,t=new c.TeamFilter,i){let n=[];do{let s=yield this.getCourseTeams(e,t,i);n.push(...s.items.map(e=>a.Team.fromJson(e))),t.token=s.nextPageToken}while(t.token);return n}))}transferCourseTeam(e,t,i,s,o){return n(this,void 0,void 0,(function*(){let n=[{userId:s,fromTeamId:i}];var r=yield this.apiClient.patch(`/v1/courses/${e}/teams/${t}/transfer`,n,o);this.apiClient.validateResponse(r,204)}))}getCourseTeam(e,t,i){return n(this,void 0,void 0,(function*(){var n=yield this.apiClient.get(`/v1/courses/${e}/teams/${t}`,i);return this.apiClient.validateResponse(n,200),a.Team.fromJson(n.data)}))}updateCourseTeam(e,t,i,s){return n(this,void 0,void 0,(function*(){let n=Object.assign({},i);delete n.id;var o=yield this.apiClient.patch(`/v1/courses/${e}/teams/${t}`,n,s);this.apiClient.validateResponse(o,204)}))}deleteCourseTeam(e,t,i){return n(this,void 0,void 0,(function*(){var n=yield this.apiClient.delete(`/v1/courses/${e}/teams/${t}`,i);this.apiClient.validateResponse(n,204)}))}createCourseTeam(e,t,i){return n(this,void 0,void 0,(function*(){var n=yield this.apiClient.post(`/v1/courses/${e}/teams`,t,i);return this.apiClient.validateResponse(n,200),n.data.id}))}createCourseExerciseGroup(e,t,i){return n(this,void 0,void 0,(function*(){var n=yield this.apiClient.post(`/v1/courses/${e}/exercise-groups`,t,i);return this.apiClient.validateResponse(n,200),t.id=n.data.id,t.id}))}getCourseExerciseGroups(e,t){return n(this,void 0,void 0,(function*(){var i=yield this.apiClient.get(`/v2/courses/${e.courseId}/exercise-groups${m.ExerciseGroupFilter.toQueryString(e)}`,t);return this.apiClient.validateResponse(i,200),i.data.items.map(e=>_.ExerciseGroup.fromJson(e)),new o.ApiPageResponse(i.data)}))}getAllCourseExerciseGroups(e,t){return n(this,void 0,void 0,(function*(){e||(e=new m.ExerciseGroupFilter);let i=[];do{let n=yield this.getCourseExerciseGroups(e,t);i.push(...n.items),e.token=n.nextPageToken}while(e.token);return i}))}getCourseExerciseGroup(e,t,i){return n(this,void 0,void 0,(function*(){var n=yield this.apiClient.get(`/v1/courses/${e}/exercise-groups/${t}`,i);return this.apiClient.validateResponse(n,200),_.ExerciseGroup.fromJson(n.data)}))}getCourseExerciseGroupExercises(e,t,i){return n(this,void 0,void 0,(function*(){var n=yield this.apiClient.get(`/v1/courses/${e}/exercise-groups/${t}/exercises`,i);this.apiClient.validateResponse(n,200);let s=[];for(let e of n.data.items)s.push(l.Exercise.fromJson(e));return s}))}updateCourseExerciseGroup(e,t,i,s){return n(this,void 0,void 0,(function*(){let n=Object.assign({},i);delete n.id;var o=yield this.apiClient.patch(`/v1/courses/${e}/exercise-groups/${t}`,n,s);this.apiClient.validateResponse(o,204)}))}deleteCourseExerciseGroup(e,t,i){return n(this,void 0,void 0,(function*(){var n=yield this.apiClient.delete(`/v1/courses/${e}/exercise-groups/${t}`,i);this.apiClient.validateResponse(n,204)}))}listOrganizationUsers(e,t,i){return n(this,void 0,void 0,(function*(){let n=t?h.OrganizationUserFilter.toQueryString(t):"";var s=yield this.apiClient.get(`/v1/organizations/${e}/users`+n,i);this.apiClient.validateResponse(s,200);let r=[];for(let e of s.data.items)r.push(h.OrganizationUser.fromJson(e));return new o.ApiPageResponse({items:r,nextPageToken:s.data.nextPageToken,prevPageToken:s.data.prevPageToken})}))}removeUserFromOrganization(e,t,i){return n(this,void 0,void 0,(function*(){var n=yield this.apiClient.put(`/v1/users/${e}/organizations/${t}/remove`,void 0,i);this.apiClient.validateResponse(n,204)}))}removeUserFromCompetition(e,t,i){return n(this,void 0,void 0,(function*(){var n=yield this.apiClient.put(`/v1/users/${e}/competitions/${t}/remove`,void 0,i);this.apiClient.validateResponse(n,204)}))}updateOrganizationUserRoles(e,t,i,s){return n(this,void 0,void 0,(function*(){var n=yield this.apiClient.patch(`/v1/users/${e}/organizations/${t}/roles`,i,s);this.apiClient.validateResponse(n,204)}))}updateCompetitionUserRoles(e,t,i,s){return n(this,void 0,void 0,(function*(){var n=yield this.apiClient.patch(`/v1/users/${e}/competitions/${t}/roles`,i,s);this.apiClient.validateResponse(n,204)}))}createCourseApplication(e,t,i){return n(this,void 0,void 0,(function*(){const n=yield this.apiClient.post(`/v1/courses/${e}/applications`,C.CourseApplication.fromJson(t),i);return this.apiClient.validateResponse(n,200),t.id=n.data.id,n.data.id}))}getCourseApplication(e,t,i){return n(this,void 0,void 0,(function*(){if(e){const n=yield this.apiClient.get(`/v1/courses/${e}/applications/${t}`,i);return this.apiClient.validateResponse(n,200),C.CourseApplication.fromJson(n.data)}{const e=yield this.apiClient.get("/v1/course-applications/"+t,i);return this.apiClient.validateResponse(e,200),C.CourseApplication.fromJson(e.data)}}))}getCourseApplications(e,t){return n(this,void 0,void 0,(function*(){if(null==e?void 0:e.courseId){const i=yield this.apiClient.get(`/v1/courses/${e.courseId}/applications${g.CourseApplicationFilter.toQueryString(e)}`,t);return this.apiClient.validateResponse(i,200),new o.ApiPageResponse(i.data)}{const i=yield this.apiClient.get("/v1/course-applications"+g.CourseApplicationFilter.toQueryString(e),t);return this.apiClient.validateResponse(i,200),new o.ApiPageResponse(i.data)}}))}getAllCourseApplications(){return n(this,arguments,void 0,(function*(e=new g.CourseApplicationFilter,t){const i=[];do{const n=yield this.getCourseApplications(e,t);i.push(...n.items),e.token=n.nextPageToken}while(e.token);return i}))}updateCourseApplication(e,t,i,s){return n(this,void 0,void 0,(function*(){let n=Object.assign({},i);delete n.id,delete n.courseId,delete n.organizationId,delete n.type,delete n.createdTimestamp,delete n.modifiedTimestamp;const o=yield this.apiClient.patch(`/v1/courses/${e}/applications/${t}`,n,s);this.apiClient.validateResponse(o,204)}))}deleteCourseApplication(e,t,i){return n(this,void 0,void 0,(function*(){const n=yield this.apiClient.delete(`/v1/courses/${e}/applications/${t}`,i);this.apiClient.validateResponse(n,204)}))}updateCourseExerciseGroupFeature(e,t,i,s,o){return n(this,void 0,void 0,(function*(){const n=yield this.apiClient.patch(`/v1/courses/${e}/exercise-groups/${t}/features/${i}`,{status:s.status},o);this.apiClient.validateResponse(n,204)}))}listExerciseGroups(e,t){return n(this,void 0,void 0,(function*(){const i=yield this.apiClient.get("/v1/exercise-groups"+E.SortableExerciseGroupFilter.toQueryString(e),t);return this.apiClient.validateResponse(i,200),new o.ApiPageResponse(i.data)}))}getExerciseGroup(e,t){return n(this,void 0,void 0,(function*(){const i=yield this.apiClient.get("/v1/exercise-groups/"+e,t);return this.apiClient.validateResponse(i,200),_.ExerciseGroup.fromJson(i.data)}))}listAllExerciseGroups(e,t){return n(this,void 0,void 0,(function*(){const i=new E.SortableExerciseGroupFilter(e),n=[];do{const e=yield this.apiClient.get("/v1/exercise-groups"+E.SortableExerciseGroupFilter.toQueryString(i),t);this.apiClient.validateResponse(e,200),i.token=e.data.nextPageToken,n.push(...e.data.items)}while(i.token);return n}))}addNotesToExerciseGroup(e,t,i){return n(this,void 0,void 0,(function*(){const n=yield this.apiClient.post(`/v1/exercise-group/${e}/note`,t,i);return this.apiClient.validateResponse(n,200),n.data}))}removeNoteFromExerciseGroup(e,t,i){return n(this,void 0,void 0,(function*(){var n=yield this.apiClient.delete(`/v1/exercise-group/${e}/note/${t}`,i);this.apiClient.validateResponse(n,204)}))}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CreateCourseResponse=void 0;const n=i(63);class s{constructor(e){this.id=null==e?void 0:e.id,this.price=n.Price.fromJson(null==e?void 0:e.price)}static fromJson(e){return e?new s(e):void 0}}t.CreateCourseResponse=s},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.PaymentProvider=void 0,function(e){e.Nelnet="nelnet"}(n||(t.PaymentProvider=n={}))},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.TransactionStatus=void 0,function(e){e.Successful="successful",e.Failed="failed"}(n||(t.TransactionStatus=n={}))},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.TransactionType=void 0,function(e){e.Payment="payment",e.Refund="refund"}(n||(t.TransactionType=n={}))},function(e,t,i){"use strict";var n=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(s,o){function r(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.PaymentApiClient=void 0;const s=i(12),o=i(345),r=i(347),a=i(348);class l extends s.AutoPagingApiClient{constructor(e,t,i){i||(t&&t.headers&&!("User-Agent"in t.headers)&&(t.headers["User-Agent"]="payment-api-client"),i=new s.ApiClient(e,t)),super(i)}getOne(e,t){return n(this,void 0,void 0,(function*(){const i=yield this.apiClient.get("/v1/payments/"+e,t);return this.apiClient.validateResponse(i,200),o.Payment.fromJson(i.data)}))}get(e,t){return n(this,void 0,void 0,(function*(){const i=e instanceof a.PaymentFilter?e:new a.PaymentFilter(e),n=yield this.apiClient.get("/v1/payments"+i.toQueryString(),t);return this.apiClient.validateResponse(n,200),new s.ApiPageResponse(n.data)}))}chargeback(e,t){return n(this,void 0,void 0,(function*(){const i=yield this.apiClient.put(`/v1/payments/${e}/chargeback`,t);this.apiClient.validateResponse(i,204)}))}refund(e,t){return n(this,void 0,void 0,(function*(){const i=yield this.apiClient.put(`/v1/payments/${e}/refund`,t);this.apiClient.validateResponse(i,204)}))}delete(e,t,i){return n(this,void 0,void 0,(function*(){const n=t instanceof r.PaymentDeleteFilter?t:new r.PaymentDeleteFilter(t),s=yield this.apiClient.delete("/v1/payments/"+e+n.toQueryString(),i);this.apiClient.validateResponse(s,204)}))}}t.PaymentApiClient=l},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.Currency=void 0,function(e){e.USD="usd"}(n||(t.Currency=n={}))},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.VendibleStatus=void 0,function(e){e.Ready="ready",e.Deleted="deleted"}(n||(t.VendibleStatus=n={}))},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.VendibleType=void 0,function(e){e.CourseEnrollment="courseenrollment",e.OrganizationBalance="organizationbalance"}(n||(t.VendibleType=n={}))},function(e,t,i){"use strict";var n=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(s,o){function r(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.VendibleApiClient=void 0;const s=i(12),o=i(349),r=i(351),a=i(352),l=i(353);class u extends s.AutoPagingApiClient{constructor(e,t,i){i||(t&&t.headers&&!("User-Agent"in t.headers)&&(t.headers["User-Agent"]="vendible-api-client"),i=new s.ApiClient(e,t)),super(i)}create(e,t){return n(this,void 0,void 0,(function*(){const i=yield this.apiClient.post("/v1/vendibles",e,t);return this.apiClient.validateResponse(i,200),i.data.id}))}getOne(e,t){return n(this,void 0,void 0,(function*(){const i=yield this.apiClient.get("/v1/vendibles/"+e,t);return this.apiClient.validateResponse(i,200),r.Vendible.fromJson(i.data)}))}getPaymentUrl(e,t){return n(this,void 0,void 0,(function*(){const i=yield this.apiClient.put(`/v1/vendibles/${e}/payment-url`,t);return this.apiClient.validateResponse(i,200),o.PaymentUrl.fromJson(i.data)}))}getAmountDue(e,t){return n(this,void 0,void 0,(function*(){const i=yield this.apiClient.get(`/v1/vendibles/${e}/due`,t);return this.apiClient.validateResponse(i,200),{vendible:r.Vendible.fromJson(i.data.vendible),amount:i.data.amount}}))}get(e,t){return n(this,void 0,void 0,(function*(){const i=e instanceof l.VendibleFilter?e:new l.VendibleFilter(e),n=yield this.apiClient.get("/v1/vendibles"+i.toQueryString(),t);return this.apiClient.validateResponse(n,200),new s.ApiPageResponse(n.data)}))}delete(e,t,i){return n(this,void 0,void 0,(function*(){const n=t instanceof a.VendibleDeleteFilter?t:new a.VendibleDeleteFilter(t),s=yield this.apiClient.delete("/v1/vendibles/"+e+n.toQueryString(),i);this.apiClient.validateResponse(s,204)}))}createOrganizationVendible(e,t,i){return n(this,void 0,void 0,(function*(){const n=yield this.apiClient.post(`/v1/organizations/${e}/vendible`,{price:t},i);return this.apiClient.validateResponse(n,200),o.PaymentUrl.fromJson(null==n?void 0:n.data)}))}}t.VendibleApiClient=u},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.UserStatus=void 0,function(e){e.Ready="ready",e.Pending="pending",e.PendingApproval="pendingapproval",e.PendingDeleting="pending_deleting"}(n||(t.UserStatus=n={}))},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SupportRecipient=void 0;class n{constructor(e,t,i){this.role=e,this.email=t,this.name=i}static fromJson(e){if(void 0!==e)return Object.assign(new n,e)}}t.SupportRecipient=n},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.CourseStatus=void 0,function(e){e.Ready="ready",e.PendingApproval="pendingapproval",e.Rejected="rejected",e.Pending_Deleting="pending_deleting",e.Deleting="deleting",e.Error="error"}(n||(t.CourseStatus=n={}))},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.TeamStatus=void 0,function(e){e.READY="ready",e.PENDING="pending",e.DELETING="deleting",e.ERROR="error"}(n||(t.TeamStatus=n={}))},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.ExerciseGroupStatus=void 0,function(e){e.READY="ready",e.PENDING_CREATING="pending_creating",e.CREATING="creating",e.PENDING="pending",e.PENDING_DELETING="pending_deleting",e.DELETING="deleting",e.ERROR="error"}(n||(t.ExerciseGroupStatus=n={}))},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UserBusinessUnit=void 0;class n{constructor(e,t,i,n,s,o){this.id=e,this.name=t,this.title=i,this.organizationId=n,this.region=s,this.category=o}static fromJson(e){if(e)return new n(e.id,e.name,e.title,e.organizationId,e.region,e.category)}static fromUserResource(e){if(e)return new n(e.businessUnitId,e.businessUnit,e.title,e.id,e.businessRegion,e.businessCategory)}}t.UserBusinessUnit=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.FeatureType=void 0,function(e){e.Accessibility="accessibility",e.Control="control"}(n||(t.FeatureType=n={}))},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.FeatureStatus=void 0,function(e){e.PendingDisabled="pending_disabled",e.PendingEnabled="pending_enabled",e.Enabled="enabled",e.Disabled="disabled"}(n||(t.FeatureStatus=n={}))},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.FeatureId=void 0,function(e){e.AllowPool="allow_pool",e.InterTeamConnectivityControl="inter_team_connectivity_control"}(n||(t.FeatureId=n={}))},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.CourseApplicationType=void 0,function(e){e.Lti13="lti13"}(n||(t.CourseApplicationType=n={}))},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.ExerciseGroupStateId=void 0,function(e){e.GroupNetworkLocation="groupnetworklocation"}(n||(t.ExerciseGroupStateId=n={}))},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ReservedEnrollments=void 0;t.ReservedEnrollments=class{constructor(e){this.value=e.value,this.expiresAt=e.expiresAt}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.CourseSortBy=void 0,function(e){e.EndTime="endtime",e.InstructorName="instructorname",e.Name="name",e.NumberOfEnrollments="numberofenrollments",e.NumberOfExercises="numberofexercises",e.OrganizationName="organizationname",e.Status="status"}(n||(t.CourseSortBy=n={}))},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OrganizationUser=void 0;class n{static fromJson(e){if(void 0!==e)return Object.assign(new n,e)}}t.OrganizationUser=n},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.OrganizationUserSortBy=void 0,function(e){e.Name="name",e.Email="email",e.BillingAdmin="billingadmin",e.CourseAdmin="courseadmin",e.OrganizationAdmin="organizationadmin",e.Instructor="instructor",e.TA="ta",e.Student="student",e.LastLoginWith="lastloginwith",e.BusinessUnit="businessunit",e.LastLoginDate="lastlogin",e.IdentityProvider="identityprovider",e.PendingSince="pendingsince"}(n||(t.OrganizationUserSortBy=n={}))},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OrganizationUserFilter=void 0;t.OrganizationUserFilter=class{constructor(e){e&&(this.roles=null==e?void 0:e.roles,this.status=null==e?void 0:e.status,this.sortBy=null==e?void 0:e.sortBy,this.sortOrder=null==e?void 0:e.sortOrder,this.limit=null==e?void 0:e.limit,this.token=null==e?void 0:e.token,this.lastLoginAfter=null==e?void 0:e.lastLoginAfter,this.lastLoginBefore=null==e?void 0:e.lastLoginBefore)}static toQueryString(e){if(!e)return"";let t=[];if(e.status&&t.push("status="+e.status),e.token&&t.push("token="+e.token),e.limit&&t.push("limit="+e.limit),e.roles)for(let i of e.roles)t.push("role="+i);return e.sortBy&&t.push("sortby="+e.sortBy),e.sortOrder&&t.push("sortorder="+e.sortOrder),e.lastLoginAfter&&t.push("lastloginafter="+e.lastLoginAfter),e.lastLoginBefore&&t.push("lastloginbefore="+e.lastLoginBefore),t.length>0?"?"+t.join("&"):""}}},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.CourseUserTargetType=void 0,function(e){e.User="user",e.Invitation="invitation",e.Credential="credential"}(n||(t.CourseUserTargetType=n={}))},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.ExerciseGroupMetadataVariation=void 0,function(e){e.Terminal="terminal",e.Desktop="desktop",e.Tools="tools"}(n||(t.ExerciseGroupMetadataVariation=n={}))},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExerciseGroupMetadata=void 0;t.ExerciseGroupMetadata=class{constructor(e){this.family=null==e?void 0:e.family,this.version=null==e?void 0:e.version,this.variations=null==e?void 0:e.variations,this.release=null==e?void 0:e.release,this.logo=null==e?void 0:e.logo,this.tags=null==e?void 0:e.tags}}},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.OrganizationUserTargetType=void 0,function(e){e.User="user",e.Invitation="invitation"}(n||(t.OrganizationUserTargetType=n={}))},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.ExerciseGroupSortBy=void 0,function(e){e.Name="name",e.CreatedTimestamp="createdtimestamp"}(n||(t.ExerciseGroupSortBy=n={}))},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.NoteType=void 0,function(e){e.Info="info",e.Warning="warning",e.Error="error"}(n||(t.NoteType=n={}))},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},,,function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Identity=void 0;class n{constructor(e){this.id=null==e?void 0:e.id,this.alternateIds=null==e?void 0:e.alternateIds,this.enabled=null==e?void 0:e.enabled}static fromJson(e){if(void 0!==e)return new n(e)}}t.Identity=n},function(e,t,i){"use strict";var n=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(s,o){function r(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.AuthenticationApiClient=void 0;const s=i(12),o=i(356),r=i(12);t.AuthenticationApiClient=class{constructor(e,t,i){i?this.restClient=i:(t&&t.headers&&!("User-Agent"in t.headers)&&(t.headers["User-Agent"]="authentication-api-client"),this.restClient=new s.ApiClient(e,t))}authenticate(e,t,i,s){return n(this,void 0,void 0,(function*(){let n,r;"string"==typeof i?n=i:(n=null==i?void 0:i.userId,r=null==i?void 0:i.resources);var a=yield this.restClient.post("/v1/tokens",{provider:e,token:t,userId:n,resources:r},s);return this.restClient.validateResponse(a,200),o.Token.fromJson(a.data)}))}validate(e,t){return n(this,void 0,void 0,(function*(){try{return yield this.restClient.post("/v1/validates",{token:e},t),!0}catch(e){if(e instanceof r.UnprocessableApiClientError)return!1;throw e}}))}sso(e){return n(this,void 0,void 0,(function*(){var t=yield this.restClient.put("/v1/sso",void 0,e);return this.restClient.validateResponse(t,200),t.data.id}))}getOne(e,t){return n(this,void 0,void 0,(function*(){let i=yield this.restClient.get("/v1/identities/"+e,t);return this.restClient.validateResponse(i,200),i.data}))}addCurrentIdentityAlternateIds(e,t){return n(this,void 0,void 0,(function*(){yield this.addIdentityAlternateIds("me",e,t)}))}addIdentityAlternateIds(e,t,i){return n(this,void 0,void 0,(function*(){let n=yield this.restClient.post(`/v1/identities/${e}/alternate-ids`,t,i);this.restClient.validateResponse(n,204)}))}delete(e,t){return n(this,void 0,void 0,(function*(){let i=yield this.restClient.delete("/v1/identities/"+e,t);this.restClient.validateResponse(i,204)}))}listJwks(e){return n(this,void 0,void 0,(function*(){var t=yield this.restClient.get("/v1/jwks",e);return this.restClient.validateResponse(t,200),t.data}))}getLtiCLientAssertionToken(e,t,i){return n(this,void 0,void 0,(function*(){const n=yield this.restClient.get(`/v1/lti/client-assertion?clientid=${e}&accesstokenurl=${t}`,i);return this.restClient.validateResponse(n,200),n.data.token}))}getLtiIdentityToken(e,t){return n(this,void 0,void 0,(function*(){const i=yield this.restClient.post("/v1/lti/token",{ltiUser:e},t);return this.restClient.validateResponse(i,200),i.data.token}))}getCurrentTimestamp(e){return n(this,void 0,void 0,(function*(){const t=yield this.restClient.get("/v1/times",e);return this.restClient.validateResponse(t,200),t.data.currentTimestamp}))}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LtiIdentity=void 0;t.LtiIdentity=class{constructor(e){this.sub=null==e?void 0:e.sub,this.provider=null==e?void 0:e.provider,this.picture=null==e?void 0:e.picture,this.firstName=null==e?void 0:e.firstName,this.lastName=null==e?void 0:e.lastName,this.email=null==e?void 0:e.email,this.displayName=null==e?void 0:e.displayName,this.notAfter=null==e?void 0:e.notAfter,this.exp=null==e?void 0:e.exp,this.roles=null==e?void 0:e.roles,this.contextId=null==e?void 0:e.contextId,this.contextType=null==e?void 0:e.contextType,this.contextName=null==e?void 0:e.contextName,this.organizationApplicationId=null==e?void 0:e.organizationApplicationId,this.organizationId=null==e?void 0:e.organizationId,this.courseApplicationId=null==e?void 0:e.courseApplicationId,this.courseId=null==e?void 0:e.courseId,this.deploymentId=null==e?void 0:e.deploymentId,this.requestedProvider=null==e?void 0:e.requestedProvider}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LtiUser=void 0;t.LtiUser=class{constructor(e){this.id=null==e?void 0:e.id,this.name=null==e?void 0:e.name,this.firstName=null==e?void 0:e.firstName,this.lastName=null==e?void 0:e.lastName,this.picture=null==e?void 0:e.picture,this.email=null==e?void 0:e.email,this.roles=null==e?void 0:e.roles,this.contextId=null==e?void 0:e.contextId}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Jwks=void 0;const n=i(357);class s{constructor(e){this.keys=e.keys.map(n.Jwk.fromJson)}static fromJson(e){return e?new s(e):void 0}}t.Jwks=s},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ClaimFilter=void 0;t.ClaimFilter=class{constructor(e,t,i){this.type=e,this.value=t,this.resource=i}toQueryString(){return`?type=${this.type?encodeURIComponent(this.type):""}&value=${this.value?encodeURIComponent(this.value):""}&resource=${this.resource?encodeURIComponent(this.resource):""}`}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";var n=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(s,o){function r(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.EntitlementApiClient=void 0;const s=i(12),o=i(191),r=i(361),a=i(192),l=i(360);t.EntitlementApiClient=class{constructor(e,t,i){i?this.restClient=i:(t&&t.headers&&!("User-Agent"in t.headers)&&(t.headers["User-Agent"]="entitlement-api-client"),this.restClient=new s.ApiClient(e,t))}listEffectiveClaims(e,t){return n(this,void 0,void 0,(function*(){let i=e?e.toQueryString():"";var n=yield this.restClient.get("/v1/entitlements"+i,t);this.restClient.validateResponse(n,200);let s=[];for(let e of n.data.items)s.push(o.Claim.fromJson(e));return s}))}invalidateUserClaimsCache(e,t){return n(this,void 0,void 0,(function*(){var i=yield this.restClient.put(`/v1/claims/${e}/invalidate-cache`,void 0,t);this.restClient.validateResponse(i,204)}))}listClaims(e){return n(this,void 0,void 0,(function*(){var t=yield this.restClient.get("/v1/claims",e);this.restClient.validateResponse(t,200);let i=[];for(let e of t.data.items)i.push(o.Claim.fromJson(e));return i}))}listResources(e){return n(this,void 0,void 0,(function*(){var t=yield this.restClient.get("/v1/entitlements",e);return this.restClient.validateResponse(t,200),t.data.resources}))}grant(e,t){return n(this,void 0,void 0,(function*(){if(!e)throw new Error("Could not grant a claim to nobody.");const i=Array.isArray(t)?t:[t];let n=yield this.getRules(new l.RuleFilter(e,"user"));if(0===n.items.length)yield this.createUserRule(e,i);else{let e=[],t=!0;for(let s of n.items){let n=e=>!i.some(t=>e.type===t.type&&e.value===t.value),o=s.entitlement.allow.filter(n),r=s.entitlement.deny.filter(n);t&&(o.push(...i),t=!1),0===o.length&&0===r.length?e.push(this.deleteRule(s.id)):e.push(this.updateRule(s.id,o,r))}yield Promise.all(e)}}))}grantDeny(e,t){return n(this,void 0,void 0,(function*(){if(!e)throw new Error(`Could not grantDeny '${t.type}/${t.value}' to nobody.`);let i=yield this.getRules(new l.RuleFilter(e,"user"));if(0===i.items.length)yield this.createUserRule(e,[],[t]);else{let e=[],n=!0;for(let s of i.items){let i=e=>!(e.type===t.type&&e.value===t.value),o=s.entitlement.allow.filter(i),r=s.entitlement.deny.filter(i);n&&(r.push(t),n=!1),0===o.length&&0===r.length?e.push(this.deleteRule(s.id)):e.push(this.updateRule(s.id,o,r))}yield Promise.all(e)}}))}createUserRule(e,t=[],i=[]){return n(this,void 0,void 0,(function*(){return this.createRule("user",e,t,i)}))}createGroupRule(e,t=[],i=[]){return n(this,void 0,void 0,(function*(){return this.createRule("group",e,t,i)}))}createRule(e,t,i=[],s=[],o){return n(this,void 0,void 0,(function*(){let n={target:{type:e,id:t},entitlement:{allow:i,deny:s}};var r=yield this.restClient.post("/v1/rules",n,o);return this.restClient.validateResponse(r,200),r.data.id}))}getRules(e,t){return n(this,void 0,void 0,(function*(){let i=e?e.toQueryString():"";var n=yield this.restClient.get("/v1/rules"+i,t);return this.restClient.validateResponse(n,200),r.Rules.fromJson(n.data)}))}getRule(e,t){return n(this,void 0,void 0,(function*(){var i=yield this.restClient.get("/v1/rules/"+e,t);return this.restClient.validateResponse(i,200),a.Rule.fromJson(i.data)}))}updateRule(e,t=[],i=[],s){return n(this,void 0,void 0,(function*(){let n={entitlement:{allow:t,deny:i}};var o=yield this.restClient.patch("/v1/rules/"+e,n,s);this.restClient.validateResponse(o,204)}))}revoke(e,t){return n(this,void 0,void 0,(function*(){if(!e)throw new Error("Could not revoke a claim from nobody.");let i=yield this.getRules(new l.RuleFilter(e,"user")),n=[];for(let e of i.items){let i=e=>{if(t instanceof Array){for(let i of t)if(e.type===i.type&&e.value===i.value)return!1;return!0}return!(e.type===t.type&&e.value===t.value)},s=e.entitlement.allow.filter(i),o=e.entitlement.deny.filter(i);0===s.length&&0===o.length?n.push(this.deleteRule(e.id)):n.push(this.updateRule(e.id,s,o))}yield Promise.all(n)}))}deleteRule(e,t){return n(this,void 0,void 0,(function*(){var i=yield this.restClient.delete("/v1/rules/"+e,t);this.restClient.validateResponse(i,204)}))}deleteRules(e,t){return n(this,void 0,void 0,(function*(){let i=e?e.toQueryString():void 0;var n=yield this.restClient.delete("/v1/rules"+i,t);this.restClient.validateResponse(n,204)}))}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.Pending="pending",e.Posted="posted"}(n||(n={})),t.default=n},function(e,t,i){"use strict";var n=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(s,o){function r(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.BalanceApiClient=void 0;const s=i(12),o=i(362),r=i(363),a=i(365),l=i(366),u=i(364);t.BalanceApiClient=class{constructor(e,t,i){i||(t&&t.headers&&!("User-Agent"in t.headers)&&(t.headers["User-Agent"]="balance-api-client"),i=new s.ApiClient(e,t)),this.apiClient=i}getOneBalanceActivity(e,t){return n(this,void 0,void 0,(function*(){const i=yield this.apiClient.get("/v1/balance-activities/"+e,t);return this.apiClient.validateResponse(i,200),o.Activity.fromJson(i.data)}))}createOrganizationBalanceActivity(e,t,i){return n(this,void 0,void 0,(function*(){const n=yield this.apiClient.post(`/v1/organizations/${e}/balance-activities`,t,i);return this.apiClient.validateResponse(n,200),o.Activity.fromJson(n.data)}))}listOrganizationBalanceActivities(e,t,i){return n(this,void 0,void 0,(function*(){const n=yield this.apiClient.get(`/v1/organizations/${e}/balance-activities${r.ActivityFilter.toQueryString(t)}`,i);return this.apiClient.validateResponse(n,200),new s.ApiPageResponse(n.data)}))}deleteOrganizationBalanceActivities(e,t){return n(this,void 0,void 0,(function*(){const i=yield this.apiClient.delete(`/v1/organizations/${e}/balance-activities`,t);this.apiClient.validateResponse(i,202)}))}listBalances(e,t){return n(this,void 0,void 0,(function*(){const i=yield this.apiClient.get("/v1/balances"+a.BalanceFilter.toQueryString(e),t);return this.apiClient.validateResponse(i,200),new s.ApiPageResponse(i.data)}))}getOneOrganizationBalance(e,t){return n(this,void 0,void 0,(function*(){const i=yield this.apiClient.get(`/v1/organizations/${e}/balance`,t);return this.apiClient.validateResponse(i,200),new u.Balance(i.data)}))}setActivityStatus(e,t,i){return n(this,void 0,void 0,(function*(){const n=yield this.apiClient.put(`/v1/balance-activities/${e}/status/${t}`,i);this.apiClient.validateResponse(n,204)}))}importBalanceActivityReport(e){return n(this,arguments,void 0,(function*(e,t=!1,i=new s.ApiRequestConfig({})){const n=t?"?dryrun=true":"";i.headers["Content-Type"]="text/csv";const o=yield this.apiClient.put("/v1/import-balance-activity-report"+n,e.toString("utf-8"),i);return this.apiClient.validateResponse(o,200),l.ActivityImportReport.fromJson(o.data)}))}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.File=void 0;class n{constructor({id:e,name:t,index:i,uploadUrl:n,publicUrl:s,createdTimestamp:o,modifiedTimestamp:r}={}){this.id=e,this.name=t,this.index=i,this.uploadUrl=n,this.publicUrl=s,this.createdTimestamp=o,this.modifiedTimestamp=r}static fromJson(e){if(void 0!==e)return new n(e)}}t.File=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChildContent=void 0;const n=i(193),s=i(194),o=i(195);class r{constructor(e){e&&(this.id=e.id,this.name=e.name,this.status=e.status,this.urlAlias=e.urlAlias,this.description=e.description,this.tags=e.tags,this.index=e.index,this.createdTimestamp=e.createdTimestamp,this.modifiedTimestamp=e.modifiedTimestamp)}get category(){return this.categories.join(", ")}get categories(){var e;return[...new Set(null===(e=this.tags)||void 0===e?void 0:e.filter(e=>n.ContentCategoryValues().includes(e)))]}get educationLevels(){var e;return[...new Set(null===(e=this.tags)||void 0===e?void 0:e.filter(e=>s.EducationLevelValues().includes(e)))]}get experienceLevels(){var e;return[...new Set(null===(e=this.tags)||void 0===e?void 0:e.filter(e=>o.ExperienceLevelValues().includes(e)))]}static fromJson(e){if(void 0!==e)return new r(e)}static toNextPageToken(e){return[e.modifiedTimestamp,e.id].join("_")}}t.ChildContent=r},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ContentPage=void 0;t.ContentPage=class{constructor(e,t){this.items=e,this.nextPageToken=t}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ContributorFilter=void 0;t.ContributorFilter=class{constructor(e,t){this.token=e,this.limit=t}toQueryString(){let e=[];return this.token&&e.push("token="+this.token),this.limit&&e.push("limit="+this.limit.toString()),"?"+e.join("&")}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.KnowledgeFilter=void 0;t.KnowledgeFilter=class{constructor(e,t,i){this.type=e,this.token=t,this.limit=i}toQueryString(){let e=[];return this.type&&e.push("type="+this.type),this.token&&e.push("token="+this.token),this.limit&&e.push("limit="+this.limit.toString()),"?"+e.join("&")}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.KnowledgeUnit=void 0;class n{constructor(e){e&&(this.id=e.id,this.name=e.name,this.index=e.index)}static fromJson(e){if(void 0!==e)return new n(e)}}t.KnowledgeUnit=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.KnowledgeSkillAbility=void 0;class n{constructor(e){e&&(this.id=e.id,this.name=e.name,this.index=e.index)}static fromJson(e){if(void 0!==e)return new n(e)}}t.KnowledgeSkillAbility=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Section=void 0;class n{constructor(e){e&&(this.index=e.index,this.name=e.name,this.description=e.description)}static fromJson(e){if(void 0!==e)return new n(e)}}t.Section=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ContentSupportEmail=void 0;t.ContentSupportEmail=class{constructor(e,t){this.subject=e,this.body=t}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NewsContentFilter=void 0;const n=i(132);class s{constructor(e,t,i){this.token=e,this.limit=t,this.status=i||[n.ContentStatus.Published]}static fromEventParams(e){if(!e)return;let t=new s(e.token?decodeURIComponent(e.token):void 0);return Number.isNaN(Number(e.limit))||(t.limit=Number(e.limit)),t}toQueryString(){let e=[];return this.status&&(e=this.status.map(e=>"status="+e)),this.limit&&e.push("limit="+this.limit.toString()),this.token&&e.push("token="+this.token),"?"+e.join("&")}}t.NewsContentFilter=s},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EventContentFilter=void 0;const n=i(132);class s{constructor(e,t,i){this.token=e,this.limit=t,this.status=i||[n.ContentStatus.Published]}static fromEventParams(e){if(!e)return;let t=new s(e.token?decodeURIComponent(e.token):void 0);return Number.isNaN(Number(e.limit))||(t.limit=Number(e.limit)),t}toQueryString(){let e=[];return this.status&&(e=this.status.map(e=>"status="+e)),this.limit&&e.push("limit="+this.limit.toString()),this.token&&e.push("token="+this.token),"?"+e.join("&")}}t.EventContentFilter=s},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Attachment=void 0;t.Attachment=class{constructor(e){this.name=e.name,this.contentType=e.contentType,this.data=e.data}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ContentFeedbackEmail=void 0;t.ContentFeedbackEmail=class{constructor(e){this.subject=e.subject,this.body=e.body,this.attachments=e.attachments}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BundledFile=void 0;class n{constructor(e,t){this.id=e,this.path=t}static fromJson(e){if(e)return new n(e.id,e.path)}}t.BundledFile=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ICoursewareMetrics=void 0;t.ICoursewareMetrics=class{}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.KnowledgeType=void 0,function(e){e.KSA="ksa",e.KU="ku"}(t.KnowledgeType||(t.KnowledgeType={}))},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";var n=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(s,o){function r(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.ContentApiClient=void 0;const s=i(12),o=i(374),r=i(368),a=i(369),l=i(371),u=i(370),c=i(377),d=i(376),_=i(372),v=i(373),p=i(375),h=i(378);t.ContentApiClient=class{constructor(e,t,i){i?this.apiClient=i:(t&&t.headers&&!("User-Agent"in t.headers)&&(t.headers["User-Agent"]="content-api-client"),this.apiClient=new s.ApiClient(e,t))}create(e,t){return n(this,void 0,void 0,(function*(){var i=yield this.apiClient.post("/v1/contents",e,t);return this.apiClient.validateResponse(i,200),i.data.id}))}get(e,t){return n(this,void 0,void 0,(function*(){let i=(e=a.ContentFilter.fromJson(e))?e.toQueryString():"";var n=yield this.apiClient.get("/v1/contents"+i,t);return this.apiClient.validateResponse(n,200),new h.Page(n.data.items.map(e=>r.Content.fromJson(e)),n.data.nextPageToken)}))}getBundle(e,t,i){return n(this,void 0,void 0,(function*(){var n=yield this.apiClient.get(`/v1/content/${e}/files${new o.BundleFilter(t).toQueryString()}`,i);return this.apiClient.validateResponse(n,200),n.data.files}))}getOne(e,t){return n(this,void 0,void 0,(function*(){var i=yield this.apiClient.get("/v1/contents/"+e,t);return this.apiClient.validateResponse(i,200),r.Content.fromJson(i.data)}))}update(e,t,i){return n(this,void 0,void 0,(function*(){let n=Object.assign({},t);delete n.parentId,delete n.id;var s=yield this.apiClient.patch("/v1/contents/"+e,n,i);this.apiClient.validateResponse(s,204)}))}delete(e,t){return n(this,void 0,void 0,(function*(){var i=yield this.apiClient.delete("/v1/contents/"+e,t);this.apiClient.validateResponse(i,204)}))}createContributor(e,t){return n(this,void 0,void 0,(function*(){var i=yield this.apiClient.post("/v1/contributors",e,t);return this.apiClient.validateResponse(i,200),i.data.id}))}getContributors(e,t){return n(this,void 0,void 0,(function*(){let i=e?e.toQueryString():"";var n=yield this.apiClient.get("/v1/contributors"+i,t);this.apiClient.validateResponse(n,200);let s=new u.ContributorPage([],n.data.nextPageToken);if(n.data&&n.data.items&&n.data&&n.data.items)for(let e of n.data.items)s.contributors.push(l.Contributor.fromJson(e));return s}))}getOneContributor(e,t){return n(this,void 0,void 0,(function*(){var i=yield this.apiClient.get("/v1/contributors/"+e,t);return this.apiClient.validateResponse(i,200),l.Contributor.fromJson(i.data)}))}updateContributor(e,t,i){return n(this,void 0,void 0,(function*(){let n=Object.assign({},t);delete n.id,delete n.index;var s=yield this.apiClient.patch("/v1/contributors/"+e,n,i);this.apiClient.validateResponse(s,204)}))}deleteContributor(e,t){return n(this,void 0,void 0,(function*(){var i=yield this.apiClient.delete("/v1/contributors/"+e,t);this.apiClient.validateResponse(i,204)}))}createKnowledge(e,t){return n(this,void 0,void 0,(function*(){var i=yield this.apiClient.post("/v1/knowledges",e,t);return this.apiClient.validateResponse(i,200),i.data.id}))}getKnowledges(e,t){return n(this,void 0,void 0,(function*(){let i=e?e.toQueryString():"";var n=yield this.apiClient.get("/v1/knowledges"+i,t);this.apiClient.validateResponse(n,200);let s=new v.KnowledgePage([],n.data.nextPageToken);if(n.data&&n.data.items&&n.data&&n.data.items)for(let e of n.data.items)s.knowledges.push(_.Knowledge.fromJson(e));return s}))}getOneKnowledge(e,t){return n(this,void 0,void 0,(function*(){var i=yield this.apiClient.get("/v1/knowledges/"+e,t);return this.apiClient.validateResponse(i,200),_.Knowledge.fromJson(i.data)}))}updateKnowledge(e,t,i){return n(this,void 0,void 0,(function*(){let n=Object.assign({},t);delete n.id;var s=yield this.apiClient.patch("/v1/knowledges/"+e,n,i);this.apiClient.validateResponse(s,204)}))}deleteKnowledge(e,t){return n(this,void 0,void 0,(function*(){var i=yield this.apiClient.delete("/v1/knowledges/"+e,t);this.apiClient.validateResponse(i,204)}))}sendSupportEmail(e,t){return n(this,void 0,void 0,(function*(){var i=yield this.apiClient.post("/v1/supports",e,t);this.apiClient.validateResponse(i,204)}))}sendContentFeedbackEmail(e,t,i){return n(this,void 0,void 0,(function*(){var n=yield this.apiClient.post(`/v1/content/${e}/feedback`,t,i);this.apiClient.validateResponse(n,204)}))}getOneNews(e,t){return n(this,void 0,void 0,(function*(){var i=yield this.apiClient.get("/v1/news/"+e,t);return this.apiClient.validateResponse(i,200),p.NewsContent.fromJson(i.data)}))}deleteNews(e,t){return n(this,void 0,void 0,(function*(){var i=yield this.apiClient.delete("/v1/news/"+e,t);this.apiClient.validateResponse(i,204)}))}createNews(e,t){return n(this,void 0,void 0,(function*(){var i=yield this.apiClient.post("/v1/news",p.NewsContent.fromJson(e),t);return this.apiClient.validateResponse(i,200),i.data.id}))}updateNews(e,t,i){return n(this,void 0,void 0,(function*(){let n=Object.assign({},t);delete n.id;var s=yield this.apiClient.patch("/v1/news/"+e,n,i);this.apiClient.validateResponse(s,204)}))}getNews(e,t){return n(this,void 0,void 0,(function*(){let i=e?e.toQueryString():"";var n=yield this.apiClient.get("/v1/news"+i,t);return this.apiClient.validateResponse(n,200),new h.Page(n.data.items.map(e=>p.NewsContent.fromJson(e)),n.data.nextPageToken)}))}getOneEvent(e,t){return n(this,void 0,void 0,(function*(){var i=yield this.apiClient.get("/v1/events/"+e,t);return this.apiClient.validateResponse(i,200),d.EventContent.fromJson(i.data)}))}deleteEvent(e,t){return n(this,void 0,void 0,(function*(){var i=yield this.apiClient.delete("/v1/events/"+e,t);this.apiClient.validateResponse(i,204)}))}createEvent(e,t){return n(this,void 0,void 0,(function*(){var i=yield this.apiClient.post("/v1/events",d.EventContent.fromJson(e),t);return this.apiClient.validateResponse(i,200),i.data.id}))}updateEvent(e,t,i){return n(this,void 0,void 0,(function*(){let n=Object.assign({},t);delete n.id;var s=yield this.apiClient.patch("/v1/events/"+e,n,i);this.apiClient.validateResponse(s,204)}))}getEvents(e,t){return n(this,void 0,void 0,(function*(){let i=e?e.toQueryString():"";var n=yield this.apiClient.get("/v1/events"+i,t);return this.apiClient.validateResponse(n,200),new h.Page(n.data.items.map(e=>d.EventContent.fromJson(e)),n.data.nextPageToken)}))}getCoursewareMetrics(e){return n(this,void 0,void 0,(function*(){var t=yield this.apiClient.get("/v1/courseware-metrics",e);return this.apiClient.validateResponse(t,200),c.CoursewareMetrics.fromJson(t.data)}))}}},function(e,t,i){"use strict";var n=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(s,o){function r(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.BusinessUnitApiClient=void 0;const s=i(12),o=i(380),r=i(379);t.BusinessUnitApiClient=class{constructor(e,t,i){i?this.apiClient=i:(t&&t.headers&&!("User-Agent"in t.headers)&&(t.headers["User-Agent"]="business-unit-api-client"),this.apiClient=new s.ApiClient(e,t))}create(e,t){return n(this,void 0,void 0,(function*(){let i=yield this.apiClient.post("/v1/business-units",e,t);return this.apiClient.validateResponse(i,200),e.id=i.data.id,e.id}))}get(){return n(this,arguments,void 0,(function*(e=new r.BusinessUnitFilter,t){let i=yield this.apiClient.get("/v1/business-units"+r.BusinessUnitFilter.toQueryString(e),t);return this.apiClient.validateResponse(i,200),i.data.items=i.data.items.map(e=>o.BusinessUnit.fromJson(e)),new s.ApiPageResponse(i.data)}))}getAll(){return n(this,arguments,void 0,(function*(e=new r.BusinessUnitFilter,t){let i=[];do{let n=yield this.get(e,t);i.push(...n.items),e.token=n.nextPageToken}while(e.token);return i}))}getOne(e,t){return n(this,void 0,void 0,(function*(){let i=yield this.apiClient.get("/v1/business-units/"+e,t);return this.apiClient.validateResponse(i,200),o.BusinessUnit.fromJson(i.data)}))}update(e,t){return n(this,void 0,void 0,(function*(){let i=Object.assign({},e);delete i.id;let n=yield this.apiClient.patch("/v1/business-units/"+e.id,i,t);this.apiClient.validateResponse(n,204)}))}delete(e,t){return n(this,void 0,void 0,(function*(){let i=yield this.apiClient.delete("/v1/business-units/"+e,t);this.apiClient.validateResponse(i,204)}))}}},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.BusinessUnitCategory=void 0,function(e){e.K12="k12",e.College="college",e.University="university",e.Commercial="commercial",e.Government="government"}(n||(t.BusinessUnitCategory=n={}))},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OrganizationContact=void 0;class n{constructor(e,t,i,n,s,o,r,a,l,u){this.name=e,this.firstName=t,this.lastName=i,this.email=n,this.phone=s,this.addressLine1=o,this.addressLine2=r,this.city=a,this.state=l,this.zip=u}static fromJson(e){if(void 0===e)return;let t=new n;return Object.assign(t,e),t}}t.OrganizationContact=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OrganizationLimits=void 0;class n{constructor(e){this.maxExerciseGroupsPerCourse=e,this.maxActiveExerciseGroupsPerCourse=e,this.maxTeamsPerCourse=e,this.maxUsersPerCourse=e,this.maxStudentsPerCourse=e,this.maxInstructorsPerCourse=e,this.maxTasPerCourse=e,this.maxAdminsPerOrganization=e,this.maxInstructorsPerOrganization=e,this.maxUsersPerOrganization=e,this.maxCoursesPerOrganization=e,this.maxEnrollmentsPerOrganization=e,this.maxCourseAdminsPerOrganization=e,this.maxInstructorEnrollmentsPerOrganization=e,this.maxChallengesPerCompetition=e,this.maxCompetitionsPerOrganization=e,this.maxCompetitionsPerCourse=e,this.maxFileStorageInMbPerCompetition=e,this.maxPlayersPerCompetition=e,this.maxTeamsPerCompetition=e,this.maxPlayersPerTeam=e,this.maxEnvironmentsPerCompetition=e,this.maxEnvironmentsPerChallenge=e,this.maxCopiedEnvironmentsPerOrganization=e,this.maxCopiedEnvironmentsPerUser=e}static fromJson(e){if(void 0===e)return;let t=new n;return Object.assign(t,e),t}}t.OrganizationLimits=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OrganizationStatistics=void 0;class n{constructor(e,t,i){this.numberOfCourses=e,this.numberOfExercises=t,this.numberOfUsers=i}static fromJson(e){if(void 0===e)return;let t=new n;return Object.assign(t,e),t}}t.OrganizationStatistics=n},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.OrganizationStatus=void 0,function(e){e.UPDATING="updating",e.READY="ready",e.DELETING="deleting",e.DELETED="deleted",e.ERROR="error"}(n||(t.OrganizationStatus=n={}))},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.UserRole=void 0,function(e){e.ORGANIZATION_ADMIN="organizationadmin",e.BILLING_ADMIN="billingadmin",e.COURSE_ADMIN="courseadmin",e.ORGANIZATION_DEMO_INSTRUCTOR="organizationdemoinstructor",e.ORGANIZATION_INSTRUCTOR="organizationinstructor",e.ORGANIZATION_STUDENT="organizationstudent",e.ORGANIZATION_TA="organizationta",e.DEMO_INSTRUCTOR="demoinstructor",e.INSTRUCTOR="instructor",e.COURSEWAREUSER="coursewareuser",e.COURSEWAREADMIN="coursewareadmin",e.COURSEWAREASSISTANT="coursewareassistant",e.NEWSLETTERSUBSCRIBER="newslettersubscriber"}(n||(t.UserRole=n={}))},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CustomOrganizationLimits=void 0;const n=i(389);class s{constructor(e){this.maxExerciseGroupsPerCourse=n.Limit.fromJson(null==e?void 0:e.maxExerciseGroupsPerCourse),this.maxActiveExerciseGroupsPerCourse=n.Limit.fromJson(null==e?void 0:e.maxActiveExerciseGroupsPerCourse),this.maxTeamsPerCourse=n.Limit.fromJson(null==e?void 0:e.maxTeamsPerCourse),this.maxUsersPerCourse=n.Limit.fromJson(null==e?void 0:e.maxUsersPerCourse),this.maxStudentsPerCourse=n.Limit.fromJson(null==e?void 0:e.maxStudentsPerCourse),this.maxInstructorsPerCourse=n.Limit.fromJson(null==e?void 0:e.maxInstructorsPerCourse),this.maxTasPerCourse=n.Limit.fromJson(null==e?void 0:e.maxTasPerCourse),this.maxAdminsPerOrganization=n.Limit.fromJson(null==e?void 0:e.maxAdminsPerOrganization),this.maxInstructorsPerOrganization=n.Limit.fromJson(null==e?void 0:e.maxInstructorsPerOrganization),this.maxUsersPerOrganization=n.Limit.fromJson(null==e?void 0:e.maxUsersPerOrganization),this.maxCoursesPerOrganization=n.Limit.fromJson(null==e?void 0:e.maxCoursesPerOrganization),this.maxEnrollmentsPerOrganization=n.Limit.fromJson(null==e?void 0:e.maxEnrollmentsPerOrganization),this.maxCourseAdminsPerOrganization=n.Limit.fromJson(null==e?void 0:e.maxCourseAdminsPerOrganization),this.maxInstructorEnrollmentsPerOrganization=n.Limit.fromJson(null==e?void 0:e.maxInstructorEnrollmentsPerOrganization),this.maxChallengesPerCompetition=n.Limit.fromJson(null==e?void 0:e.maxChallengesPerCompetition),this.maxCompetitionsPerOrganization=n.Limit.fromJson(null==e?void 0:e.maxCompetitionsPerOrganization),this.maxCompetitionsPerCourse=n.Limit.fromJson(null==e?void 0:e.maxCompetitionsPerCourse),this.maxFileStorageInMbPerCompetition=n.Limit.fromJson(null==e?void 0:e.maxFileStorageInMbPerCompetition),this.maxTeamsPerCompetition=n.Limit.fromJson(null==e?void 0:e.maxTeamsPerCompetition),this.maxPlayersPerCompetition=n.Limit.fromJson(null==e?void 0:e.maxPlayersPerCompetition),this.maxPlayersPerTeam=n.Limit.fromJson(null==e?void 0:e.maxPlayersPerTeam),this.maxEnvironmentsPerCompetition=n.Limit.fromJson(null==e?void 0:e.maxEnvironmentsPerCompetition),this.maxEnvironmentsPerChallenge=n.Limit.fromJson(null==e?void 0:e.maxEnvironmentsPerChallenge),this.maxCopiedEnvironmentsPerOrganization=n.Limit.fromJson(null==e?void 0:e.maxCopiedEnvironmentsPerOrganization),this.maxCopiedEnvironmentsPerUser=n.Limit.fromJson(null==e?void 0:e.maxCopiedEnvironmentsPerUser)}static fromJson(e){return e?new s(e):void 0}}t.CustomOrganizationLimits=s},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Lti13OrganizationApplication=void 0;const n=i(390);class s extends n.OrganizationApplication{constructor(e){super(e),this.issuer=null==e?void 0:e.issuer,this.clientId=null==e?void 0:e.clientId,this.deploymentIds=null==e?void 0:e.deploymentIds,this.keySetUrl=null==e?void 0:e.keySetUrl,this.accessTokenUrl=null==e?void 0:e.accessTokenUrl,this.authenticationUrl=null==e?void 0:e.authenticationUrl}static fromJson(e){if(void 0!==e)return new s(e)}}t.Lti13OrganizationApplication=s},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InternalCustomAttributeValuesFactory=void 0;const n=i(392),s=i(393),o=i(196);t.InternalCustomAttributeValuesFactory=class{static create(e){switch(e){case o.InternalCustomAttributeName.EnforceCourseEndTimeBy:return s.InternalCustomAttrbuteValueEnforceCourseEndDateBy;case o.InternalCustomAttributeName.FloatingUsers:case o.InternalCustomAttributeName.FloatingCopiedEnvironments:return n.InternalCustomAttrbuteValueAllowed;default:throw new Error("All internal custom attribute names must map to an enum of allowed values.")}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.EmailTemplateName=void 0,function(e){e.AccountRequested="accountrequested",e.AccountPendingApproval="accountpendingapproval",e.AccountRejected="accountrejected",e.AccountApproved="accountapproved",e.CourseRequested="courserequested",e.CoursePendingApproval="coursependingapproval",e.CourseApproved="courseapproved",e.CourseRejected="courserejected",e.CourseUserInvitation="courseuserinvitation",e.OrganizationUserInvitation="organizationuserinvitation",e.CourseInstructorInvitation="courseinstructorinvitation",e.CourseExpirationWarningTemplate="courseexpirationwarning",e.CtfAdminInvitationTemplate="ctfadmininvitation",e.CtfPlayerInvitationTemplate="ctfplayerinvitation"}(n||(t.EmailTemplateName=n={}))},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.OrganizationApplicationType=void 0,function(e){e.Lti13="lti13"}(n||(t.OrganizationApplicationType=n={}))},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.OrganizationSortBy=void 0,function(e){e.Name="name",e.ParentName="parentname",e.NumberOfCourses="numberofcourses",e.NumberOfChildOrganizations="numberofchildorganizations",e.NumberOfUsers="numberofusers",e.NumberOfEnrollments="numberofenrollments",e.NumberOfExercises="numberofexercises",e.CreatedTimestamp="createdtimestamp"}(n||(t.OrganizationSortBy=n={}))},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.InternalCustomAttributeValue=void 0,function(e){e.Subscription="subscription",e.Date="date"}(n||(t.InternalCustomAttributeValue=n={}))},function(e,t,i){"use strict";var n=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(s,o){function r(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.OrganizationApiClient=void 0;const s=i(12),o=i(381),r=i(388),a=i(385),l=i(387),u=i(386),c=i(111),d=i(1034),_=i(391),v=i(384);class p extends s.AutoPagingApiClient{constructor(e,t,i){super(i),i?this.apiClient=i:(t&&t.headers&&!("User-Agent"in t.headers)&&(t.headers["User-Agent"]="organization-api-client"),this.apiClient=new s.ApiClient(e,t))}create(e,t){return n(this,void 0,void 0,(function*(){var i=yield this.apiClient.post("/v1/organizations",e,t);return this.apiClient.validateResponse(i,200),e.id=i.data.id,e.id}))}get(e,t){return n(this,void 0,void 0,(function*(){let i=yield this.apiClient.get("/v1/organizations"+new v.OrganizationFilter(e).toQueryString(),t);this.apiClient.validateResponse(i,200);let n=[];for(let e of i.data.items)n.push(o.Organization.fromJson(e));return new s.ApiPageResponse({items:n,nextPageToken:i.data.nextPageToken,prevPageToken:i.data.prevPageToken})}))}getOne(e,t){return n(this,void 0,void 0,(function*(){let i=yield this.apiClient.get("/v1/organizations/"+e,t);return this.apiClient.validateResponse(i,200),o.Organization.fromJson(i.data)}))}update(e,t){return n(this,void 0,void 0,(function*(){let i=Object.assign({},e);delete i.id;var n=yield this.apiClient.patch("/v1/organizations/"+e.id,i,t);this.apiClient.validateResponse(n,204)}))}updateOrganizationStatistics(e,t,i){return n(this,void 0,void 0,(function*(){let n=yield this.apiClient.patch("/v1/organizations/"+e+"/statistics",t,i);this.apiClient.validateResponse(n,204)}))}requestOrganizationSupport(e,t,i,s){return n(this,void 0,void 0,(function*(){var n=yield this.apiClient.post(`/v1/organizations/${e}/support`,{subject:t,body:i},s);this.apiClient.validateResponse(n,200);let o=[];for(let e of n.data)o.push(a.SupportRecipient.fromJson(e));return o}))}delete(e,t){return n(this,void 0,void 0,(function*(){var i=yield this.apiClient.delete("/v1/organizations/"+e,t);this.apiClient.validateResponse(i,204)}))}getOrganizationEmailTemplates(e,t){return n(this,void 0,void 0,(function*(){let i=yield this.apiClient.get(`/v1/organizations/${e}/templates`,t);return this.apiClient.validateResponse(i,200),l.OrganizationEmailTemplates.fromJson(i.data)}))}getOrganizationEmailTemplate(e,t,i){return n(this,void 0,void 0,(function*(){let n=yield this.apiClient.get(`/v1/organizations/${e}/templates/${t}`,i);return this.apiClient.validateResponse(n,200),u.EmailTemplate.fromJson(n.data)}))}updateOrganizationEmailTemplate(e,t,i,s){return n(this,void 0,void 0,(function*(){delete i.organizationContactEmail,delete i.organizationName;let n=yield this.apiClient.patch(`/v1/organizations/${e}/templates/${t}`,i,s);this.apiClient.validateResponse(n,204)}))}deleteOrganizationEmailTemplate(e,t,i){return n(this,void 0,void 0,(function*(){let n=yield this.apiClient.delete(`/v1/organizations/${e}/templates/${t}`,i);this.apiClient.validateResponse(n,204)}))}getOrganizationCode(e,t){return n(this,void 0,void 0,(function*(){var i=yield this.apiClient.get("/v1/organization-codes/"+e,t);return this.apiClient.validateResponse(i,200),r.OrganizationCode.fromJson(i.data)}))}deleteOrganizationCode(e,t){return n(this,void 0,void 0,(function*(){var i=yield this.apiClient.delete(`/v1/organizations/${e}/code`,t);this.apiClient.validateResponse(i,204)}))}setOrganizationParentId(e,t,i){return n(this,void 0,void 0,(function*(){const n=yield this.apiClient.put(`/v1/organizations/${e}/parentid/${t}`,i);this.apiClient.validateResponse(n,204)}))}removeOrganizationParentId(e,t){return n(this,void 0,void 0,(function*(){const i=yield this.apiClient.delete(`/v1/organizations/${e}/parentid`,t);this.apiClient.validateResponse(i,204)}))}setOrganizationAlternateId(e,t,i){return n(this,void 0,void 0,(function*(){const n=yield this.apiClient.put(`/v1/organizations/${e}/alternateid/${t}`,i);this.apiClient.validateResponse(n,204)}))}removeOrganizationAlternateIds(e,t){return n(this,void 0,void 0,(function*(){const i=yield this.apiClient.delete(`/v1/organizations/${e}/alternateid`,t);this.apiClient.validateResponse(i,204)}))}getOrganizationLimits(e,t){return n(this,void 0,void 0,(function*(){const i=yield this.apiClient.get(`/v1/organizations/${e}/limits`,t);return this.apiClient.validateResponse(i,200),c.CustomOrganizationLimits.fromJson(i.data)}))}updateOrganizationLimits(e,t,i){return n(this,void 0,void 0,(function*(){const n=yield this.apiClient.patch(`/v1/organizations/${e}/limits`,t,i);this.apiClient.validateResponse(n,204)}))}createOrganizationApplication(e,t,i){return n(this,void 0,void 0,(function*(){let n=yield this.apiClient.post(`/v1/organizations/${e}/applications`,t,i);return this.apiClient.validateResponse(n,200),t.id=n.data.id,t.id}))}getOrganizationApplications(e,t){return n(this,void 0,void 0,(function*(){let i=null==e?void 0:e.organizationId,n=i?`/v1/organizations/${i}/applications`:"/v1/organization-applications",o=yield this.apiClient.get(`${n}${e?e.toQueryString():""}`,t);this.apiClient.validateResponse(o,200);let r=[];for(let e of o.data.items)r.push(d.OrganizationApplicationFactory.create(e));return o.data.items=r,new s.ApiPageResponse(o.data)}))}getAllOrganizationApplications(){return n(this,arguments,void 0,(function*(e=new _.OrganizationApplicationFilter,t){let i=[];do{const n=yield this.getOrganizationApplications(e,t);i.push(...n.items),e.token=n.nextPageToken}while(e.token);return i}))}getOrganizationApplication(e,t,i){return n(this,void 0,void 0,(function*(){let n=yield this.apiClient.get(`/v1/organizations/${e}/applications/${t}`,i);return this.apiClient.validateResponse(n,200),d.OrganizationApplicationFactory.create(n.data)}))}updateOrganizationApplication(e,t,i,s){return n(this,void 0,void 0,(function*(){let n=yield this.apiClient.patch(`/v1/organizations/${e}/applications/${t}`,i,s);this.apiClient.validateResponse(n,204)}))}deleteOrganizationApplication(e,t,i){return n(this,void 0,void 0,(function*(){let n=yield this.apiClient.delete(`/v1/organizations/${e}/applications/${t}`,i);this.apiClient.validateResponse(n,204)}))}}t.OrganizationApiClient=p},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OrganizationApplicationFactory=void 0;const n=i(111);t.OrganizationApplicationFactory=class{static create(e){if(void 0===e)return;let t=e.type;if(t===n.OrganizationApplicationType.Lti13)return new n.Lti13OrganizationApplication(e);throw new Error(`Unsupported organization application: '${t}'`)}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SubscriberFilter=void 0;t.SubscriberFilter=class{constructor(e){this.topic=e?e.topic:void 0}toQueryString(){return this.topic?"?topic="+this.topic:""}}},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.EmailFormat=void 0,function(e){e.HTML="html",e.TEXT="text"}(n||(t.EmailFormat=n={}))},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.Topic=void 0,function(e){e.VacrGeneral="vacr_general",e.UscrGeneral="uscr_general"}(n||(t.Topic=n={}))},function(e,t,i){"use strict";var n=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(s,o){function r(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.NewsletterApiClient=void 0;const s=i(12),o=i(395);t.NewsletterApiClient=class{constructor(e,t,i){i?this.apiClient=i:(t&&t.headers&&!("User-Agent"in t.headers)&&(t.headers["User-Agent"]="newsletter-api-client"),this.apiClient=new s.ApiClient(e,t))}create(e,t){return n(this,void 0,void 0,(function*(){var i=yield this.apiClient.post("/v1/subscribers",e,t);return this.apiClient.validateResponse(i,200),e.id=i.data.id,e.id}))}get(e,t){return n(this,void 0,void 0,(function*(){var i=yield this.apiClient.get("/v1/subscribers"+(e?e.toQueryString():""),t);this.apiClient.validateResponse(i,200);let n=[];for(let e of i.data.items)n.push(o.Subscriber.fromJson(e));return n}))}getOne(e,t){return n(this,void 0,void 0,(function*(){var i=yield this.apiClient.get("/v1/subscribers/"+e,t);return this.apiClient.validateResponse(i,200),o.Subscriber.fromJson(i.data)}))}update(e,t){return n(this,void 0,void 0,(function*(){if(!e||!e.id)throw new Error("Could not update the subscriber because the subscriber ID is undefined.");let i=e.id,n=Object.assign({},e);delete n.id;var s=yield this.apiClient.patch("/v1/subscribers/"+i,n,t);this.apiClient.validateResponse(s,204)}))}delete(e,t){return n(this,void 0,void 0,(function*(){var i=yield this.apiClient.delete("/v1/subscribers/"+e,t);this.apiClient.validateResponse(i,204)}))}}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class n{}n.API="api",n.ROLE="role",n.COURSE="course",n.TEAM="team",n.EXERCISE="exercise",n.ORGANIZATION="organization",n.CATALOG="catalog",n.EXERCISE_GROUP="exercise-group",n.CTF_TEAM_LEADER="ctf_team_leader",n.CTF_TEAM="ctf_team",n.CAN_VIEW_SYSTEM_INFO="can_view_system_info",n.CAN_VIEW_ORGANIZATION_USERS="can_view_organization_users",n.CAN_VIEW_FLOATING_ORGANIZATION_USERS="can_view_floating_organization_users",n.CAN_SUBMIT_ABSTRACT="can_submit_abstract",n.CAN_VIEW_DEV_TOOLS="can_view_dev_tools",n.CAN_UPDATE_IDENTITY_ALTERNATE_ID="can_update_identity_alternate_id",n.SANDBOX="sandbox",n.CAN_INVITE_STUDENT="can_invite_student",n.CAN_INVITE_TA="can_invite_ta",n.CAN_INVITE_DEMO_INSTRUCTOR="can_invite_demoinstructor",n.CAN_INVITE_INSTRUCTOR="can_invite_instructor",n.CAN_INVITE_ADMIN="can_invite_admin",n.CAN_INVITE_SUPERADMIN="can_invite_superadmin",n.CAN_INVITE_ORGANIZATIONADMIN="can_invite_organizationadmin",n.CAN_INVITE_BILLINGADMIN="can_invite_billingadmin",n.CAN_INVITE_COURSEADMIN="can_invite_courseadmin",n.CAN_INVITE_COURSEWAREADMIN="can_invite_coursewareadmin",n.CAN_INVITE_COURSEWAREASSISTANT="can_invite_coursewareassistant",n.CAN_INVITE_COURSEWARECONTRIBUTOR="can_invite_coursewarecontributor",n.CAN_INVITE_COURSEWAREUSER="can_invite_coursewareuser",n.CAN_INVITE_CTFADMIN="can_invite_ctfadmin",n.CAN_INVITE_CTFPLAYER="can_invite_ctfplayer",n.CAN_INVITE_NEWSLETTERSUBSCRIBER="can_invite_newslettersubscriber",n.CAN_VIEW_USAGES="can_view_usages",n.CAN_APPROVE_PENDING_INVITATION="can_approve_pending_invitation",n.CAN_UPDATE_ORGANIZATION_CODE="can_update_organization_code",n.CAN_HARD_DELETE_INVITATIONS="can_hard_delete_invitations",n.CAN_VIEW_ALL_ORGANIZATION_INVITATIONS="can_view_all_organization_invitations",n.CAN_VIEW_ALL_COURSE_INVITATIONS="can_view_all_course_invitations",n.CAN_VIEW_ALL_COMPETITION_INVITATIONS="can_view_all_competition_invitations",n.CAN_VIEW_ALL_TEAMS_IN_COURSE="can_view_all_teams_in_course",n.CAN_VIEW_COURSE_RESOURCES="can_view_course_resources",n.CAN_CREATE_SUPPORT_TICKET="can_create_support_ticket",n.CAN_VIEW_DELETED_ITEMS="can_view_deleted_items",n.CAN_IMPERSONATE="can_impersonate",n.CAN_VIEW_AS="can_view_as",n.SUPPORT_CONTACT="support_contact",n.ORGANIZATION_SUPPORT_CONTACT="organization_support_contact",n.CAN_VIEW_STUDENT="can_view_student",n.CAN_VIEW_TA="can_view_ta",n.CAN_VIEW_INSTRUCTOR="can_view_instructor",n.CAN_VIEW_ADMIN="can_view_admin",n.CAN_VIEW_SUPERADMIN="can_view_superadmin",n.CAN_VIEW_ORGANIZATIONADMIN="can_view_organizationadmin",n.CAN_VIEW_BILLINGADMIN="can_view_billingadmin",n.CAN_VIEW_COURSEADMIN="can_view_courseadmin",n.CAN_VIEW_COURSEWAREADMIN="can_view_coursewareadmin",n.CAN_VIEW_COURSEWAREASSISTANT="can_view_coursewareassistant",n.CAN_VIEW_COURSEWARECONTRIBUTOR="can_view_coursewarecontributor",n.CAN_VIEW_COURSEWAREUSER="can_view_coursewareuser",n.CAN_VIEW_NEWSLETTERSUBSCRIBER="can_view_newslettersubscriber",n.CAN_UPDATE_STUDENT="can_update_student",n.CAN_UPDATE_TA="can_update_ta",n.CAN_UPDATE_INSTRUCTOR="can_update_instructor",n.CAN_UPDATE_ADMIN="can_update_admin",n.CAN_UPDATE_SUPERADMIN="can_update_superadmin",n.CAN_UPDATE_ORGANIZATIONADMIN="can_update_organizationadmin",n.CAN_UPDATE_BILLINGADMIN="can_update_billingadmin",n.CAN_UPDATE_COURSEADMIN="can_update_courseadmin",n.CAN_UPDATE_LAST_LOGIN="can_update_last_login",n.CAN_UPDATE_LAST_LOGIN_WITH="can_update_last_login_with",n.CAN_GET_INDIVIDUAL_USER="can_get_individual_user",n.CAN_VIEW_EXERCISE_GROUP_RECIPE_PARAMETERS="can_view_exercise_group_recipe_parameters",n.CAN_PROMOTE_SELF="can_promote_self",n.CAN_MANAGE_USERS_IN_ORGANIZATION="can_manage_users_in_organization",n.CAN_VIEW_UNPUBLISHED_CONTENT="can_view_unpublished_content",n.CAN_VIEW_UNLISTED_CONTENT="can_view_unlisted_content",n.CAN_VIEW_ARCHIVED_CONTENT="can_view_archived_content",n.CAN_UPDATE_COURSE_AVAILABILITY="can_update_course_availability",n.CAN_CREATE_COURSE_AVAILABILITY="can_create_course_availability",n.CAN_VIEW_COURSE_TIMESTAMP="can_view_course_timestamp",n.CAN_VIEW_ALL_COURSES_IN_ORGANIZATION="can_view_all_courses_in_organization",n.CAN_VIEW_COURSE="can_view_course",n.MAXIMUM_EXPECTED_USERS="maximum_expected_users",n.CAN_SET_ESTIMATED_USERS_COUNT="can_set_estimated_users_count",n.CAN_MANAGE_EXERCISE_GROUP_STATES="can_manage_exercise_group_states",n.CAN_SET_TERMINAL_EXERCISE_GROUP_FEATURE_STATUS="can_set_terminal_exercise_group_feature-status",n.CAN_UPDATE_ORGANIZATION_LOGO="can_update_organization_logo",n.CAN_UPDATE_ORGANIZATION_NAME="can_update_organization_name",n.CAN_VIEW_ORGANIZATION_STATS="can_view_organization_stats",n.CAN_VIEW_ORGANIZATION_CONTACT="can_view_organization_contact",n.CAN_VIEW_ORGANIZATION_EMAIL_TEMPLATES="can_view_organization_email_templates",n.CAN_UPDATE_ORGANIZATION_CUSTOM_ATTRIBUTES="can_update_organization_custom_attributes",n.CAN_UPDATE_EXERCISE_INTERNAL_STATE="can_update_exercise_internal_state",n.SYNC_EXERCISE_POOL_SYNC="sync_exercise-pool_sync",n.USER_DIRECT_PAY_EXERCISE_EARLY_ACCESS="user_direct_pay_exercise_early_access",n.CAN_DETACH_PERSISTENT_EXERCISE="can_detach_persistent_exercise",n.CAN_CREATE_SNAPSHOT_IN_ORGANIZATION="can_create_snapshot_in_organization",n.CAN_UPDATE_ORGANIZATION_SUBSCRIPTION="can_update_organization_subscription",n.CAN_UPDATE_ORGANIZATION_LIMIT="can_update_organization_limit",n.CAN_UPDATE_ORGANIZATION_ALL_LIMITS="can_update_organization_all_limits",n.CAN_UPDATE_ORGANIZATION_LIMIT_ON_ORGANIZATION_WITH_SUBSCRIPTIONS="can_update_organization_limit_on_organization_with_subscriptions",n.CAN_UPDATE_ORGANIZATION_CONTRACT_EXPIRATION="can_update_organization_contract_expiration",n.CAN_VIEW_BILLING="can_view_billing",n.CAN_UPDATE_BILLING="can_update_billing",n.CAN_MANAGE_ORGANIZATION="can_manage_organization",n.CAN_UPDATE_ORGANIZATION_INTERNAL_CUSTOM_ATTRIBUTES="can_update_organization_internal_custom_attributes",n.CAN_CREATE_CATALOG_ENTRY_WITH_ID="can_create_catalog_entry_with_id",n.CAN_CREATE_GLOBAL_CATALOG_ENTRY="can_create_global_catalog_entry",n.CAN_CREATE_ORGANIZATION_CATALOG_ENTRY="can_create_organization_catalog_entry",n.CAN_UPDATE_ORGANIZATION_CATALOG_ENTRY="can_update_organization_catalog_entry",n.CAN_VIEW_CATALOG_FAMILIES="can_view_catalog-families",n.CAN_VIEW_CATALOG_FAMILY_ACCESSES="can_view_catalog-family-accesses",n.CAN_CREATE_CATALOG_FAMILY_ACCESS="can_create_catalog-family-access",n.CAN_DELETE_CATALOG_FAMILY_ACCESS="can_delete_catalog-family-access",n.CAN_DELETE_ORGANIZATION_CATALOG_FAMILY="can_delete_organization_catalog-family",n.CAN_UPDATE_ORGANIZATION_CATALOG_FAMILY="can_update_organization_catalog-family",n.CAN_CHANGE_ORGANIZATION_STATUS="can_change_organization_status",n.CAN_CHANGE_TEAM_STATUS="can_change_team_status",n.CAN_CHANGE_COURSE_STATUS="can_change_course_status",n.CAN_UPDATE_EXERCISE_GROUP_INTERNAL_STATE="can_update_exercise-group_internal_state",n.CAN_CREATE_CATALOG_ENTRY="can_create_catalog_entry",n.CAN_UPDATE_CATALOG_STATUS="can_update_catalog_status",n.CAPTURE_FILE_DOWNLOADED_STATISTICS="capture_file_downloaded_statistics",n.CAN_CREATE_SCOPED_FILE="can_create_scoped_file",n.CAN_VIEW_SCOPED_FILE="can_view_scoped_file",n.LOCK_REENTRANT="lock_reentrant",n.CAN_VIEW_ALL_COMPETITIONS="can_view_all_competitions",n.CTF_COMPETITON="ctf_competition",n.CTF_COMPETITION="ctf_competition",n.CAN_REGISTER_CTF_PLAYER="can_register_ctf_player",n.CAN_REGISTER_CTF_ADMIN="can_register_ctf_admin",n.CAN_UPDATE_COMPETITION_LIMITS="can_update_competition_limits",n.CAN_UPDATE_COMPETITION_STATISTICS="can_update_competition_statistics",n.CAN_UPDATE_COMPETITION_SUBDOMAIN="can_update_competition_subdomain",n.CAN_VIEW_HIDDEN_SCOREBOARD="can_view_hidden_scoreboard",n.CAN_UPDATE_COMPETITION_HEATED_ENVIRONMENTS="can_update_competition_heated_environments",n.CAN_UPDATE_PLAYER_STATISTICS="can_update_player_statistics",n.CAN_VIEW_ALL_PLAYERS_IN_COMPETITION="can_view_all_players_in_competition",n.CAN_VIEW_ALL_PLAYERS_IN_ORGANIZATION="can_view_all_players_in_organization",n.CAN_PLAY_CTF_CHALLENGES="can_play_ctf_challenges",n.CAN_UPDATE_PLAYER_STATUS="can_update_player_status",n.CAN_UPDATE_CHALLENGE_PROTECTED_INFORMATION="can_update_challenge_protected_information",n.CAN_VIEW_PLAYERS_ON_TEAM="can_view_players_on_team",n.CAN_UPDATE_TEAM_STATISTICS="can_update_team_statistics",n.CAN_CREATE_TEAM_IN_ORGANIZATION="can_create_team_in_organization",n.CAN_SKIP_TEAM_LEADER_VALIDATION="can_skip_team_leader_validation",n.CAN_MANAGE_TEAMS_IN_COMPETITION="can_manage_teams_in_competition",n.CAN_MANAGE_TEAMS_IN_ORGANIZATION="can_manage_teams_in_organization",n.CAN_HIDE_TEAM="can_hide_team",n.CAN_VIEW_HIDDEN_TEAMS="can_view_hidden_teams",n.CAN_CREATE_LIBRARY_ENTRY_IN_ORGANIZATION="can_create_library_entry_in_organization",n.CAN_CREATE_LIBRARY_ENTRY_IN_COMPETITION="can_create_library_entry_in_competition",n.CAN_DELETE_LIBRARY_ENTRY_IN_ORGANIZATION="can_delete_library_entry_in_organization",n.CAN_VIEW_LIBRARY_ENTRIES_IN_ORGANIZATION="can_view_library_entries_in_organization",n.CAN_VIEW_LIBRARY_ENTRIES_IN_COMPETITION="can_view_library_entries_in_competition",n.CAN_UPDATE_LIBRARY_STATISTICS="can_update_library_statistics",n.CAN_VIEW_FLAGS_AND_HINTS="can_view_flags_and_hints",n.CAN_UPDATE_CHALLENGE_STATISTICS="can_update_challenge_statistics",n.CAN_VIEW_HIDDEN_CHALLENGES="can_view_hidden_challenges",n.CAN_UPDATE_DEFAULT_CHALLENGE="can_update_default_challenge",n.CAN_CREATE_ENVIRONMENT_ARTIFACT="can_create_environment_artifact",n.CAN_MANAGE_CHALLENGE_LOCKS="can_manage_challenge_locks",n.CAN_MANAGE_SUBMISSIONS_IN_COMPETITION="can_manage_submissions_in_competition",n.CAN_MANAGE_SUBMISSIONS_IN_ORGANIZATION="can_manage_submissions_in_organization",n.CAN_CREATE_TAGGED_FILE="can_create_tagged_file",n.CAN_CREATE_COURSE_FILE="can_create_course_file",n.CAN_CREATE_ORGANIZATION_FILE="can_create_organization_file",n.CAN_CREATE_COURSEWARE_FILE="can_create_courseware_file",n.CAN_UPDATE_FILE_STATUS="can_update_file_status",n.CAN_VIEW_PLAYER_HISTORY="can_view_player_history",n.CAN_VIEW_ALL_JOBS="can_view_all_jobs",n.CAN_CREATE_UNLIMITED_JOBS="can_create_unlimited_jobs",n.CAN_VIEW_WELCOME_ALERT="can_view_welcome_alert",n.CAN_VIEW_INSTRUCTOR_SURVEY="can_view_instructor_survey",n.CAN_PREVIEW_INSTRUCTOR_SURVEY="can_preview_instructor_survey",n.CAN_VIEW_NEW_UI="can_view_new_ui",n.CAN_NOT_VIEW_NEW_UI="can_not_view_new_ui",n.CAN_VIEW_AUDIT_EVENT="can_view_audit_event",n.CAN_VIEW_VENDIBLES="can_view_vendibles",n.CAN_VIEW_PAYMENTS="can_view_payments",n.CAN_VIEW_OTHER_USER_PROGRESS="can_view_other_user_progress",t.default=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class n{}n.ANY="any",n.TRUE="true",n.UNDEFINED="",n.LIST_V1_CONFIGURATIONS="list_v1_configurations",n.GLOBAL="global",n.MINE="mine",n.USER="user",n.STUDENT="student",n.TA="ta",n.INSTRUCTOR="instructor",n.COURSE_REQUESTER="courserequester",n.COURSE_ADMIN="courseadmin",n.BILLING_ADMIN="billingadmin",n.ORGANIZATION_ADMIN="organizationadmin",n.SUPER_ADMIN="superadmin",n.NEWSLETTER_SUBSCRIBER="newslettersubscriber",n.COURSEWARE_ADMIN="coursewareadmin",n.COURSEWARE_CONTRIBUTOR="coursewarecontributor",n.COURSEWARE_USER="coursewareuser",n.DELETE_V1_TOKEN="delete_v1_token",n.POST_V1_BLACKLIST="post_v1_blacklist",n.LIST_V1_BLACKLISTS="list_v1_blacklists",n.GET_V1_BLACKLIST="get_v1_blacklist",n.DELETE_V1_BLACKLIST="delete_v1_blacklist",n.PUT_V1_SSO="put_v1_sso",n.POST_V1_IDENTITY_ALTERNATE_ID="post_v1_identity_alternate-id",n.COURSE="course",n.LIST_V1_CONTENTS="list_v1_contents",n.GET_V1_CONTENT="get_v1_content",n.POST_V1_CONTENT="post_v1_content",n.PATCH_V1_CONTENT="patch_v1_content",n.DELETE_V1_CONTENT="delete_v1_content",n.POST_V1_FILE="post_v1_file",n.GET_V1_FILE="get_v1_file",n.DELETE_V1_FILE="delete_v1_file",n.LIST_V1_KNOWLEDGES="list_v1_knowledges",n.GET_V1_KNOWLEDGE="get_v1_knowledge",n.POST_V1_KNOWLEDGE="post_v1_knowledge",n.PATCH_V1_KNOWLEDGE="patch_v1_knowledge",n.DELETE_V1_KNOWLEDGE="delete_v1_knowledge",n.LIST_V1_CONTRIBUTORS="list_v1_contributors",n.GET_V1_CONTRIBUTOR="get_v1_contributor",n.POST_V1_CONTRIBUTOR="post_v1_contributor",n.PATCH_V1_CONTRIBUTOR="patch_v1_contributor",n.DELETE_V1_CONTRIBUTOR="delete_v1_contributor",n.LIST_V1_FILE_STATISTICS="list_v1_file-statistics",n.LIST_V1_COURSEWARE_METRICS="list_v1_courseware-metrics",n.POST_V1_CONTENT_FEEDBACK="post_v1_content_feedback",n.DELETE_V1_NEWS="delete_v1_news",n.DELETE_V1_EVENTS="delete_v1_event",n.GET_V1_CREDIT="get_v1_credit",n.PATCH_V1_CREDIT="patch_v1_credit",n.LIST_V1_CREDIT_BALANCES="list_v1_credit-balances",n.LIST_V1_ORGANIZATION_CREDIT_BALANCES="list_v1_organization_credit-balances",n.POST_V1_ORGANIZATION_CREDIT="post_v1_organization_credit",n.LIST_V1_ORGANIZATION_CREDITS="list_v1_organization_credits",n.POST_V1_ORGANIZATION_BALANCE_ACTIVITY="post_v1_organization_balance-activity",n.LIST_V1_ENTITLEMENTS="list_v1_entitlements",n.POST_V1_RULE="post_v1_rule",n.LIST_V1_RULES="list_v1_rules",n.GET_V1_RULE="get_v1_rule",n.PATCH_V1_RULE="patch_v1_rule",n.DELETE_V1_RULE="delete_v1_rule",n.POST_V1_BUSINESS_UNIT="post_v1_business-unit",n.LIST_V1_BUSINESS_UNITS="list_v1_business-units",n.GET_V1_BUSINESS_UNIT="get_v1_business-unit",n.PATCH_V1_BUSINESS_UNIT="patch_v1_business-unit",n.DELETE_V1_BUSINESS_UNIT="delete_v1_business-unit",n.POST_V1_INVITATION="post_v1_invitation",n.LIST_V1_INVITATIONS="list_v1_invitations",n.GET_V1_INVITATION="get_v1_invitation",n.PATCH_V1_INVITATION="patch_v1_invitation",n.PUT_V1_INVITATION_RESEND="put_v1_invitation_resend",n.DELETE_V1_INVITATION="delete_v1_invitation",n.POST_V1_USER="post_v1_user",n.LIST_V1_USERS="list_v1_users",n.GET_V1_USER="get_v1_user",n.PATCH_V1_USER="patch_v1_user",n.PATCH_V1_USER_RECOVER="patch_v1_user_recover",n.DELETE_V1_USER="delete_v1_user",n.PUT_V1_USER_STATUS="put_v1_user_status",n.PUT_V1_USER_ORGANIZATION_REMOVE="put_v1_user_organization_remove",n.PUT_V1_USER_COMPETITION_REMOVE="put_v1_user_competition_remove",n.PATCH_V1_USER_ORGANIZATION_ROLE="patch_v1_user_organization_role",n.PATCH_V1_USER_COMPETITION_ROLE="patch_v1_user_competition_role",n.ORGANIZATION="organization",n.CTF_COMPETITION="ctf_competition",n.POST_V1_COURSE="post_v1_course",n.LIST_V1_COURSES="list_v1_courses",n.GET_V1_COURSE="get_v1_course",n.PATCH_V1_COURSE="patch_v1_course",n.PATCH_V1_COURSE_RECOVER="patch_v1_course_recover",n.POST_V1_COURSE_SUPPORT="post_v1_course_support",n.DELETE_V1_COURSE="delete_v1_course",n.DELETE_V1_COURSE_SYNC="delete_v1_course_sync",n.PUT_V1_COURSE_APPROVE="put_v1_course_approve",n.PUT_V1_COURSE_REJECT="put_v1_course_reject",n.LIST_V1_COURSE_USERS="list_v1_course_users",n.DELETE_V1_COURSE_USER="delete_v1_course_user",n.DELETE_V1_COURSE_USER_SYNC="delete_v1_course_user_sync",n.PUT_V1_COURSE_CODE="put_v1_course_code",n.DELETE_V1_COURSE_CODE="delete_v1_course_code",n.GET_V1_COURSECODE="get_v1_course-code",n.CONTACT_TA="ta",n.CONTACT_INSTRUCTOR="instructor",n.CONTACT_COURSEADMIN="courseadmin",n.CONTACT_SUPERADMIN="superadmin",n.PUT_V1_COURSE_USER_ROLE="put_v1_course_user_role",n.PATCH_V1_USER_COURSE_ROLE="patch_v1_user_course_role",n.LIST_V1_COURSE_APPLICATIONS="list_v1_course_applications",n.POST_V1_COURSE_APPLICATION="post_v1_course_application",n.PATCH_V1_COURSE_APPLICATION="patch_v1_course_application",n.DELETE_V1_COURSE_APPLICATION="delete_v1_course_application",n.POST_V1_COURSE_TEAM="post_v1_course_team",n.LIST_V1_COURSE_TEAMS="list_v1_course_teams",n.GET_V1_COURSE_TEAM="get_v1_course_team",n.PACTH_V1_COURSE_TEAM="patch_v1_course_team",n.DELETE_V1_COURSE_TEAM="delete_v1_course_team",n.PATCH_V1_COURSE_TEAM_TRANSFER="patch_v1_course_team_transfer",n.MY_TEAM="my_team",n.POST_V1_COURSE_EXERCISE_GROUP="post_v1_course_exercise-group",n.GET_V1_COURSE_EXERCISE_GROUP="get_v1_course_exercise-group",n.LIST_V1_COURSE_EXERCISE_GROUPS="list_v1_course_exercise-groups",n.LIST_V1_COURSE_EXERCISE_GROUP_EXERCISES="list_v1_course_exercise-group_exercises",n.PATCH_V1_COURSE_EXERCISE_GROUP="patch_v1_course_exercise-group",n.GET_V1_COURSE_EXERCISE_GROUP_EXERCISE="get_v1_course_exercise-group_exercise",n.DELETE_V1_COURSE_EXERCISE_GROUP="delete_v1_course_exercise-group",n.DELETE_V1_COURSE_EXERCISE_GROUP_SYNC="delete_v1_course_exercise-group_sync",n.PATCH_V1_COURSE_EXERCISE_GROUP_FEATURE="patch_v1_course_exercise-group_feature",n.DELETE_V1_EXERCISE_GROUP_NOTE="delete_v1_exercise-group_note",n.POST_V1_COURSE_TEAM_EXERCISE="post_v1_course_team_exercise",n.LIST_V1_COURSE_TEAM_EXERCISES="list_v1_course_team_exercises",n.GET_V1_COURSE_TEAM_EXERCISE="get_v1_course_team_exercise",n.PATCH_V1_COURSE_TEAM_EXERCISE="patch_v1_course_team_exercise",n.PUT_V1_COURSE_TEAM_EXERCISE_START="put_v1_course_team_exercise_start",n.PUT_V1_COURSE_TEAM_EXERCISE_STOP="put_v1_course_team_exercise_stop",n.PUT_V1_COURSE_TEAM_EXERCISE_RESET="put_v1_course_team_exercise_reset",n.PUT_V1_COURSE_TEAM_EXERCISE_SNAPSHOT="put_v1_course_team_exercise_snapshot",n.DELETE_V1_COURSE_TEAM_EXERCISE="delete_v1_course_team_exercise",n.LIST_V1_EXERCISE_GROUP_EXERCISES="list_v1_exercise-group_exercises",n.LIST_V1_ORGANIZATION_USERS="list_v1_organization_users",n.PUT_V1_INVITATION_APPROVE="put_v1_invitation_approve",n.PUT_V1_INVITATION_REJECT="put_v1_invitation_reject",n.POST_V1_EXERCISE="post_v1_exercise",n.LIST_V1_EXERCISES="list_v1_exercises",n.GET_V1_EXERCISE="get_v1_exercise",n.PATCH_V1_EXERCISE="patch_v1_exercise",n.DELETE_V1_EXERCISE="delete_v1_exercise",n.PUT_V1_EXERCISE_START="put_v1_exercise_start",n.PUT_V1_EXERCISE_STOP="put_v1_exercise_stop",n.PUT_V1_EXERCISE_RESET="put_v1_exercise_reset",n.PUT_V1_EXERCISE_SNAPSHOT="put_v1_exercise_snapshot",n.PUT_V1_EXERCISE_JOIN="put_v1_exercise_join",n.PUT_V1_EXERCISE_RESTART="put_v1_exercise_restart",n.POST_V1_CATALOG="post_v1_catalog",n.LIST_V1_CATALOGS="list_v1_catalogs",n.GET_V1_CATALOG="get_v1_catalog",n.PATCH_V1_CATALOG="patch_v1_catalog",n.DELETE_V1_CATALOG="delete_v1_catalog",n.PATCH_V1_CATALOG_FAMILY="patch_v1_catalog-family",n.DELETE_V1_CATALOG_FAMILY="delete_v1_catalog-family",n.PUT_V1_CATALOG_FAMILY_OWNER="put_v1_catalog-family_owner",n.LIST_V1_CATALOG_FAMILIES="list_v1_catalog-families",n.PUT_V1_CATALOG_FAMILY_ACCESS_ACCEPT="put_v1_catalog-family-access_accept",n.POST_V1_ORGANIZATION="post_v1_organization",n.LIST_V1_ORGANIZATION="list_v1_organizations",n.GET_V1_ORGANIZATION="get_v1_organization",n.PATCH_V1_ORGANIZATION="patch_v1_organization",n.DELETE_V1_ORGANIZATION="delete_v1_organization",n.DELETE_V1_ORGANIZATION_SYNC="delete_v1_organization_sync",n.POST_V1_ORGANIZATION_SUPPORT="post_v1_organization_support",n.PUT_V1_ORGANIZATION_STATISTIC="put_v1_organization_statistic",n.LIST_V1_ORGANIZATION_TEMPLATES="list_v1_organization_templates",n.GET_V1_ORGANIZATION_TEMPLATE="get_v1_organization_template",n.PATCH_V1_ORGANIZATION_TEMPLATE="patch_v1_organization_template",n.DELETE_V1_ORGANIZATION_TEMPLATE="delete_v1_organization_template",n.PUT_V1_ORGANIZATIONCODE="put_v1_organization-code",n.PUT_V1_ORGANIZATION_PARENTID="put_v1_organization_parentid",n.LIST_V1_ORGANIZATION_APPLICATIONS="list_v1_organization_applications",n.POST_V1_ORGANIZATION_APPLICATION="post_v1_organization_application",n.PATCH_V1_ORGANIZATION_APPLICATION="patch_v1_organization_application",n.DELETE_V1_ORGANIZATION_APPLICATION="delete_v1_organization_application",n.CAN_UPDATE_ORGANIZATION_ALL_LIMITS="can_update_organization_all_limits",n.PATCH_V1_ORGANIZATION_LIMITS="patch_v1_organization_limit",n.PUT_V1_ORGANIZATION_ALTERNATE_ID="put_v1_organization_alternateid",n.POST_V1_SUBSCRIPTION="post_v1_subscription",n.LIST_V1_SUBSCRIPTIONS="list_v1_subscriptions",n.GET_V1_SUBSCRIPTION="get_v1_subscription",n.PATCH_V1_SUBSCRIPTION="patch_v1_subscription",n.PUT_V1_SUBSCRIPTION_RENEW="put_v1_subscription_renew",n.DELETE_V1_SUBSCRIPTION="delete_v1_subscription",n.LIST_V1_ORGANIZATION_SUBSCRIBED_PRODUCTS="list_v1_organization_subscribed-products",n.POST_V1_PRODUCT="post_v1_product",n.LIST_V1_PRODUCTS="list_v1_products",n.GET_V1_PRODUCT="get_v1_product",n.PATCH_V1_PRODUCT="patch_v1_product",n.DELETE_V1_PRODUCT="delete_v1_product",n.PUT_V1_USAGE="put_v1_usage",n.LIST_V1_USAGES="list_v1_usages",n.POST_V1_INVOICE="post_v1_invoice",n.LIST_V1_INVOICES="list_v1_invoices",n.GET_V1_INVOICE="get_v1_invoice",n.PUT_V1_INVOICE_PAID="put_v1_invoice_paid",n.PUT_V1_INVOICE_CANCELED="put_v1_invoice_canceled",n.LIST_V1_SEARCH="list_v1_search",n.LIST_V1_SURVEYS="list_v1_surveys",n.GET_V1_SURVEY="get_v1_survey",n.POST_V1_SURVEY="post_v1_survey",n.PATCH_V1_SURVEY="patch_v1_survey",n.DELETE_V1_SURVEY="delete_v1_survey",n.POST_V1_SURVEY_SUBMISSION="post_v1_survey_submission",n.LIST_V1_SURVEY_SUBMISSIONS="list_v1_survey_submissions",n.LIST_V1_SUBSCRIBERS="list_v1_subscribers",n.GET_V1_SUBSCRIBER="get_v1_subscriber",n.POST_V1_SUBSCRIBER="post_v1_subscriber",n.PATCH_V1_SUBSCRIBER="patch_v1_subscriber",n.DELETE_V1_SUBSCRIBER="delete_v1_subscriber",n.POST_V1_MESSAGE_SYNC="post_v1_message_sync",n.POST_V1_MESSAGE="post_v1_message",n.LIST_V1_MESSAGES="list_v1_messages",n.GET_V1_MESSAGE="get_v1_message",n.PATCH_V1_MESSAGE="patch_v1_message",n.DELETE_V1_MESSAGE="delete_v1_message",n.POST_V1_COMPETITION="post_v1_competition",n.LIST_V1_COMPETITIONS="list_v1_competitions",n.GET_V1_COMPETITION="get_v1_competition",n.PATCH_V1_COMPETITION="patch_v1_competition",n.DELETE_V1_COMPETITION="delete_v1_competition",n.DELETE_V1_COMPETITION_SYNC="delete_v1_competition_sync",n.LIST_V1_COMPETITION_LIMITS="list_v1_competition_limits",n.PATCH_V1_COMPETITION_LIMIT="patch_v1_competition_limit",n.PUT_V1_COMPETITION_SNAPSHOT="put_v1_competition_snapshot",n.POST_V1_PLAYER="post_v1_player",n.LIST_V1_PLAYERS="list_v1_players",n.GET_V1_PLAYER="get_v1_player",n.PATCH_V1_PLAYER="patch_v1_player",n.DELETE_V1_PLAYER="delete_v1_player",n.PUT_V1_PLAYERS_ASSIGN="put_v1_player_assign",n.PUT_V1_PLAYERS_UNASSIGN="put_v1_player_unassign",n.PUT_V1_COMPETITION_IMPORT="put_v1_competition_import",n.POST_V1_CHALLENGE="post_v1_challenge",n.LIST_V1_CHALLENGES="list_v1_challenges",n.GET_V1_CHALLENGE="get_v1_challenge",n.PATCH_V1_CHALLENGE="patch_v1_challenge",n.DELETE_V1_CHALLENGE="delete_v1_challenge",n.PUT_V1_CHALLENGE_SUBMISSION="put_v1_challenge_submission",n.PUT_V1_CHALLENGE_HINT="put_v1_challenge_hint",n.GET_V1_CHALLENGE_HINT="get_v1_challenge_hint",n.PUT_V1_CHALLENGE_STATISTIC="put_v1_challenge_statistic",n.PUT_V1_CHALLENGE_TEAM_SOLVE="put_v1_challenge_team_solve",n.PUT_V1_CHALLENGE_TEAM_UNSOLVE="put_v1_challenge_team_unsolve",n.PUT_V1_CHALLENGE_SAVE="put_v1_challenge_save",n.PUT_V1_CHALLENGE_ENVIRONMENT_LAUNCH="put_v1_challenge-environment_launch",n.POST_V1_LIBRARY_ENTRY="post_v1_library-entry",n.LIST_V1_LIBRARY_ENTRIES="list_v1_library-entries",n.GET_V1_LIBRARY_ENTRY="get_v1_library-entry",n.PATCH_V1_LIBRARY_ENTRY="patch_v1_library-entry",n.DELETE_V1_LIBRARY_ENTRY="delete_v1_library-entry",n.PUT_V1_LIBRARY_ENTRY_STATISTIC="put_v1_library-entry_statistic",n.PUT_V1_IMPORT="put_v1_import",n.PUT_V1_EXPORT="put_v1_export",n.LIST_V1_TEAMS="list_v1_teams",n.GET_V1_TEAM="get_v1_team",n.POST_V1_TEAM="post_v1_team",n.PATCH_V1_TEAM="patch_v1_team",n.DELETE_V1_TEAM="delete_v1_team",n.PUT_V1_TEAM_REJECT="put_v1_team_reject",n.PUT_V1_TEAM_KICK="put_v1_team_kick",n.PUT_V1_TEAM_APPROVE="put_v1_team_approve",n.PUT_V1_TEAM_JOIN="put_v1_team_join",n.PUT_V1_TEAM_PROMOTE="put_v1_team_promote",n.LIST_V1_SUBMISSIONS="list_v1_submissions",n.GET_V1_SUBMISSION="get_v1_submission",n.POST_V1_SUBMISSION="post_v1_submission",n.PATCH_V1_SUBMISSION="patch_v1_submission",n.DELETE_V1_SUBMISSION="delete_v1_submission",n.LIST_V1_SUBMISSION_STATISTICS_COMPETITION_TEAM_PLAYERS="list_v1_submission_competition_team_players",n.LIST_V1_SUBMISSION_STATISTICS_COMPETITION_PLAYERS="list_v1_submission_competition_players",n.LIST_V1_SUBMISSION_STATISTICS_COMPETITION_TEAMS="list_v1_submission_competition_teams",n.GET_V1_SUBMISSION_STATISTICS_COMPETITION_TEAM_CHALLENGE="get_v1_submission_competition_team_challenge",n.GET_V1_ARCHIVE_CATEGORY_TARGET="get_v1_archive-category_target",n.POST_V1_ARCHIVE="post_v1_archive",n.GET_V1_STATISTIC_METRIC="get_v1_statistic_metric",n.LIST_v1_STATISTICS="list_v1_statistics",n.LIST_V1_PAGES="list_v1_pages",n.GET_V1_PAGE="get_v1_page",n.POST_V1_PAGE="post_v1_page",n.PATCH_V1_PAGE="patch_v1_page",n.DELETE_V1_PAGE="delete_v1_page",n.LIST_V1_PAGE_SECTIONS="list_v1_page_sections",n.GET_V1_PAGE_SECTION="get_v1_page_section",n.POST_V1_PAGE_SECTION="post_v1_page_section",n.PATCH_V1_PAGE_SECTION="patch_v1_page_section",n.DELETE_V1_PAGE_SECTION="delete_v1_page_section",n.DELETE_V1_SCHEDULE_SYNC="delete_v1_schedule_sync",n.GET_V1_EVENT="get_v1_event",n.LIST_V1_EVENTS="list_v1_events",n.POST_V1_ORGANIZATION_VENDIBLE="post_v1_organization_vendible",n.POST_V1_VENDIBLE="post_v1_vendible",n.POST_V1_CREDENTIAL="post_v1_credential",n.DELETE_V1_CREDENTIAL="delete_v1_credential",n.PATCH_V1_CREDENTIAL="patch_v1_credential",n.PUT_V1_CREDENTIAL_RESET="put_v1_credential_reset",n.LIST_V1_EXERCISE_ENVIRONMENT_LESSON_SUBMISSION="list_v1_exercise-environment_lesson_submissions",n.LIST_V1_EXERCISE_ENVIRONMENT_LESSON_USER_SUBMISSION="list_v1_exercise-environment_lesson_user_submissions",n.PUT_V1_EXERCISE_ENVIRONMENT_LESSON_TEAM_USER_SUBMISSION="put_v1_exercise-environment_lesson_team_user_submission",n.LIST_V1_LESSONS="list_v1_lessons",n.GET_V1_EXERCISE_DIAGNOSTIC="get_v1_exercise-diagnostic",n.PUT_V1_EXERCISE_DIAGNOSTIC_INITIATE="put_v1_exercise-diagnostic_initiate",n.LIST_V1_EXERCISE_DIAGNOSTIC_DATA_POINTS="list_v1_exercise-diagnostic_data-points",t.default=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class n{}n.ANY="any",n.UNDEFINED="",t.default=n}]]);
//# sourceMappingURL=cyber-range.build.js.map