@energycap/energycapid-sdk-angular 1.2108.45 → 1.2112.48-develop-20211222-1001

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (121) hide show
  1. package/api/api.d.ts +3 -1
  2. package/api/application.service.d.ts +1 -1
  3. package/api/applicationInstance.service.d.ts +69 -3
  4. package/api/auth.service.d.ts +1 -1
  5. package/api/dataSource.service.d.ts +1 -1
  6. package/api/domainJoinType.service.d.ts +57 -0
  7. package/api/environment.service.d.ts +1 -1
  8. package/api/me.service.d.ts +1 -1
  9. package/api/organization.service.d.ts +218 -3
  10. package/api/organizationApplication.service.d.ts +1 -1
  11. package/api/user.service.d.ts +51 -1
  12. package/bundles/energycap-energycapid-sdk-angular.umd.js +1527 -176
  13. package/bundles/energycap-energycapid-sdk-angular.umd.js.map +1 -1
  14. package/bundles/energycap-energycapid-sdk-angular.umd.min.js +1 -1
  15. package/bundles/energycap-energycapid-sdk-angular.umd.min.js.map +1 -1
  16. package/energycap-energycapid-sdk-angular.metadata.json +1 -1
  17. package/esm2015/api/api.js +4 -2
  18. package/esm2015/api/application.service.js +2 -2
  19. package/esm2015/api/applicationInstance.service.js +177 -5
  20. package/esm2015/api/auth.service.js +2 -2
  21. package/esm2015/api/dataSource.service.js +2 -2
  22. package/esm2015/api/domainJoinType.service.js +135 -0
  23. package/esm2015/api/environment.service.js +2 -2
  24. package/esm2015/api/me.service.js +2 -2
  25. package/esm2015/api/organization.service.js +564 -5
  26. package/esm2015/api/organizationApplication.service.js +2 -2
  27. package/esm2015/api/user.service.js +132 -2
  28. package/esm2015/api.module.js +3 -2
  29. package/esm2015/model/aPIFilter.js +14 -0
  30. package/esm2015/model/aPIOrderBy.js +14 -0
  31. package/esm2015/model/allUserPermissionsResponse.js +2 -2
  32. package/esm2015/model/applicationInstanceDetailResponse.js +17 -0
  33. package/esm2015/model/applicationInstanceRedirectResponse.js +2 -2
  34. package/esm2015/model/applicationInstanceResponse.js +2 -2
  35. package/esm2015/model/applicationInstanceUserResponse.js +17 -0
  36. package/esm2015/model/applicationResponse.js +2 -2
  37. package/esm2015/model/changePasswordRequest.js +2 -2
  38. package/esm2015/model/createOrganizationRequest.js +14 -0
  39. package/esm2015/model/dataSourceResponse.js +2 -2
  40. package/esm2015/model/dataSourceUpdateRequest.js +2 -2
  41. package/esm2015/model/domainAccessControlResponse.js +17 -0
  42. package/esm2015/model/domainJoinTypeResponse.js +17 -0
  43. package/esm2015/model/entityPermission.js +2 -2
  44. package/esm2015/model/environmentResponse.js +2 -2
  45. package/esm2015/model/hierarchicalOrganizations.js +14 -0
  46. package/esm2015/model/hierarchicalOrganizations2.js +14 -0
  47. package/esm2015/model/inviteUserRequest.js +2 -2
  48. package/esm2015/model/linkDataSourceRequest.js +2 -2
  49. package/esm2015/model/loginResponse.js +2 -2
  50. package/esm2015/model/loginSourceResponse.js +2 -2
  51. package/esm2015/model/models.js +18 -1
  52. package/esm2015/model/organizationAccessControlResponse.js +17 -0
  53. package/esm2015/model/organizationApplicationResponse.js +2 -2
  54. package/esm2015/model/organizationDetailResponse.js +17 -0
  55. package/esm2015/model/organizationResponse.js +2 -2
  56. package/esm2015/model/organizationUserResponse.js +14 -0
  57. package/esm2015/model/resetPasswordRequest.js +2 -2
  58. package/esm2015/model/roleEnum.js +2 -2
  59. package/esm2015/model/selfCreateUserRequest.js +2 -2
  60. package/esm2015/model/updateMeRequest.js +2 -2
  61. package/esm2015/model/updateOrganizationAccessControlRequest.js +14 -0
  62. package/esm2015/model/updateOrganizationDetailsRequest.js +14 -0
  63. package/esm2015/model/userApplicationInstanceResponse.js +17 -0
  64. package/esm2015/model/userAuthResultEnum.js +2 -2
  65. package/esm2015/model/userChild.js +17 -0
  66. package/esm2015/model/userLoginRequest.js +2 -2
  67. package/esm2015/model/userOrganizationResponse.js +17 -0
  68. package/esm2015/model/userPermissionRequest.js +2 -2
  69. package/esm2015/model/userPermissionResponse.js +2 -2
  70. package/esm2015/model/userResponse.js +2 -2
  71. package/esm2015/model/userStatusEnum.js +2 -2
  72. package/esm2015/model/validatePasswordRequest.js +2 -2
  73. package/esm2015/model/validatePasswordResponse.js +2 -2
  74. package/fesm2015/energycap-energycapid-sdk-angular.js +1548 -293
  75. package/fesm2015/energycap-energycapid-sdk-angular.js.map +1 -1
  76. package/model/aPIFilter.d.ts +13 -0
  77. package/model/aPIOrderBy.d.ts +13 -0
  78. package/model/allUserPermissionsResponse.d.ts +1 -1
  79. package/model/applicationInstanceDetailResponse.d.ts +16 -0
  80. package/model/applicationInstanceRedirectResponse.d.ts +1 -1
  81. package/model/applicationInstanceResponse.d.ts +1 -1
  82. package/model/applicationInstanceUserResponse.d.ts +16 -0
  83. package/model/applicationResponse.d.ts +1 -1
  84. package/model/changePasswordRequest.d.ts +1 -1
  85. package/model/createOrganizationRequest.d.ts +13 -0
  86. package/model/dataSourceResponse.d.ts +1 -1
  87. package/model/dataSourceUpdateRequest.d.ts +1 -1
  88. package/model/domainAccessControlResponse.d.ts +22 -0
  89. package/model/domainJoinTypeResponse.d.ts +28 -0
  90. package/model/entityPermission.d.ts +1 -1
  91. package/model/environmentResponse.d.ts +1 -1
  92. package/model/hierarchicalOrganizations.d.ts +42 -0
  93. package/model/hierarchicalOrganizations2.d.ts +21 -0
  94. package/model/inviteUserRequest.d.ts +1 -1
  95. package/model/linkDataSourceRequest.d.ts +1 -1
  96. package/model/loginResponse.d.ts +1 -1
  97. package/model/loginSourceResponse.d.ts +1 -1
  98. package/model/models.d.ts +17 -0
  99. package/model/organizationAccessControlResponse.d.ts +32 -0
  100. package/model/organizationApplicationResponse.d.ts +1 -1
  101. package/model/organizationDetailResponse.d.ts +28 -0
  102. package/model/organizationResponse.d.ts +1 -1
  103. package/model/organizationUserResponse.d.ts +13 -0
  104. package/model/resetPasswordRequest.d.ts +1 -1
  105. package/model/roleEnum.d.ts +1 -1
  106. package/model/selfCreateUserRequest.d.ts +1 -1
  107. package/model/updateMeRequest.d.ts +1 -1
  108. package/model/updateOrganizationAccessControlRequest.d.ts +13 -0
  109. package/model/updateOrganizationDetailsRequest.d.ts +13 -0
  110. package/model/userApplicationInstanceResponse.d.ts +16 -0
  111. package/model/userAuthResultEnum.d.ts +1 -1
  112. package/model/userChild.d.ts +36 -0
  113. package/model/userLoginRequest.d.ts +1 -1
  114. package/model/userOrganizationResponse.d.ts +16 -0
  115. package/model/userPermissionRequest.d.ts +1 -1
  116. package/model/userPermissionResponse.d.ts +1 -1
  117. package/model/userResponse.d.ts +1 -1
  118. package/model/userStatusEnum.d.ts +1 -1
  119. package/model/validatePasswordRequest.d.ts +1 -1
  120. package/model/validatePasswordResponse.d.ts +1 -1
  121. package/package.json +1 -1
@@ -355,7 +355,7 @@
355
355
  return Configuration;
356
356
  }());
357
357
 
358
- var RequestMethod$8 = {
358
+ var RequestMethod$9 = {
359
359
  Get: 'get',
360
360
  Post: 'post',
361
361
  Put: 'put',
@@ -474,7 +474,7 @@
474
474
  withCredentials: this.configuration.withCredentials,
475
475
  observe: 'response'
476
476
  };
477
- return this.http.request(RequestMethod$8.Get, path, requestOptions);
477
+ return this.http.request(RequestMethod$9.Get, path, requestOptions);
478
478
  };
479
479
  return ApplicationService;
480
480
  }());
@@ -487,7 +487,7 @@
487
487
  { type: Configuration, decorators: [{ type: core.Optional }] }
488
488
  ]; };
489
489
 
490
- var RequestMethod$7 = {
490
+ var RequestMethod$8 = {
491
491
  Get: 'get',
492
492
  Post: 'post',
493
493
  Put: 'put',
@@ -548,6 +548,23 @@
548
548
  }
549
549
  return false;
550
550
  };
551
+ /**
552
+ * Provides details to an application instance
553
+ *
554
+ * @param applicationInstanceId
555
+ * @param body Id of the application instance to return
556
+ */
557
+ ApplicationInstanceService.prototype.getApplicationInstanceDetails = function (applicationInstanceId, body, extraHttpRequestParams, extraHttpRequestHeaders) {
558
+ return this.getApplicationInstanceDetailsWithHttpInfo(applicationInstanceId, body, extraHttpRequestParams, extraHttpRequestHeaders)
559
+ .pipe(operators.map(function (response) {
560
+ if (response.status === 204) {
561
+ return undefined;
562
+ }
563
+ else {
564
+ return response.body;
565
+ }
566
+ }));
567
+ };
551
568
  /**
552
569
  * Provides the data needed to redirect the user to the specified application instance
553
570
  * If the Application Instance is configured with an Alias, the exchange URL from the Alias will be returned instead of that from the associated Application Environment.
@@ -564,6 +581,25 @@
564
581
  }
565
582
  }));
566
583
  };
584
+ /**
585
+ * Provides a list of user's who have access to an application instance
586
+ *
587
+ * @param applicationInstanceId
588
+ * @param pageSize The number of elements to return in a page (defaults to 250 elements)
589
+ * @param pageNumber The current page number
590
+ * @param body Id of the application instance to return
591
+ */
592
+ ApplicationInstanceService.prototype.getApplicationInstanceUsers = function (applicationInstanceId, pageSize, pageNumber, body, extraHttpRequestParams, extraHttpRequestHeaders) {
593
+ return this.getApplicationInstanceUsersWithHttpInfo(applicationInstanceId, pageSize, pageNumber, body, extraHttpRequestParams, extraHttpRequestHeaders)
594
+ .pipe(operators.map(function (response) {
595
+ if (response.status === 204) {
596
+ return undefined;
597
+ }
598
+ else {
599
+ return response.body;
600
+ }
601
+ }));
602
+ };
567
603
  /**
568
604
  * Provides a list of all available application instances to which the logged in user has access
569
605
  *
@@ -571,9 +607,13 @@
571
607
  * @param dataSourceName Filter by an exact name of a data source
572
608
  * @param targetHost Filter by a host name containing an alias
573
609
  * @param onlyAdmin Defaults to false. If false, returns all application instances to which the current user has access. If set to true will only return results where the logged in user has admin access
610
+ * @param orderBy
611
+ * @param filter
612
+ * @param pageSize The number of elements to return in a page (defaults to 250 elements)
613
+ * @param pageNumber The current page number
574
614
  */
575
- ApplicationInstanceService.prototype.getApplicationInstances = function (organizationName, dataSourceName, targetHost, onlyAdmin, extraHttpRequestParams, extraHttpRequestHeaders) {
576
- return this.getApplicationInstancesWithHttpInfo(organizationName, dataSourceName, targetHost, onlyAdmin, extraHttpRequestParams, extraHttpRequestHeaders)
615
+ ApplicationInstanceService.prototype.getApplicationInstances = function (organizationName, dataSourceName, targetHost, onlyAdmin, orderBy, filter, pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders) {
616
+ return this.getApplicationInstancesWithHttpInfo(organizationName, dataSourceName, targetHost, onlyAdmin, orderBy, filter, pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders)
577
617
  .pipe(operators.map(function (response) {
578
618
  if (response.status === 204) {
579
619
  return undefined;
@@ -583,6 +623,62 @@
583
623
  }
584
624
  }));
585
625
  };
626
+ /**
627
+ * Provides details to an application instance
628
+ *
629
+ * @param applicationInstanceId
630
+ * @param body Id of the application instance to return
631
+ */
632
+ ApplicationInstanceService.prototype.getApplicationInstanceDetailsWithHttpInfo = function (applicationInstanceId, body, extraHttpRequestParams, extraHttpRequestHeaders) {
633
+ var _this = this;
634
+ var path = this.basePath + '/api/v202112/ApplicationInstance/${applicationInstanceId}/detail'
635
+ .replace('${' + 'applicationInstanceId' + '}', String(applicationInstanceId));
636
+ var queryParameters;
637
+ if (extraHttpRequestParams) {
638
+ if (typeof extraHttpRequestParams.search === 'string') {
639
+ queryParameters = new http.HttpParams({ fromString: extraHttpRequestParams.search });
640
+ }
641
+ else {
642
+ queryParameters = new http.HttpParams({ fromObject: extraHttpRequestParams.search });
643
+ }
644
+ }
645
+ else {
646
+ queryParameters = new http.HttpParams();
647
+ }
648
+ var headers = new http.HttpHeaders();
649
+ this.defaultHeaders.keys().forEach(function (key) {
650
+ headers = headers.set(key, _this.defaultHeaders.getAll(key));
651
+ });
652
+ if (extraHttpRequestHeaders) {
653
+ Object.entries(extraHttpRequestHeaders).forEach(function (_a) {
654
+ var _b = __read(_a, 2), key = _b[0], value = _b[1];
655
+ headers = headers.set(key, value);
656
+ });
657
+ }
658
+ // verify required parameter 'applicationInstanceId' is not null or undefined
659
+ if (applicationInstanceId === null || applicationInstanceId === undefined) {
660
+ throw new Error('Required parameter applicationInstanceId was null or undefined when calling getApplicationInstanceDetails.');
661
+ }
662
+ // to determine the Accept header
663
+ var produces = [
664
+ 'application/json'
665
+ ];
666
+ if (this.configuration.apiKeys["Authorization"]) {
667
+ headers = headers.set('Authorization', this.configuration.apiKeys["Authorization"]);
668
+ }
669
+ var consumes = [
670
+ 'application/json'
671
+ ];
672
+ headers = headers.set('Content-Type', consumes[0]);
673
+ var requestOptions = {
674
+ headers: headers,
675
+ body: body == null ? '' : (consumes[0] == 'application/json' ? JSON.stringify(body) : body),
676
+ params: queryParameters,
677
+ withCredentials: this.configuration.withCredentials,
678
+ observe: 'response'
679
+ };
680
+ return this.http.request(RequestMethod$8.Get, path, requestOptions);
681
+ };
586
682
  /**
587
683
  * Provides the data needed to redirect the user to the specified application instance
588
684
  * If the Application Instance is configured with an Alias, the exchange URL from the Alias will be returned instead of that from the associated Application Environment.
@@ -632,7 +728,71 @@
632
728
  withCredentials: this.configuration.withCredentials,
633
729
  observe: 'response'
634
730
  };
635
- return this.http.request(RequestMethod$7.Get, path, requestOptions);
731
+ return this.http.request(RequestMethod$8.Get, path, requestOptions);
732
+ };
733
+ /**
734
+ * Provides a list of user's who have access to an application instance
735
+ *
736
+ * @param applicationInstanceId
737
+ * @param pageSize The number of elements to return in a page (defaults to 250 elements)
738
+ * @param pageNumber The current page number
739
+ * @param body Id of the application instance to return
740
+ */
741
+ ApplicationInstanceService.prototype.getApplicationInstanceUsersWithHttpInfo = function (applicationInstanceId, pageSize, pageNumber, body, extraHttpRequestParams, extraHttpRequestHeaders) {
742
+ var _this = this;
743
+ var path = this.basePath + '/api/v202112/ApplicationInstance/${applicationInstanceId}/user'
744
+ .replace('${' + 'applicationInstanceId' + '}', String(applicationInstanceId));
745
+ var queryParameters;
746
+ if (extraHttpRequestParams) {
747
+ if (typeof extraHttpRequestParams.search === 'string') {
748
+ queryParameters = new http.HttpParams({ fromString: extraHttpRequestParams.search });
749
+ }
750
+ else {
751
+ queryParameters = new http.HttpParams({ fromObject: extraHttpRequestParams.search });
752
+ }
753
+ }
754
+ else {
755
+ queryParameters = new http.HttpParams();
756
+ }
757
+ var headers = new http.HttpHeaders();
758
+ this.defaultHeaders.keys().forEach(function (key) {
759
+ headers = headers.set(key, _this.defaultHeaders.getAll(key));
760
+ });
761
+ if (extraHttpRequestHeaders) {
762
+ Object.entries(extraHttpRequestHeaders).forEach(function (_a) {
763
+ var _b = __read(_a, 2), key = _b[0], value = _b[1];
764
+ headers = headers.set(key, value);
765
+ });
766
+ }
767
+ // verify required parameter 'applicationInstanceId' is not null or undefined
768
+ if (applicationInstanceId === null || applicationInstanceId === undefined) {
769
+ throw new Error('Required parameter applicationInstanceId was null or undefined when calling getApplicationInstanceUsers.');
770
+ }
771
+ if (pageSize !== undefined) {
772
+ queryParameters = queryParameters.set('pageSize', pageSize);
773
+ }
774
+ if (pageNumber !== undefined) {
775
+ queryParameters = queryParameters.set('pageNumber', pageNumber);
776
+ }
777
+ // to determine the Accept header
778
+ var produces = [
779
+ 'application/json'
780
+ ];
781
+ if (this.configuration.apiKeys["Authorization"]) {
782
+ headers = headers.set('Authorization', this.configuration.apiKeys["Authorization"]);
783
+ }
784
+ var consumes = [
785
+ 'application/json'
786
+ ];
787
+ headers = headers.set('Content-Type', consumes[0]);
788
+ var requestOptions = {
789
+ headers: headers,
790
+ body: body == null ? '' : (consumes[0] == 'application/json' ? JSON.stringify(body) : body),
791
+ params: queryParameters,
792
+ withCredentials: this.configuration.withCredentials,
793
+ observe: 'response'
794
+ };
795
+ return this.http.request(RequestMethod$8.Get, path, requestOptions);
636
796
  };
637
797
  /**
638
798
  * Provides a list of all available application instances to which the logged in user has access
@@ -641,8 +801,12 @@
641
801
  * @param dataSourceName Filter by an exact name of a data source
642
802
  * @param targetHost Filter by a host name containing an alias
643
803
  * @param onlyAdmin Defaults to false. If false, returns all application instances to which the current user has access. If set to true will only return results where the logged in user has admin access
804
+ * @param orderBy
805
+ * @param filter
806
+ * @param pageSize The number of elements to return in a page (defaults to 250 elements)
807
+ * @param pageNumber The current page number
644
808
  */
645
- ApplicationInstanceService.prototype.getApplicationInstancesWithHttpInfo = function (organizationName, dataSourceName, targetHost, onlyAdmin, extraHttpRequestParams, extraHttpRequestHeaders) {
809
+ ApplicationInstanceService.prototype.getApplicationInstancesWithHttpInfo = function (organizationName, dataSourceName, targetHost, onlyAdmin, orderBy, filter, pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders) {
646
810
  var _this = this;
647
811
  var path = this.basePath + '/api/v202108/ApplicationInstance';
648
812
  var queryParameters;
@@ -679,6 +843,18 @@
679
843
  if (onlyAdmin !== undefined) {
680
844
  queryParameters = queryParameters.set('onlyAdmin', onlyAdmin);
681
845
  }
846
+ if (orderBy !== undefined) {
847
+ queryParameters = queryParameters.set('orderBy', orderBy);
848
+ }
849
+ if (filter !== undefined) {
850
+ queryParameters = queryParameters.set('filter', filter);
851
+ }
852
+ if (pageSize !== undefined) {
853
+ queryParameters = queryParameters.set('pageSize', pageSize);
854
+ }
855
+ if (pageNumber !== undefined) {
856
+ queryParameters = queryParameters.set('pageNumber', pageNumber);
857
+ }
682
858
  // to determine the Accept header
683
859
  var produces = [
684
860
  'application/json'
@@ -693,7 +869,7 @@
693
869
  withCredentials: this.configuration.withCredentials,
694
870
  observe: 'response'
695
871
  };
696
- return this.http.request(RequestMethod$7.Get, path, requestOptions);
872
+ return this.http.request(RequestMethod$8.Get, path, requestOptions);
697
873
  };
698
874
  return ApplicationInstanceService;
699
875
  }());
@@ -706,7 +882,7 @@
706
882
  { type: Configuration, decorators: [{ type: core.Optional }] }
707
883
  ]; };
708
884
 
709
- var RequestMethod$6 = {
885
+ var RequestMethod$7 = {
710
886
  Get: 'get',
711
887
  Post: 'post',
712
888
  Put: 'put',
@@ -929,7 +1105,7 @@
929
1105
  withCredentials: this.configuration.withCredentials,
930
1106
  observe: 'response'
931
1107
  };
932
- return this.http.request(RequestMethod$6.Post, path, requestOptions);
1108
+ return this.http.request(RequestMethod$7.Post, path, requestOptions);
933
1109
  };
934
1110
  /**
935
1111
  * Use this method to determine the login source. If a value is returned, then it is the name of the Federation Provider. If nothing is returned, then the login should occur locally
@@ -978,7 +1154,7 @@
978
1154
  withCredentials: this.configuration.withCredentials,
979
1155
  observe: 'response'
980
1156
  };
981
- return this.http.request(RequestMethod$6.Get, path, requestOptions);
1157
+ return this.http.request(RequestMethod$7.Get, path, requestOptions);
982
1158
  };
983
1159
  /**
984
1160
  * Use this method to authenticate a user given an authcode from the federation provider
@@ -1037,7 +1213,7 @@
1037
1213
  withCredentials: this.configuration.withCredentials,
1038
1214
  observe: 'response'
1039
1215
  };
1040
- return this.http.request(RequestMethod$6.Get, path, requestOptions);
1216
+ return this.http.request(RequestMethod$7.Get, path, requestOptions);
1041
1217
  };
1042
1218
  /**
1043
1219
  * Use this method to authenticate a user given their username and password
@@ -1087,7 +1263,7 @@
1087
1263
  withCredentials: this.configuration.withCredentials,
1088
1264
  observe: 'response'
1089
1265
  };
1090
- return this.http.request(RequestMethod$6.Post, path, requestOptions);
1266
+ return this.http.request(RequestMethod$7.Post, path, requestOptions);
1091
1267
  };
1092
1268
  /**
1093
1269
  * Will attempt to reset the user's password based upon the incoming confirmation code and new password The response model will inform of a successful response. If the password is not valid the error message will contain all reasons it does not pass ValidatePassword API returns similar information but in a friendlier response format
@@ -1135,7 +1311,7 @@
1135
1311
  withCredentials: this.configuration.withCredentials,
1136
1312
  observe: 'response'
1137
1313
  };
1138
- return this.http.request(RequestMethod$6.Post, path, requestOptions);
1314
+ return this.http.request(RequestMethod$7.Post, path, requestOptions);
1139
1315
  };
1140
1316
  /**
1141
1317
  * If the user exists, an email will be sent. If the domain is a federated domain, no email will be sent
@@ -1182,7 +1358,7 @@
1182
1358
  withCredentials: this.configuration.withCredentials,
1183
1359
  observe: 'response'
1184
1360
  };
1185
- return this.http.request(RequestMethod$6.Get, path, requestOptions);
1361
+ return this.http.request(RequestMethod$7.Get, path, requestOptions);
1186
1362
  };
1187
1363
  /**
1188
1364
  * Validates a password
@@ -1232,7 +1408,7 @@
1232
1408
  withCredentials: this.configuration.withCredentials,
1233
1409
  observe: 'response'
1234
1410
  };
1235
- return this.http.request(RequestMethod$6.Post, path, requestOptions);
1411
+ return this.http.request(RequestMethod$7.Post, path, requestOptions);
1236
1412
  };
1237
1413
  return AuthService;
1238
1414
  }());
@@ -1245,7 +1421,7 @@
1245
1421
  { type: Configuration, decorators: [{ type: core.Optional }] }
1246
1422
  ]; };
1247
1423
 
1248
- var RequestMethod$5 = {
1424
+ var RequestMethod$6 = {
1249
1425
  Get: 'get',
1250
1426
  Post: 'post',
1251
1427
  Put: 'put',
@@ -1404,7 +1580,7 @@
1404
1580
  withCredentials: this.configuration.withCredentials,
1405
1581
  observe: 'response'
1406
1582
  };
1407
- return this.http.request(RequestMethod$5.Get, path, requestOptions);
1583
+ return this.http.request(RequestMethod$6.Get, path, requestOptions);
1408
1584
  };
1409
1585
  /**
1410
1586
  * Gets the data sources to which the logged in user has access.
@@ -1453,7 +1629,7 @@
1453
1629
  withCredentials: this.configuration.withCredentials,
1454
1630
  observe: 'response'
1455
1631
  };
1456
- return this.http.request(RequestMethod$5.Get, path, requestOptions);
1632
+ return this.http.request(RequestMethod$6.Get, path, requestOptions);
1457
1633
  };
1458
1634
  /**
1459
1635
  * Updates the specified data source. Only the fields with values will be updated. The dataSourceId must exist, and the logged in user must be an admin on the data source
@@ -1509,7 +1685,7 @@
1509
1685
  withCredentials: this.configuration.withCredentials,
1510
1686
  observe: 'response'
1511
1687
  };
1512
- return this.http.request(RequestMethod$5.Put, path, requestOptions);
1688
+ return this.http.request(RequestMethod$6.Put, path, requestOptions);
1513
1689
  };
1514
1690
  return DataSourceService;
1515
1691
  }());
@@ -1522,7 +1698,7 @@
1522
1698
  { type: Configuration, decorators: [{ type: core.Optional }] }
1523
1699
  ]; };
1524
1700
 
1525
- var RequestMethod$4 = {
1701
+ var RequestMethod$5 = {
1526
1702
  Get: 'get',
1527
1703
  Post: 'post',
1528
1704
  Put: 'put',
@@ -1531,8 +1707,8 @@
1531
1707
  Head: 'head',
1532
1708
  Patch: 'patch'
1533
1709
  };
1534
- var EnvironmentService = /** @class */ (function () {
1535
- function EnvironmentService(http$1, basePath, configuration) {
1710
+ var DomainJoinTypeService = /** @class */ (function () {
1711
+ function DomainJoinTypeService(http$1, basePath, configuration) {
1536
1712
  this.http = http$1;
1537
1713
  this.basePath = 'https://localhost';
1538
1714
  this.defaultHeaders = new http.HttpHeaders();
@@ -1551,7 +1727,7 @@
1551
1727
  * @param objA object to be extended
1552
1728
  * @param objB source object
1553
1729
  */
1554
- EnvironmentService.prototype.extendObj = function (objA, objB) {
1730
+ DomainJoinTypeService.prototype.extendObj = function (objA, objB) {
1555
1731
  for (var key in objB) {
1556
1732
  if (objB.hasOwnProperty(key)) {
1557
1733
  objA[key] = objB[key];
@@ -1563,7 +1739,7 @@
1563
1739
  * @param consumes string[] mime-types
1564
1740
  * @return true: consumes contains 'multipart/form-data', false: otherwise
1565
1741
  */
1566
- EnvironmentService.prototype.canConsumeForm = function (consumes) {
1742
+ DomainJoinTypeService.prototype.canConsumeForm = function (consumes) {
1567
1743
  var e_1, _a;
1568
1744
  var form = 'multipart/form-data';
1569
1745
  try {
@@ -1584,12 +1760,11 @@
1584
1760
  return false;
1585
1761
  };
1586
1762
  /**
1587
- * A List of environments. By default only those the current user has access to. Use the query parameter to get all environments
1763
+ * Gets a list of all Domain Join Types
1588
1764
  *
1589
- * @param includeAll Defaults to false. If false, returns only environments to which the current user has access. When true, returns a list of all environments. This is useful for data source linking
1590
1765
  */
1591
- EnvironmentService.prototype.getEnvironments = function (includeAll, extraHttpRequestParams, extraHttpRequestHeaders) {
1592
- return this.getEnvironmentsWithHttpInfo(includeAll, extraHttpRequestParams, extraHttpRequestHeaders)
1766
+ DomainJoinTypeService.prototype.getDomainJoinTypes = function (extraHttpRequestParams, extraHttpRequestHeaders) {
1767
+ return this.getDomainJoinTypesWithHttpInfo(extraHttpRequestParams, extraHttpRequestHeaders)
1593
1768
  .pipe(operators.map(function (response) {
1594
1769
  if (response.status === 204) {
1595
1770
  return undefined;
@@ -1600,13 +1775,12 @@
1600
1775
  }));
1601
1776
  };
1602
1777
  /**
1603
- * A List of environments. By default only those the current user has access to. Use the query parameter to get all environments
1778
+ * Gets a list of all Domain Join Types
1604
1779
  *
1605
- * @param includeAll Defaults to false. If false, returns only environments to which the current user has access. When true, returns a list of all environments. This is useful for data source linking
1606
1780
  */
1607
- EnvironmentService.prototype.getEnvironmentsWithHttpInfo = function (includeAll, extraHttpRequestParams, extraHttpRequestHeaders) {
1781
+ DomainJoinTypeService.prototype.getDomainJoinTypesWithHttpInfo = function (extraHttpRequestParams, extraHttpRequestHeaders) {
1608
1782
  var _this = this;
1609
- var path = this.basePath + '/api/v202108/Environment';
1783
+ var path = this.basePath + '/api/v202112/DomainJoinType';
1610
1784
  var queryParameters;
1611
1785
  if (extraHttpRequestParams) {
1612
1786
  if (typeof extraHttpRequestParams.search === 'string') {
@@ -1629,9 +1803,6 @@
1629
1803
  headers = headers.set(key, value);
1630
1804
  });
1631
1805
  }
1632
- if (includeAll !== undefined) {
1633
- queryParameters = queryParameters.set('includeAll', includeAll);
1634
- }
1635
1806
  // to determine the Accept header
1636
1807
  var produces = [
1637
1808
  'application/json'
@@ -1646,20 +1817,20 @@
1646
1817
  withCredentials: this.configuration.withCredentials,
1647
1818
  observe: 'response'
1648
1819
  };
1649
- return this.http.request(RequestMethod$4.Get, path, requestOptions);
1820
+ return this.http.request(RequestMethod$5.Get, path, requestOptions);
1650
1821
  };
1651
- return EnvironmentService;
1822
+ return DomainJoinTypeService;
1652
1823
  }());
1653
- EnvironmentService.decorators = [
1824
+ DomainJoinTypeService.decorators = [
1654
1825
  { type: core.Injectable }
1655
1826
  ];
1656
- EnvironmentService.ctorParameters = function () { return [
1827
+ DomainJoinTypeService.ctorParameters = function () { return [
1657
1828
  { type: http.HttpClient },
1658
1829
  { type: String, decorators: [{ type: core.Optional }, { type: core.Inject, args: [BASE_PATH,] }] },
1659
1830
  { type: Configuration, decorators: [{ type: core.Optional }] }
1660
1831
  ]; };
1661
1832
 
1662
- var RequestMethod$3 = {
1833
+ var RequestMethod$4 = {
1663
1834
  Get: 'get',
1664
1835
  Post: 'post',
1665
1836
  Put: 'put',
@@ -1668,8 +1839,8 @@
1668
1839
  Head: 'head',
1669
1840
  Patch: 'patch'
1670
1841
  };
1671
- var MeService = /** @class */ (function () {
1672
- function MeService(http$1, basePath, configuration) {
1842
+ var EnvironmentService = /** @class */ (function () {
1843
+ function EnvironmentService(http$1, basePath, configuration) {
1673
1844
  this.http = http$1;
1674
1845
  this.basePath = 'https://localhost';
1675
1846
  this.defaultHeaders = new http.HttpHeaders();
@@ -1688,7 +1859,7 @@
1688
1859
  * @param objA object to be extended
1689
1860
  * @param objB source object
1690
1861
  */
1691
- MeService.prototype.extendObj = function (objA, objB) {
1862
+ EnvironmentService.prototype.extendObj = function (objA, objB) {
1692
1863
  for (var key in objB) {
1693
1864
  if (objB.hasOwnProperty(key)) {
1694
1865
  objA[key] = objB[key];
@@ -1700,7 +1871,7 @@
1700
1871
  * @param consumes string[] mime-types
1701
1872
  * @return true: consumes contains 'multipart/form-data', false: otherwise
1702
1873
  */
1703
- MeService.prototype.canConsumeForm = function (consumes) {
1874
+ EnvironmentService.prototype.canConsumeForm = function (consumes) {
1704
1875
  var e_1, _a;
1705
1876
  var form = 'multipart/form-data';
1706
1877
  try {
@@ -1721,43 +1892,12 @@
1721
1892
  return false;
1722
1893
  };
1723
1894
  /**
1724
- * Use this method to get information about the currently authenticated user
1725
- *
1726
- */
1727
- MeService.prototype.getMe = function (extraHttpRequestParams, extraHttpRequestHeaders) {
1728
- return this.getMeWithHttpInfo(extraHttpRequestParams, extraHttpRequestHeaders)
1729
- .pipe(operators.map(function (response) {
1730
- if (response.status === 204) {
1731
- return undefined;
1732
- }
1733
- else {
1734
- return response.body;
1735
- }
1736
- }));
1737
- };
1738
- /**
1739
- * Will allow a user to link to a data source that they don't have access to based upon their login name
1740
- *
1741
- * @param body Information needed to connect to the data source
1742
- */
1743
- MeService.prototype.linkMyUserToDataSource = function (body, extraHttpRequestParams, extraHttpRequestHeaders) {
1744
- return this.linkMyUserToDataSourceWithHttpInfo(body, extraHttpRequestParams, extraHttpRequestHeaders)
1745
- .pipe(operators.map(function (response) {
1746
- if (response.status === 204) {
1747
- return undefined;
1748
- }
1749
- else {
1750
- return response.body;
1751
- }
1752
- }));
1753
- };
1754
- /**
1755
- * Use this method to update the currently authenticated user's information
1895
+ * A List of environments. By default only those the current user has access to. Use the query parameter to get all environments
1756
1896
  *
1757
- * @param body The user information to update
1897
+ * @param includeAll Defaults to false. If false, returns only environments to which the current user has access. When true, returns a list of all environments. This is useful for data source linking
1758
1898
  */
1759
- MeService.prototype.updateMyInformation = function (body, extraHttpRequestParams, extraHttpRequestHeaders) {
1760
- return this.updateMyInformationWithHttpInfo(body, extraHttpRequestParams, extraHttpRequestHeaders)
1899
+ EnvironmentService.prototype.getEnvironments = function (includeAll, extraHttpRequestParams, extraHttpRequestHeaders) {
1900
+ return this.getEnvironmentsWithHttpInfo(includeAll, extraHttpRequestParams, extraHttpRequestHeaders)
1761
1901
  .pipe(operators.map(function (response) {
1762
1902
  if (response.status === 204) {
1763
1903
  return undefined;
@@ -1768,12 +1908,13 @@
1768
1908
  }));
1769
1909
  };
1770
1910
  /**
1771
- * Use this method to get information about the currently authenticated user
1911
+ * A List of environments. By default only those the current user has access to. Use the query parameter to get all environments
1772
1912
  *
1913
+ * @param includeAll Defaults to false. If false, returns only environments to which the current user has access. When true, returns a list of all environments. This is useful for data source linking
1773
1914
  */
1774
- MeService.prototype.getMeWithHttpInfo = function (extraHttpRequestParams, extraHttpRequestHeaders) {
1915
+ EnvironmentService.prototype.getEnvironmentsWithHttpInfo = function (includeAll, extraHttpRequestParams, extraHttpRequestHeaders) {
1775
1916
  var _this = this;
1776
- var path = this.basePath + '/api/v202108/Me';
1917
+ var path = this.basePath + '/api/v202108/Environment';
1777
1918
  var queryParameters;
1778
1919
  if (extraHttpRequestParams) {
1779
1920
  if (typeof extraHttpRequestParams.search === 'string') {
@@ -1796,6 +1937,9 @@
1796
1937
  headers = headers.set(key, value);
1797
1938
  });
1798
1939
  }
1940
+ if (includeAll !== undefined) {
1941
+ queryParameters = queryParameters.set('includeAll', includeAll);
1942
+ }
1799
1943
  // to determine the Accept header
1800
1944
  var produces = [
1801
1945
  'application/json'
@@ -1810,29 +1954,193 @@
1810
1954
  withCredentials: this.configuration.withCredentials,
1811
1955
  observe: 'response'
1812
1956
  };
1813
- return this.http.request(RequestMethod$3.Get, path, requestOptions);
1957
+ return this.http.request(RequestMethod$4.Get, path, requestOptions);
1814
1958
  };
1815
- /**
1816
- * Will allow a user to link to a data source that they don't have access to based upon their login name
1817
- *
1818
- * @param body Information needed to connect to the data source
1819
- */
1820
- MeService.prototype.linkMyUserToDataSourceWithHttpInfo = function (body, extraHttpRequestParams, extraHttpRequestHeaders) {
1821
- var _this = this;
1822
- var path = this.basePath + '/api/v202108/Me/dataSource/link';
1823
- var queryParameters;
1824
- if (extraHttpRequestParams) {
1825
- if (typeof extraHttpRequestParams.search === 'string') {
1826
- queryParameters = new http.HttpParams({ fromString: extraHttpRequestParams.search });
1827
- }
1828
- else {
1829
- queryParameters = new http.HttpParams({ fromObject: extraHttpRequestParams.search });
1830
- }
1831
- }
1832
- else {
1833
- queryParameters = new http.HttpParams();
1834
- }
1835
- var headers = new http.HttpHeaders();
1959
+ return EnvironmentService;
1960
+ }());
1961
+ EnvironmentService.decorators = [
1962
+ { type: core.Injectable }
1963
+ ];
1964
+ EnvironmentService.ctorParameters = function () { return [
1965
+ { type: http.HttpClient },
1966
+ { type: String, decorators: [{ type: core.Optional }, { type: core.Inject, args: [BASE_PATH,] }] },
1967
+ { type: Configuration, decorators: [{ type: core.Optional }] }
1968
+ ]; };
1969
+
1970
+ var RequestMethod$3 = {
1971
+ Get: 'get',
1972
+ Post: 'post',
1973
+ Put: 'put',
1974
+ Delete: 'delete',
1975
+ Options: 'options',
1976
+ Head: 'head',
1977
+ Patch: 'patch'
1978
+ };
1979
+ var MeService = /** @class */ (function () {
1980
+ function MeService(http$1, basePath, configuration) {
1981
+ this.http = http$1;
1982
+ this.basePath = 'https://localhost';
1983
+ this.defaultHeaders = new http.HttpHeaders();
1984
+ this.configuration = new Configuration();
1985
+ if (basePath) {
1986
+ this.basePath = basePath;
1987
+ }
1988
+ if (configuration) {
1989
+ this.configuration = configuration;
1990
+ this.basePath = basePath || configuration.basePath || this.basePath;
1991
+ }
1992
+ }
1993
+ /**
1994
+ *
1995
+ * Extends object by coping non-existing properties.
1996
+ * @param objA object to be extended
1997
+ * @param objB source object
1998
+ */
1999
+ MeService.prototype.extendObj = function (objA, objB) {
2000
+ for (var key in objB) {
2001
+ if (objB.hasOwnProperty(key)) {
2002
+ objA[key] = objB[key];
2003
+ }
2004
+ }
2005
+ return objA;
2006
+ };
2007
+ /**
2008
+ * @param consumes string[] mime-types
2009
+ * @return true: consumes contains 'multipart/form-data', false: otherwise
2010
+ */
2011
+ MeService.prototype.canConsumeForm = function (consumes) {
2012
+ var e_1, _a;
2013
+ var form = 'multipart/form-data';
2014
+ try {
2015
+ for (var consumes_1 = __values(consumes), consumes_1_1 = consumes_1.next(); !consumes_1_1.done; consumes_1_1 = consumes_1.next()) {
2016
+ var consume = consumes_1_1.value;
2017
+ if (form === consume) {
2018
+ return true;
2019
+ }
2020
+ }
2021
+ }
2022
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
2023
+ finally {
2024
+ try {
2025
+ if (consumes_1_1 && !consumes_1_1.done && (_a = consumes_1.return)) _a.call(consumes_1);
2026
+ }
2027
+ finally { if (e_1) throw e_1.error; }
2028
+ }
2029
+ return false;
2030
+ };
2031
+ /**
2032
+ * Use this method to get information about the currently authenticated user
2033
+ *
2034
+ */
2035
+ MeService.prototype.getMe = function (extraHttpRequestParams, extraHttpRequestHeaders) {
2036
+ return this.getMeWithHttpInfo(extraHttpRequestParams, extraHttpRequestHeaders)
2037
+ .pipe(operators.map(function (response) {
2038
+ if (response.status === 204) {
2039
+ return undefined;
2040
+ }
2041
+ else {
2042
+ return response.body;
2043
+ }
2044
+ }));
2045
+ };
2046
+ /**
2047
+ * Will allow a user to link to a data source that they don't have access to based upon their login name
2048
+ *
2049
+ * @param body Information needed to connect to the data source
2050
+ */
2051
+ MeService.prototype.linkMyUserToDataSource = function (body, extraHttpRequestParams, extraHttpRequestHeaders) {
2052
+ return this.linkMyUserToDataSourceWithHttpInfo(body, extraHttpRequestParams, extraHttpRequestHeaders)
2053
+ .pipe(operators.map(function (response) {
2054
+ if (response.status === 204) {
2055
+ return undefined;
2056
+ }
2057
+ else {
2058
+ return response.body;
2059
+ }
2060
+ }));
2061
+ };
2062
+ /**
2063
+ * Use this method to update the currently authenticated user's information
2064
+ *
2065
+ * @param body The user information to update
2066
+ */
2067
+ MeService.prototype.updateMyInformation = function (body, extraHttpRequestParams, extraHttpRequestHeaders) {
2068
+ return this.updateMyInformationWithHttpInfo(body, extraHttpRequestParams, extraHttpRequestHeaders)
2069
+ .pipe(operators.map(function (response) {
2070
+ if (response.status === 204) {
2071
+ return undefined;
2072
+ }
2073
+ else {
2074
+ return response.body;
2075
+ }
2076
+ }));
2077
+ };
2078
+ /**
2079
+ * Use this method to get information about the currently authenticated user
2080
+ *
2081
+ */
2082
+ MeService.prototype.getMeWithHttpInfo = function (extraHttpRequestParams, extraHttpRequestHeaders) {
2083
+ var _this = this;
2084
+ var path = this.basePath + '/api/v202108/Me';
2085
+ var queryParameters;
2086
+ if (extraHttpRequestParams) {
2087
+ if (typeof extraHttpRequestParams.search === 'string') {
2088
+ queryParameters = new http.HttpParams({ fromString: extraHttpRequestParams.search });
2089
+ }
2090
+ else {
2091
+ queryParameters = new http.HttpParams({ fromObject: extraHttpRequestParams.search });
2092
+ }
2093
+ }
2094
+ else {
2095
+ queryParameters = new http.HttpParams();
2096
+ }
2097
+ var headers = new http.HttpHeaders();
2098
+ this.defaultHeaders.keys().forEach(function (key) {
2099
+ headers = headers.set(key, _this.defaultHeaders.getAll(key));
2100
+ });
2101
+ if (extraHttpRequestHeaders) {
2102
+ Object.entries(extraHttpRequestHeaders).forEach(function (_a) {
2103
+ var _b = __read(_a, 2), key = _b[0], value = _b[1];
2104
+ headers = headers.set(key, value);
2105
+ });
2106
+ }
2107
+ // to determine the Accept header
2108
+ var produces = [
2109
+ 'application/json'
2110
+ ];
2111
+ if (this.configuration.apiKeys["Authorization"]) {
2112
+ headers = headers.set('Authorization', this.configuration.apiKeys["Authorization"]);
2113
+ }
2114
+ var consumes = [];
2115
+ var requestOptions = {
2116
+ headers: headers,
2117
+ params: queryParameters,
2118
+ withCredentials: this.configuration.withCredentials,
2119
+ observe: 'response'
2120
+ };
2121
+ return this.http.request(RequestMethod$3.Get, path, requestOptions);
2122
+ };
2123
+ /**
2124
+ * Will allow a user to link to a data source that they don't have access to based upon their login name
2125
+ *
2126
+ * @param body Information needed to connect to the data source
2127
+ */
2128
+ MeService.prototype.linkMyUserToDataSourceWithHttpInfo = function (body, extraHttpRequestParams, extraHttpRequestHeaders) {
2129
+ var _this = this;
2130
+ var path = this.basePath + '/api/v202108/Me/dataSource/link';
2131
+ var queryParameters;
2132
+ if (extraHttpRequestParams) {
2133
+ if (typeof extraHttpRequestParams.search === 'string') {
2134
+ queryParameters = new http.HttpParams({ fromString: extraHttpRequestParams.search });
2135
+ }
2136
+ else {
2137
+ queryParameters = new http.HttpParams({ fromObject: extraHttpRequestParams.search });
2138
+ }
2139
+ }
2140
+ else {
2141
+ queryParameters = new http.HttpParams();
2142
+ }
2143
+ var headers = new http.HttpHeaders();
1836
2144
  this.defaultHeaders.keys().forEach(function (key) {
1837
2145
  headers = headers.set(key, _this.defaultHeaders.getAll(key));
1838
2146
  });
@@ -1980,48 +2288,612 @@
1980
2288
  }
1981
2289
  finally { if (e_1) throw e_1.error; }
1982
2290
  }
1983
- return false;
2291
+ return false;
2292
+ };
2293
+ /**
2294
+ * Create a new organization
2295
+ *
2296
+ * @param organizationId
2297
+ * @param body
2298
+ */
2299
+ OrganizationService.prototype.createOrganization = function (organizationId, body, extraHttpRequestParams, extraHttpRequestHeaders) {
2300
+ return this.createOrganizationWithHttpInfo(organizationId, body, extraHttpRequestParams, extraHttpRequestHeaders)
2301
+ .pipe(operators.map(function (response) {
2302
+ if (response.status === 204) {
2303
+ return undefined;
2304
+ }
2305
+ else {
2306
+ return response.body;
2307
+ }
2308
+ }));
2309
+ };
2310
+ /**
2311
+ * Gets organization access control data You must be an admin to the organizaion to get this information
2312
+ *
2313
+ * @param organizationId The organization identifier
2314
+ */
2315
+ OrganizationService.prototype.getOrganizationAccessControl = function (organizationId, extraHttpRequestParams, extraHttpRequestHeaders) {
2316
+ return this.getOrganizationAccessControlWithHttpInfo(organizationId, extraHttpRequestParams, extraHttpRequestHeaders)
2317
+ .pipe(operators.map(function (response) {
2318
+ if (response.status === 204) {
2319
+ return undefined;
2320
+ }
2321
+ else {
2322
+ return response.body;
2323
+ }
2324
+ }));
2325
+ };
2326
+ /**
2327
+ * Gets information about an Organization
2328
+ *
2329
+ * @param organizationId The organization identifier
2330
+ */
2331
+ OrganizationService.prototype.getOrganizationById = function (organizationId, extraHttpRequestParams, extraHttpRequestHeaders) {
2332
+ return this.getOrganizationByIdWithHttpInfo(organizationId, extraHttpRequestParams, extraHttpRequestHeaders)
2333
+ .pipe(operators.map(function (response) {
2334
+ if (response.status === 204) {
2335
+ return undefined;
2336
+ }
2337
+ else {
2338
+ return response.body;
2339
+ }
2340
+ }));
2341
+ };
2342
+ /**
2343
+ * Gets additional detail information about an Organization You must be an admin to the organizaion to get this information
2344
+ *
2345
+ * @param organizationId The organization identifier
2346
+ */
2347
+ OrganizationService.prototype.getOrganizationDetails = function (organizationId, extraHttpRequestParams, extraHttpRequestHeaders) {
2348
+ return this.getOrganizationDetailsWithHttpInfo(organizationId, extraHttpRequestParams, extraHttpRequestHeaders)
2349
+ .pipe(operators.map(function (response) {
2350
+ if (response.status === 204) {
2351
+ return undefined;
2352
+ }
2353
+ else {
2354
+ return response.body;
2355
+ }
2356
+ }));
2357
+ };
2358
+ /**
2359
+ * Returns the entire oranizaion hiearchy If there are more than 100 organizations a 403 is returned.
2360
+ *
2361
+ * @param pageSize The number of elements to return in a page (defaults to 100 elements)
2362
+ * @param pageNumber The current page number
2363
+ */
2364
+ OrganizationService.prototype.getOrganizationHierarchy = function (pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders) {
2365
+ return this.getOrganizationHierarchyWithHttpInfo(pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders)
2366
+ .pipe(operators.map(function (response) {
2367
+ if (response.status === 204) {
2368
+ return undefined;
2369
+ }
2370
+ else {
2371
+ return response.body;
2372
+ }
2373
+ }));
2374
+ };
2375
+ /**
2376
+ * Gets users linked to an organization
2377
+ *
2378
+ * @param organizationId The organization identifier
2379
+ */
2380
+ OrganizationService.prototype.getOrganizationUsers = function (organizationId, extraHttpRequestParams, extraHttpRequestHeaders) {
2381
+ return this.getOrganizationUsersWithHttpInfo(organizationId, extraHttpRequestParams, extraHttpRequestHeaders)
2382
+ .pipe(operators.map(function (response) {
2383
+ if (response.status === 204) {
2384
+ return undefined;
2385
+ }
2386
+ else {
2387
+ return response.body;
2388
+ }
2389
+ }));
2390
+ };
2391
+ /**
2392
+ * Gets the organizations to which the logged in user has access
2393
+ *
2394
+ * @param onlyAdmin Defaults to false. If false, returns all organizations to which the current user has access. If set to true will only return results where the logged in user has admin access
2395
+ * @param pageSize The number of elements to return in a page (defaults to 250 elements)
2396
+ * @param pageNumber The current page number
2397
+ */
2398
+ OrganizationService.prototype.getOrganizations = function (onlyAdmin, pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders) {
2399
+ return this.getOrganizationsWithHttpInfo(onlyAdmin, pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders)
2400
+ .pipe(operators.map(function (response) {
2401
+ if (response.status === 204) {
2402
+ return undefined;
2403
+ }
2404
+ else {
2405
+ return response.body;
2406
+ }
2407
+ }));
2408
+ };
2409
+ /**
2410
+ *
2411
+ *
2412
+ * @param query
2413
+ * @param pageSize The number of elements to return in a page (defaults to 50 elements)
2414
+ * @param pageNumber The current page number
2415
+ */
2416
+ OrganizationService.prototype.searchOrganizations = function (query, pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders) {
2417
+ return this.searchOrganizationsWithHttpInfo(query, pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders)
2418
+ .pipe(operators.map(function (response) {
2419
+ if (response.status === 204) {
2420
+ return undefined;
2421
+ }
2422
+ else {
2423
+ return response.body;
2424
+ }
2425
+ }));
2426
+ };
2427
+ /**
2428
+ * Update organization access control data You must be an admin to the organizaion to get this information
2429
+ *
2430
+ * @param organizationId The organization identifier
2431
+ * @param body
2432
+ */
2433
+ OrganizationService.prototype.updateOrganizationAccessControl = function (organizationId, body, extraHttpRequestParams, extraHttpRequestHeaders) {
2434
+ return this.updateOrganizationAccessControlWithHttpInfo(organizationId, body, extraHttpRequestParams, extraHttpRequestHeaders)
2435
+ .pipe(operators.map(function (response) {
2436
+ if (response.status === 204) {
2437
+ return undefined;
2438
+ }
2439
+ else {
2440
+ return response.body;
2441
+ }
2442
+ }));
2443
+ };
2444
+ /**
2445
+ * Update organization details You must be an admin to the organizaion to get this information
2446
+ *
2447
+ * @param organizationId The organization identifier
2448
+ * @param body
2449
+ */
2450
+ OrganizationService.prototype.updateOrganizationDetails = function (organizationId, body, extraHttpRequestParams, extraHttpRequestHeaders) {
2451
+ return this.updateOrganizationDetailsWithHttpInfo(organizationId, body, extraHttpRequestParams, extraHttpRequestHeaders)
2452
+ .pipe(operators.map(function (response) {
2453
+ if (response.status === 204) {
2454
+ return undefined;
2455
+ }
2456
+ else {
2457
+ return response.body;
2458
+ }
2459
+ }));
2460
+ };
2461
+ /**
2462
+ * Create a new organization
2463
+ *
2464
+ * @param organizationId
2465
+ * @param body
2466
+ */
2467
+ OrganizationService.prototype.createOrganizationWithHttpInfo = function (organizationId, body, extraHttpRequestParams, extraHttpRequestHeaders) {
2468
+ var _this = this;
2469
+ var path = this.basePath + '/api/v202112/Organization/${organizationId}'
2470
+ .replace('${' + 'organizationId' + '}', String(organizationId));
2471
+ var queryParameters;
2472
+ if (extraHttpRequestParams) {
2473
+ if (typeof extraHttpRequestParams.search === 'string') {
2474
+ queryParameters = new http.HttpParams({ fromString: extraHttpRequestParams.search });
2475
+ }
2476
+ else {
2477
+ queryParameters = new http.HttpParams({ fromObject: extraHttpRequestParams.search });
2478
+ }
2479
+ }
2480
+ else {
2481
+ queryParameters = new http.HttpParams();
2482
+ }
2483
+ var headers = new http.HttpHeaders();
2484
+ this.defaultHeaders.keys().forEach(function (key) {
2485
+ headers = headers.set(key, _this.defaultHeaders.getAll(key));
2486
+ });
2487
+ if (extraHttpRequestHeaders) {
2488
+ Object.entries(extraHttpRequestHeaders).forEach(function (_a) {
2489
+ var _b = __read(_a, 2), key = _b[0], value = _b[1];
2490
+ headers = headers.set(key, value);
2491
+ });
2492
+ }
2493
+ // verify required parameter 'organizationId' is not null or undefined
2494
+ if (organizationId === null || organizationId === undefined) {
2495
+ throw new Error('Required parameter organizationId was null or undefined when calling createOrganization.');
2496
+ }
2497
+ // to determine the Accept header
2498
+ var produces = [
2499
+ 'application/json'
2500
+ ];
2501
+ if (this.configuration.apiKeys["Authorization"]) {
2502
+ headers = headers.set('Authorization', this.configuration.apiKeys["Authorization"]);
2503
+ }
2504
+ var consumes = [
2505
+ 'application/json'
2506
+ ];
2507
+ headers = headers.set('Content-Type', consumes[0]);
2508
+ var requestOptions = {
2509
+ headers: headers,
2510
+ body: body == null ? '' : (consumes[0] == 'application/json' ? JSON.stringify(body) : body),
2511
+ params: queryParameters,
2512
+ withCredentials: this.configuration.withCredentials,
2513
+ observe: 'response'
2514
+ };
2515
+ return this.http.request(RequestMethod$2.Post, path, requestOptions);
2516
+ };
2517
+ /**
2518
+ * Gets organization access control data You must be an admin to the organizaion to get this information
2519
+ *
2520
+ * @param organizationId The organization identifier
2521
+ */
2522
+ OrganizationService.prototype.getOrganizationAccessControlWithHttpInfo = function (organizationId, extraHttpRequestParams, extraHttpRequestHeaders) {
2523
+ var _this = this;
2524
+ var path = this.basePath + '/api/v202112/Organization/${organizationId}/accesscontrol'
2525
+ .replace('${' + 'organizationId' + '}', String(organizationId));
2526
+ var queryParameters;
2527
+ if (extraHttpRequestParams) {
2528
+ if (typeof extraHttpRequestParams.search === 'string') {
2529
+ queryParameters = new http.HttpParams({ fromString: extraHttpRequestParams.search });
2530
+ }
2531
+ else {
2532
+ queryParameters = new http.HttpParams({ fromObject: extraHttpRequestParams.search });
2533
+ }
2534
+ }
2535
+ else {
2536
+ queryParameters = new http.HttpParams();
2537
+ }
2538
+ var headers = new http.HttpHeaders();
2539
+ this.defaultHeaders.keys().forEach(function (key) {
2540
+ headers = headers.set(key, _this.defaultHeaders.getAll(key));
2541
+ });
2542
+ if (extraHttpRequestHeaders) {
2543
+ Object.entries(extraHttpRequestHeaders).forEach(function (_a) {
2544
+ var _b = __read(_a, 2), key = _b[0], value = _b[1];
2545
+ headers = headers.set(key, value);
2546
+ });
2547
+ }
2548
+ // verify required parameter 'organizationId' is not null or undefined
2549
+ if (organizationId === null || organizationId === undefined) {
2550
+ throw new Error('Required parameter organizationId was null or undefined when calling getOrganizationAccessControl.');
2551
+ }
2552
+ // to determine the Accept header
2553
+ var produces = [
2554
+ 'application/json'
2555
+ ];
2556
+ if (this.configuration.apiKeys["Authorization"]) {
2557
+ headers = headers.set('Authorization', this.configuration.apiKeys["Authorization"]);
2558
+ }
2559
+ var consumes = [];
2560
+ var requestOptions = {
2561
+ headers: headers,
2562
+ params: queryParameters,
2563
+ withCredentials: this.configuration.withCredentials,
2564
+ observe: 'response'
2565
+ };
2566
+ return this.http.request(RequestMethod$2.Get, path, requestOptions);
2567
+ };
2568
+ /**
2569
+ * Gets information about an Organization
2570
+ *
2571
+ * @param organizationId The organization identifier
2572
+ */
2573
+ OrganizationService.prototype.getOrganizationByIdWithHttpInfo = function (organizationId, extraHttpRequestParams, extraHttpRequestHeaders) {
2574
+ var _this = this;
2575
+ var path = this.basePath + '/api/v202108/Organization/${organizationId}'
2576
+ .replace('${' + 'organizationId' + '}', String(organizationId));
2577
+ var queryParameters;
2578
+ if (extraHttpRequestParams) {
2579
+ if (typeof extraHttpRequestParams.search === 'string') {
2580
+ queryParameters = new http.HttpParams({ fromString: extraHttpRequestParams.search });
2581
+ }
2582
+ else {
2583
+ queryParameters = new http.HttpParams({ fromObject: extraHttpRequestParams.search });
2584
+ }
2585
+ }
2586
+ else {
2587
+ queryParameters = new http.HttpParams();
2588
+ }
2589
+ var headers = new http.HttpHeaders();
2590
+ this.defaultHeaders.keys().forEach(function (key) {
2591
+ headers = headers.set(key, _this.defaultHeaders.getAll(key));
2592
+ });
2593
+ if (extraHttpRequestHeaders) {
2594
+ Object.entries(extraHttpRequestHeaders).forEach(function (_a) {
2595
+ var _b = __read(_a, 2), key = _b[0], value = _b[1];
2596
+ headers = headers.set(key, value);
2597
+ });
2598
+ }
2599
+ // verify required parameter 'organizationId' is not null or undefined
2600
+ if (organizationId === null || organizationId === undefined) {
2601
+ throw new Error('Required parameter organizationId was null or undefined when calling getOrganizationById.');
2602
+ }
2603
+ // to determine the Accept header
2604
+ var produces = [
2605
+ 'application/json'
2606
+ ];
2607
+ if (this.configuration.apiKeys["Authorization"]) {
2608
+ headers = headers.set('Authorization', this.configuration.apiKeys["Authorization"]);
2609
+ }
2610
+ var consumes = [];
2611
+ var requestOptions = {
2612
+ headers: headers,
2613
+ params: queryParameters,
2614
+ withCredentials: this.configuration.withCredentials,
2615
+ observe: 'response'
2616
+ };
2617
+ return this.http.request(RequestMethod$2.Get, path, requestOptions);
2618
+ };
2619
+ /**
2620
+ * Gets additional detail information about an Organization You must be an admin to the organizaion to get this information
2621
+ *
2622
+ * @param organizationId The organization identifier
2623
+ */
2624
+ OrganizationService.prototype.getOrganizationDetailsWithHttpInfo = function (organizationId, extraHttpRequestParams, extraHttpRequestHeaders) {
2625
+ var _this = this;
2626
+ var path = this.basePath + '/api/v202112/Organization/${organizationId}/detail'
2627
+ .replace('${' + 'organizationId' + '}', String(organizationId));
2628
+ var queryParameters;
2629
+ if (extraHttpRequestParams) {
2630
+ if (typeof extraHttpRequestParams.search === 'string') {
2631
+ queryParameters = new http.HttpParams({ fromString: extraHttpRequestParams.search });
2632
+ }
2633
+ else {
2634
+ queryParameters = new http.HttpParams({ fromObject: extraHttpRequestParams.search });
2635
+ }
2636
+ }
2637
+ else {
2638
+ queryParameters = new http.HttpParams();
2639
+ }
2640
+ var headers = new http.HttpHeaders();
2641
+ this.defaultHeaders.keys().forEach(function (key) {
2642
+ headers = headers.set(key, _this.defaultHeaders.getAll(key));
2643
+ });
2644
+ if (extraHttpRequestHeaders) {
2645
+ Object.entries(extraHttpRequestHeaders).forEach(function (_a) {
2646
+ var _b = __read(_a, 2), key = _b[0], value = _b[1];
2647
+ headers = headers.set(key, value);
2648
+ });
2649
+ }
2650
+ // verify required parameter 'organizationId' is not null or undefined
2651
+ if (organizationId === null || organizationId === undefined) {
2652
+ throw new Error('Required parameter organizationId was null or undefined when calling getOrganizationDetails.');
2653
+ }
2654
+ // to determine the Accept header
2655
+ var produces = [
2656
+ 'application/json'
2657
+ ];
2658
+ if (this.configuration.apiKeys["Authorization"]) {
2659
+ headers = headers.set('Authorization', this.configuration.apiKeys["Authorization"]);
2660
+ }
2661
+ var consumes = [];
2662
+ var requestOptions = {
2663
+ headers: headers,
2664
+ params: queryParameters,
2665
+ withCredentials: this.configuration.withCredentials,
2666
+ observe: 'response'
2667
+ };
2668
+ return this.http.request(RequestMethod$2.Get, path, requestOptions);
2669
+ };
2670
+ /**
2671
+ * Returns the entire oranizaion hiearchy If there are more than 100 organizations a 403 is returned.
2672
+ *
2673
+ * @param pageSize The number of elements to return in a page (defaults to 100 elements)
2674
+ * @param pageNumber The current page number
2675
+ */
2676
+ OrganizationService.prototype.getOrganizationHierarchyWithHttpInfo = function (pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders) {
2677
+ var _this = this;
2678
+ var path = this.basePath + '/api/v202112/Organization/hierarchy';
2679
+ var queryParameters;
2680
+ if (extraHttpRequestParams) {
2681
+ if (typeof extraHttpRequestParams.search === 'string') {
2682
+ queryParameters = new http.HttpParams({ fromString: extraHttpRequestParams.search });
2683
+ }
2684
+ else {
2685
+ queryParameters = new http.HttpParams({ fromObject: extraHttpRequestParams.search });
2686
+ }
2687
+ }
2688
+ else {
2689
+ queryParameters = new http.HttpParams();
2690
+ }
2691
+ var headers = new http.HttpHeaders();
2692
+ this.defaultHeaders.keys().forEach(function (key) {
2693
+ headers = headers.set(key, _this.defaultHeaders.getAll(key));
2694
+ });
2695
+ if (extraHttpRequestHeaders) {
2696
+ Object.entries(extraHttpRequestHeaders).forEach(function (_a) {
2697
+ var _b = __read(_a, 2), key = _b[0], value = _b[1];
2698
+ headers = headers.set(key, value);
2699
+ });
2700
+ }
2701
+ if (pageSize !== undefined) {
2702
+ queryParameters = queryParameters.set('pageSize', pageSize);
2703
+ }
2704
+ if (pageNumber !== undefined) {
2705
+ queryParameters = queryParameters.set('pageNumber', pageNumber);
2706
+ }
2707
+ // to determine the Accept header
2708
+ var produces = [
2709
+ 'application/json'
2710
+ ];
2711
+ if (this.configuration.apiKeys["Authorization"]) {
2712
+ headers = headers.set('Authorization', this.configuration.apiKeys["Authorization"]);
2713
+ }
2714
+ var consumes = [];
2715
+ var requestOptions = {
2716
+ headers: headers,
2717
+ params: queryParameters,
2718
+ withCredentials: this.configuration.withCredentials,
2719
+ observe: 'response'
2720
+ };
2721
+ return this.http.request(RequestMethod$2.Get, path, requestOptions);
2722
+ };
2723
+ /**
2724
+ * Gets users linked to an organization
2725
+ *
2726
+ * @param organizationId The organization identifier
2727
+ */
2728
+ OrganizationService.prototype.getOrganizationUsersWithHttpInfo = function (organizationId, extraHttpRequestParams, extraHttpRequestHeaders) {
2729
+ var _this = this;
2730
+ var path = this.basePath + '/api/v202112/Organization/${organizationId}/user'
2731
+ .replace('${' + 'organizationId' + '}', String(organizationId));
2732
+ var queryParameters;
2733
+ if (extraHttpRequestParams) {
2734
+ if (typeof extraHttpRequestParams.search === 'string') {
2735
+ queryParameters = new http.HttpParams({ fromString: extraHttpRequestParams.search });
2736
+ }
2737
+ else {
2738
+ queryParameters = new http.HttpParams({ fromObject: extraHttpRequestParams.search });
2739
+ }
2740
+ }
2741
+ else {
2742
+ queryParameters = new http.HttpParams();
2743
+ }
2744
+ var headers = new http.HttpHeaders();
2745
+ this.defaultHeaders.keys().forEach(function (key) {
2746
+ headers = headers.set(key, _this.defaultHeaders.getAll(key));
2747
+ });
2748
+ if (extraHttpRequestHeaders) {
2749
+ Object.entries(extraHttpRequestHeaders).forEach(function (_a) {
2750
+ var _b = __read(_a, 2), key = _b[0], value = _b[1];
2751
+ headers = headers.set(key, value);
2752
+ });
2753
+ }
2754
+ // verify required parameter 'organizationId' is not null or undefined
2755
+ if (organizationId === null || organizationId === undefined) {
2756
+ throw new Error('Required parameter organizationId was null or undefined when calling getOrganizationUsers.');
2757
+ }
2758
+ // to determine the Accept header
2759
+ var produces = [
2760
+ 'application/json'
2761
+ ];
2762
+ if (this.configuration.apiKeys["Authorization"]) {
2763
+ headers = headers.set('Authorization', this.configuration.apiKeys["Authorization"]);
2764
+ }
2765
+ var consumes = [];
2766
+ var requestOptions = {
2767
+ headers: headers,
2768
+ params: queryParameters,
2769
+ withCredentials: this.configuration.withCredentials,
2770
+ observe: 'response'
2771
+ };
2772
+ return this.http.request(RequestMethod$2.Get, path, requestOptions);
1984
2773
  };
1985
2774
  /**
1986
- * Gets information about an Organization
2775
+ * Gets the organizations to which the logged in user has access
1987
2776
  *
1988
- * @param organizationId The organization identifier
2777
+ * @param onlyAdmin Defaults to false. If false, returns all organizations to which the current user has access. If set to true will only return results where the logged in user has admin access
2778
+ * @param pageSize The number of elements to return in a page (defaults to 250 elements)
2779
+ * @param pageNumber The current page number
1989
2780
  */
1990
- OrganizationService.prototype.getOrganizationById = function (organizationId, extraHttpRequestParams, extraHttpRequestHeaders) {
1991
- return this.getOrganizationByIdWithHttpInfo(organizationId, extraHttpRequestParams, extraHttpRequestHeaders)
1992
- .pipe(operators.map(function (response) {
1993
- if (response.status === 204) {
1994
- return undefined;
2781
+ OrganizationService.prototype.getOrganizationsWithHttpInfo = function (onlyAdmin, pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders) {
2782
+ var _this = this;
2783
+ var path = this.basePath + '/api/v202108/Organization';
2784
+ var queryParameters;
2785
+ if (extraHttpRequestParams) {
2786
+ if (typeof extraHttpRequestParams.search === 'string') {
2787
+ queryParameters = new http.HttpParams({ fromString: extraHttpRequestParams.search });
1995
2788
  }
1996
2789
  else {
1997
- return response.body;
2790
+ queryParameters = new http.HttpParams({ fromObject: extraHttpRequestParams.search });
1998
2791
  }
1999
- }));
2792
+ }
2793
+ else {
2794
+ queryParameters = new http.HttpParams();
2795
+ }
2796
+ var headers = new http.HttpHeaders();
2797
+ this.defaultHeaders.keys().forEach(function (key) {
2798
+ headers = headers.set(key, _this.defaultHeaders.getAll(key));
2799
+ });
2800
+ if (extraHttpRequestHeaders) {
2801
+ Object.entries(extraHttpRequestHeaders).forEach(function (_a) {
2802
+ var _b = __read(_a, 2), key = _b[0], value = _b[1];
2803
+ headers = headers.set(key, value);
2804
+ });
2805
+ }
2806
+ if (onlyAdmin !== undefined) {
2807
+ queryParameters = queryParameters.set('onlyAdmin', onlyAdmin);
2808
+ }
2809
+ if (pageSize !== undefined) {
2810
+ queryParameters = queryParameters.set('pageSize', pageSize);
2811
+ }
2812
+ if (pageNumber !== undefined) {
2813
+ queryParameters = queryParameters.set('pageNumber', pageNumber);
2814
+ }
2815
+ // to determine the Accept header
2816
+ var produces = [
2817
+ 'application/json'
2818
+ ];
2819
+ if (this.configuration.apiKeys["Authorization"]) {
2820
+ headers = headers.set('Authorization', this.configuration.apiKeys["Authorization"]);
2821
+ }
2822
+ var consumes = [];
2823
+ var requestOptions = {
2824
+ headers: headers,
2825
+ params: queryParameters,
2826
+ withCredentials: this.configuration.withCredentials,
2827
+ observe: 'response'
2828
+ };
2829
+ return this.http.request(RequestMethod$2.Get, path, requestOptions);
2000
2830
  };
2001
2831
  /**
2002
- * Gets the organizations to which the logged in user has access
2003
2832
  *
2004
- * @param onlyAdmin Defaults to false. If false, returns all organizations to which the current user has access. If set to true will only return results where the logged in user has admin access
2833
+ *
2834
+ * @param query
2835
+ * @param pageSize The number of elements to return in a page (defaults to 50 elements)
2836
+ * @param pageNumber The current page number
2005
2837
  */
2006
- OrganizationService.prototype.getOrganizations = function (onlyAdmin, extraHttpRequestParams, extraHttpRequestHeaders) {
2007
- return this.getOrganizationsWithHttpInfo(onlyAdmin, extraHttpRequestParams, extraHttpRequestHeaders)
2008
- .pipe(operators.map(function (response) {
2009
- if (response.status === 204) {
2010
- return undefined;
2838
+ OrganizationService.prototype.searchOrganizationsWithHttpInfo = function (query, pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders) {
2839
+ var _this = this;
2840
+ var path = this.basePath + '/api/v202112/Organization/search';
2841
+ var queryParameters;
2842
+ if (extraHttpRequestParams) {
2843
+ if (typeof extraHttpRequestParams.search === 'string') {
2844
+ queryParameters = new http.HttpParams({ fromString: extraHttpRequestParams.search });
2011
2845
  }
2012
2846
  else {
2013
- return response.body;
2847
+ queryParameters = new http.HttpParams({ fromObject: extraHttpRequestParams.search });
2014
2848
  }
2015
- }));
2849
+ }
2850
+ else {
2851
+ queryParameters = new http.HttpParams();
2852
+ }
2853
+ var headers = new http.HttpHeaders();
2854
+ this.defaultHeaders.keys().forEach(function (key) {
2855
+ headers = headers.set(key, _this.defaultHeaders.getAll(key));
2856
+ });
2857
+ if (extraHttpRequestHeaders) {
2858
+ Object.entries(extraHttpRequestHeaders).forEach(function (_a) {
2859
+ var _b = __read(_a, 2), key = _b[0], value = _b[1];
2860
+ headers = headers.set(key, value);
2861
+ });
2862
+ }
2863
+ if (query !== undefined) {
2864
+ queryParameters = queryParameters.set('query', query);
2865
+ }
2866
+ if (pageSize !== undefined) {
2867
+ queryParameters = queryParameters.set('pageSize', pageSize);
2868
+ }
2869
+ if (pageNumber !== undefined) {
2870
+ queryParameters = queryParameters.set('pageNumber', pageNumber);
2871
+ }
2872
+ // to determine the Accept header
2873
+ var produces = [
2874
+ 'application/json'
2875
+ ];
2876
+ if (this.configuration.apiKeys["Authorization"]) {
2877
+ headers = headers.set('Authorization', this.configuration.apiKeys["Authorization"]);
2878
+ }
2879
+ var consumes = [];
2880
+ var requestOptions = {
2881
+ headers: headers,
2882
+ params: queryParameters,
2883
+ withCredentials: this.configuration.withCredentials,
2884
+ observe: 'response'
2885
+ };
2886
+ return this.http.request(RequestMethod$2.Get, path, requestOptions);
2016
2887
  };
2017
2888
  /**
2018
- * Gets information about an Organization
2889
+ * Update organization access control data You must be an admin to the organizaion to get this information
2019
2890
  *
2020
2891
  * @param organizationId The organization identifier
2892
+ * @param body
2021
2893
  */
2022
- OrganizationService.prototype.getOrganizationByIdWithHttpInfo = function (organizationId, extraHttpRequestParams, extraHttpRequestHeaders) {
2894
+ OrganizationService.prototype.updateOrganizationAccessControlWithHttpInfo = function (organizationId, body, extraHttpRequestParams, extraHttpRequestHeaders) {
2023
2895
  var _this = this;
2024
- var path = this.basePath + '/api/v202108/Organization/${organizationId}'
2896
+ var path = this.basePath + '/api/v202112/Organization/${organizationId}/accesscontrol'
2025
2897
  .replace('${' + 'organizationId' + '}', String(organizationId));
2026
2898
  var queryParameters;
2027
2899
  if (extraHttpRequestParams) {
@@ -2047,7 +2919,7 @@
2047
2919
  }
2048
2920
  // verify required parameter 'organizationId' is not null or undefined
2049
2921
  if (organizationId === null || organizationId === undefined) {
2050
- throw new Error('Required parameter organizationId was null or undefined when calling getOrganizationById.');
2922
+ throw new Error('Required parameter organizationId was null or undefined when calling updateOrganizationAccessControl.');
2051
2923
  }
2052
2924
  // to determine the Accept header
2053
2925
  var produces = [
@@ -2056,23 +2928,29 @@
2056
2928
  if (this.configuration.apiKeys["Authorization"]) {
2057
2929
  headers = headers.set('Authorization', this.configuration.apiKeys["Authorization"]);
2058
2930
  }
2059
- var consumes = [];
2931
+ var consumes = [
2932
+ 'application/json'
2933
+ ];
2934
+ headers = headers.set('Content-Type', consumes[0]);
2060
2935
  var requestOptions = {
2061
2936
  headers: headers,
2937
+ body: body == null ? '' : (consumes[0] == 'application/json' ? JSON.stringify(body) : body),
2062
2938
  params: queryParameters,
2063
2939
  withCredentials: this.configuration.withCredentials,
2064
2940
  observe: 'response'
2065
2941
  };
2066
- return this.http.request(RequestMethod$2.Get, path, requestOptions);
2942
+ return this.http.request(RequestMethod$2.Put, path, requestOptions);
2067
2943
  };
2068
2944
  /**
2069
- * Gets the organizations to which the logged in user has access
2945
+ * Update organization details You must be an admin to the organizaion to get this information
2070
2946
  *
2071
- * @param onlyAdmin Defaults to false. If false, returns all organizations to which the current user has access. If set to true will only return results where the logged in user has admin access
2947
+ * @param organizationId The organization identifier
2948
+ * @param body
2072
2949
  */
2073
- OrganizationService.prototype.getOrganizationsWithHttpInfo = function (onlyAdmin, extraHttpRequestParams, extraHttpRequestHeaders) {
2950
+ OrganizationService.prototype.updateOrganizationDetailsWithHttpInfo = function (organizationId, body, extraHttpRequestParams, extraHttpRequestHeaders) {
2074
2951
  var _this = this;
2075
- var path = this.basePath + '/api/v202108/Organization';
2952
+ var path = this.basePath + '/api/v202112/Organization/${organizationId}/detail'
2953
+ .replace('${' + 'organizationId' + '}', String(organizationId));
2076
2954
  var queryParameters;
2077
2955
  if (extraHttpRequestParams) {
2078
2956
  if (typeof extraHttpRequestParams.search === 'string') {
@@ -2095,8 +2973,9 @@
2095
2973
  headers = headers.set(key, value);
2096
2974
  });
2097
2975
  }
2098
- if (onlyAdmin !== undefined) {
2099
- queryParameters = queryParameters.set('onlyAdmin', onlyAdmin);
2976
+ // verify required parameter 'organizationId' is not null or undefined
2977
+ if (organizationId === null || organizationId === undefined) {
2978
+ throw new Error('Required parameter organizationId was null or undefined when calling updateOrganizationDetails.');
2100
2979
  }
2101
2980
  // to determine the Accept header
2102
2981
  var produces = [
@@ -2105,14 +2984,18 @@
2105
2984
  if (this.configuration.apiKeys["Authorization"]) {
2106
2985
  headers = headers.set('Authorization', this.configuration.apiKeys["Authorization"]);
2107
2986
  }
2108
- var consumes = [];
2987
+ var consumes = [
2988
+ 'application/json'
2989
+ ];
2990
+ headers = headers.set('Content-Type', consumes[0]);
2109
2991
  var requestOptions = {
2110
2992
  headers: headers,
2993
+ body: body == null ? '' : (consumes[0] == 'application/json' ? JSON.stringify(body) : body),
2111
2994
  params: queryParameters,
2112
2995
  withCredentials: this.configuration.withCredentials,
2113
2996
  observe: 'response'
2114
2997
  };
2115
- return this.http.request(RequestMethod$2.Get, path, requestOptions);
2998
+ return this.http.request(RequestMethod$2.Put, path, requestOptions);
2116
2999
  };
2117
3000
  return OrganizationService;
2118
3001
  }());
@@ -2356,6 +3239,22 @@
2356
3239
  }
2357
3240
  }));
2358
3241
  };
3242
+ /**
3243
+ * Return all application instances a user has access to and you are an admin to
3244
+ *
3245
+ * @param userId The user to get application instances for
3246
+ */
3247
+ UserService.prototype.getUserApplicationInstances = function (userId, extraHttpRequestParams, extraHttpRequestHeaders) {
3248
+ return this.getUserApplicationInstancesWithHttpInfo(userId, extraHttpRequestParams, extraHttpRequestHeaders)
3249
+ .pipe(operators.map(function (response) {
3250
+ if (response.status === 204) {
3251
+ return undefined;
3252
+ }
3253
+ else {
3254
+ return response.body;
3255
+ }
3256
+ }));
3257
+ };
2359
3258
  /**
2360
3259
  * Use this method to get information about a user
2361
3260
  *
@@ -2372,6 +3271,22 @@
2372
3271
  }
2373
3272
  }));
2374
3273
  };
3274
+ /**
3275
+ * Return all organization a user has access to and you are an admin to
3276
+ *
3277
+ * @param userId The user to get application instances for
3278
+ */
3279
+ UserService.prototype.getUserOrganizations = function (userId, extraHttpRequestParams, extraHttpRequestHeaders) {
3280
+ return this.getUserOrganizationsWithHttpInfo(userId, extraHttpRequestParams, extraHttpRequestHeaders)
3281
+ .pipe(operators.map(function (response) {
3282
+ if (response.status === 204) {
3283
+ return undefined;
3284
+ }
3285
+ else {
3286
+ return response.body;
3287
+ }
3288
+ }));
3289
+ };
2375
3290
  /**
2376
3291
  * Gets information regarding the specified entity to which the specified user has access. Only if the logged in user is in administrator will information be available. If the user does not have access, no entry will be returned.
2377
3292
  *
@@ -2575,17 +3490,119 @@
2575
3490
  withCredentials: this.configuration.withCredentials,
2576
3491
  observe: 'response'
2577
3492
  };
2578
- return this.http.request(RequestMethod.Delete, path, requestOptions);
3493
+ return this.http.request(RequestMethod.Delete, path, requestOptions);
3494
+ };
3495
+ /**
3496
+ * Return all application instances a user has access to and you are an admin to
3497
+ *
3498
+ * @param userId The user to get application instances for
3499
+ */
3500
+ UserService.prototype.getUserApplicationInstancesWithHttpInfo = function (userId, extraHttpRequestParams, extraHttpRequestHeaders) {
3501
+ var _this = this;
3502
+ var path = this.basePath + '/api/v202112/User/${userId}/applicationInstance'
3503
+ .replace('${' + 'userId' + '}', String(userId));
3504
+ var queryParameters;
3505
+ if (extraHttpRequestParams) {
3506
+ if (typeof extraHttpRequestParams.search === 'string') {
3507
+ queryParameters = new http.HttpParams({ fromString: extraHttpRequestParams.search });
3508
+ }
3509
+ else {
3510
+ queryParameters = new http.HttpParams({ fromObject: extraHttpRequestParams.search });
3511
+ }
3512
+ }
3513
+ else {
3514
+ queryParameters = new http.HttpParams();
3515
+ }
3516
+ var headers = new http.HttpHeaders();
3517
+ this.defaultHeaders.keys().forEach(function (key) {
3518
+ headers = headers.set(key, _this.defaultHeaders.getAll(key));
3519
+ });
3520
+ if (extraHttpRequestHeaders) {
3521
+ Object.entries(extraHttpRequestHeaders).forEach(function (_a) {
3522
+ var _b = __read(_a, 2), key = _b[0], value = _b[1];
3523
+ headers = headers.set(key, value);
3524
+ });
3525
+ }
3526
+ // verify required parameter 'userId' is not null or undefined
3527
+ if (userId === null || userId === undefined) {
3528
+ throw new Error('Required parameter userId was null or undefined when calling getUserApplicationInstances.');
3529
+ }
3530
+ // to determine the Accept header
3531
+ var produces = [
3532
+ 'application/json'
3533
+ ];
3534
+ if (this.configuration.apiKeys["Authorization"]) {
3535
+ headers = headers.set('Authorization', this.configuration.apiKeys["Authorization"]);
3536
+ }
3537
+ var consumes = [];
3538
+ var requestOptions = {
3539
+ headers: headers,
3540
+ params: queryParameters,
3541
+ withCredentials: this.configuration.withCredentials,
3542
+ observe: 'response'
3543
+ };
3544
+ return this.http.request(RequestMethod.Get, path, requestOptions);
3545
+ };
3546
+ /**
3547
+ * Use this method to get information about a user
3548
+ *
3549
+ * @param email The email address of the user to return
3550
+ */
3551
+ UserService.prototype.getUserByEmailWithHttpInfo = function (email, extraHttpRequestParams, extraHttpRequestHeaders) {
3552
+ var _this = this;
3553
+ var path = this.basePath + '/api/v202108/User/${email}'
3554
+ .replace('${' + 'email' + '}', String(email));
3555
+ var queryParameters;
3556
+ if (extraHttpRequestParams) {
3557
+ if (typeof extraHttpRequestParams.search === 'string') {
3558
+ queryParameters = new http.HttpParams({ fromString: extraHttpRequestParams.search });
3559
+ }
3560
+ else {
3561
+ queryParameters = new http.HttpParams({ fromObject: extraHttpRequestParams.search });
3562
+ }
3563
+ }
3564
+ else {
3565
+ queryParameters = new http.HttpParams();
3566
+ }
3567
+ var headers = new http.HttpHeaders();
3568
+ this.defaultHeaders.keys().forEach(function (key) {
3569
+ headers = headers.set(key, _this.defaultHeaders.getAll(key));
3570
+ });
3571
+ if (extraHttpRequestHeaders) {
3572
+ Object.entries(extraHttpRequestHeaders).forEach(function (_a) {
3573
+ var _b = __read(_a, 2), key = _b[0], value = _b[1];
3574
+ headers = headers.set(key, value);
3575
+ });
3576
+ }
3577
+ // verify required parameter 'email' is not null or undefined
3578
+ if (email === null || email === undefined) {
3579
+ throw new Error('Required parameter email was null or undefined when calling getUserByEmail.');
3580
+ }
3581
+ // to determine the Accept header
3582
+ var produces = [
3583
+ 'application/json'
3584
+ ];
3585
+ if (this.configuration.apiKeys["Authorization"]) {
3586
+ headers = headers.set('Authorization', this.configuration.apiKeys["Authorization"]);
3587
+ }
3588
+ var consumes = [];
3589
+ var requestOptions = {
3590
+ headers: headers,
3591
+ params: queryParameters,
3592
+ withCredentials: this.configuration.withCredentials,
3593
+ observe: 'response'
3594
+ };
3595
+ return this.http.request(RequestMethod.Get, path, requestOptions);
2579
3596
  };
2580
3597
  /**
2581
- * Use this method to get information about a user
3598
+ * Return all organization a user has access to and you are an admin to
2582
3599
  *
2583
- * @param email The email address of the user to return
3600
+ * @param userId The user to get application instances for
2584
3601
  */
2585
- UserService.prototype.getUserByEmailWithHttpInfo = function (email, extraHttpRequestParams, extraHttpRequestHeaders) {
3602
+ UserService.prototype.getUserOrganizationsWithHttpInfo = function (userId, extraHttpRequestParams, extraHttpRequestHeaders) {
2586
3603
  var _this = this;
2587
- var path = this.basePath + '/api/v202108/User/${email}'
2588
- .replace('${' + 'email' + '}', String(email));
3604
+ var path = this.basePath + '/api/v202112/User/${userId}/organization'
3605
+ .replace('${' + 'userId' + '}', String(userId));
2589
3606
  var queryParameters;
2590
3607
  if (extraHttpRequestParams) {
2591
3608
  if (typeof extraHttpRequestParams.search === 'string') {
@@ -2608,9 +3625,9 @@
2608
3625
  headers = headers.set(key, value);
2609
3626
  });
2610
3627
  }
2611
- // verify required parameter 'email' is not null or undefined
2612
- if (email === null || email === undefined) {
2613
- throw new Error('Required parameter email was null or undefined when calling getUserByEmail.');
3628
+ // verify required parameter 'userId' is not null or undefined
3629
+ if (userId === null || userId === undefined) {
3630
+ throw new Error('Required parameter userId was null or undefined when calling getUserOrganizations.');
2614
3631
  }
2615
3632
  // to determine the Accept header
2616
3633
  var produces = [
@@ -2961,13 +3978,47 @@
2961
3978
  { type: Configuration, decorators: [{ type: core.Optional }] }
2962
3979
  ]; };
2963
3980
 
2964
- var APIS = [ApplicationService, ApplicationInstanceService, AuthService, DataSourceService, EnvironmentService, MeService, OrganizationService, OrganizationApplicationService, UserService];
3981
+ var APIS = [ApplicationService, ApplicationInstanceService, AuthService, DataSourceService, DomainJoinTypeService, EnvironmentService, MeService, OrganizationService, OrganizationApplicationService, UserService];
3982
+
3983
+ /**
3984
+ * EnergyCAP ID SDK
3985
+ * Document used to generate the EnergyCAP ID SDK
3986
+ *
3987
+ * OpenAPI spec version: 1.2112
3988
+ * Contact: support@energycap.com
3989
+ *
3990
+ * NOTE: This class is auto generated by the swagger code generator program.
3991
+ * https://github.com/swagger-api/swagger-codegen.git
3992
+ * Do not edit the class manually.
3993
+ */
3994
+ var APIFilter = /** @class */ (function () {
3995
+ function APIFilter() {
3996
+ }
3997
+ return APIFilter;
3998
+ }());
3999
+
4000
+ /**
4001
+ * EnergyCAP ID SDK
4002
+ * Document used to generate the EnergyCAP ID SDK
4003
+ *
4004
+ * OpenAPI spec version: 1.2112
4005
+ * Contact: support@energycap.com
4006
+ *
4007
+ * NOTE: This class is auto generated by the swagger code generator program.
4008
+ * https://github.com/swagger-api/swagger-codegen.git
4009
+ * Do not edit the class manually.
4010
+ */
4011
+ var APIOrderBy = /** @class */ (function () {
4012
+ function APIOrderBy() {
4013
+ }
4014
+ return APIOrderBy;
4015
+ }());
2965
4016
 
2966
4017
  /**
2967
4018
  * EnergyCAP ID SDK
2968
4019
  * Document used to generate the EnergyCAP ID SDK
2969
4020
  *
2970
- * OpenAPI spec version: 1.2108
4021
+ * OpenAPI spec version: 1.2112
2971
4022
  * Contact: support@energycap.com
2972
4023
  *
2973
4024
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -2987,7 +4038,27 @@
2987
4038
  * EnergyCAP ID SDK
2988
4039
  * Document used to generate the EnergyCAP ID SDK
2989
4040
  *
2990
- * OpenAPI spec version: 1.2108
4041
+ * OpenAPI spec version: 1.2112
4042
+ * Contact: support@energycap.com
4043
+ *
4044
+ * NOTE: This class is auto generated by the swagger code generator program.
4045
+ * https://github.com/swagger-api/swagger-codegen.git
4046
+ * Do not edit the class manually.
4047
+ */
4048
+ /**
4049
+ * Represents an Application Instance user
4050
+ */
4051
+ var ApplicationInstanceDetailResponse = /** @class */ (function () {
4052
+ function ApplicationInstanceDetailResponse() {
4053
+ }
4054
+ return ApplicationInstanceDetailResponse;
4055
+ }());
4056
+
4057
+ /**
4058
+ * EnergyCAP ID SDK
4059
+ * Document used to generate the EnergyCAP ID SDK
4060
+ *
4061
+ * OpenAPI spec version: 1.2112
2991
4062
  * Contact: support@energycap.com
2992
4063
  *
2993
4064
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -3007,7 +4078,7 @@
3007
4078
  * EnergyCAP ID SDK
3008
4079
  * Document used to generate the EnergyCAP ID SDK
3009
4080
  *
3010
- * OpenAPI spec version: 1.2108
4081
+ * OpenAPI spec version: 1.2112
3011
4082
  * Contact: support@energycap.com
3012
4083
  *
3013
4084
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -3027,7 +4098,27 @@
3027
4098
  * EnergyCAP ID SDK
3028
4099
  * Document used to generate the EnergyCAP ID SDK
3029
4100
  *
3030
- * OpenAPI spec version: 1.2108
4101
+ * OpenAPI spec version: 1.2112
4102
+ * Contact: support@energycap.com
4103
+ *
4104
+ * NOTE: This class is auto generated by the swagger code generator program.
4105
+ * https://github.com/swagger-api/swagger-codegen.git
4106
+ * Do not edit the class manually.
4107
+ */
4108
+ /**
4109
+ * Represents an Application Instance user
4110
+ */
4111
+ var ApplicationInstanceUserResponse = /** @class */ (function () {
4112
+ function ApplicationInstanceUserResponse() {
4113
+ }
4114
+ return ApplicationInstanceUserResponse;
4115
+ }());
4116
+
4117
+ /**
4118
+ * EnergyCAP ID SDK
4119
+ * Document used to generate the EnergyCAP ID SDK
4120
+ *
4121
+ * OpenAPI spec version: 1.2112
3031
4122
  * Contact: support@energycap.com
3032
4123
  *
3033
4124
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -3047,7 +4138,7 @@
3047
4138
  * EnergyCAP ID SDK
3048
4139
  * Document used to generate the EnergyCAP ID SDK
3049
4140
  *
3050
- * OpenAPI spec version: 1.2108
4141
+ * OpenAPI spec version: 1.2112
3051
4142
  * Contact: support@energycap.com
3052
4143
  *
3053
4144
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -3067,7 +4158,24 @@
3067
4158
  * EnergyCAP ID SDK
3068
4159
  * Document used to generate the EnergyCAP ID SDK
3069
4160
  *
3070
- * OpenAPI spec version: 1.2108
4161
+ * OpenAPI spec version: 1.2112
4162
+ * Contact: support@energycap.com
4163
+ *
4164
+ * NOTE: This class is auto generated by the swagger code generator program.
4165
+ * https://github.com/swagger-api/swagger-codegen.git
4166
+ * Do not edit the class manually.
4167
+ */
4168
+ var CreateOrganizationRequest = /** @class */ (function () {
4169
+ function CreateOrganizationRequest() {
4170
+ }
4171
+ return CreateOrganizationRequest;
4172
+ }());
4173
+
4174
+ /**
4175
+ * EnergyCAP ID SDK
4176
+ * Document used to generate the EnergyCAP ID SDK
4177
+ *
4178
+ * OpenAPI spec version: 1.2112
3071
4179
  * Contact: support@energycap.com
3072
4180
  *
3073
4181
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -3087,7 +4195,7 @@
3087
4195
  * EnergyCAP ID SDK
3088
4196
  * Document used to generate the EnergyCAP ID SDK
3089
4197
  *
3090
- * OpenAPI spec version: 1.2108
4198
+ * OpenAPI spec version: 1.2112
3091
4199
  * Contact: support@energycap.com
3092
4200
  *
3093
4201
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -3107,7 +4215,47 @@
3107
4215
  * EnergyCAP ID SDK
3108
4216
  * Document used to generate the EnergyCAP ID SDK
3109
4217
  *
3110
- * OpenAPI spec version: 1.2108
4218
+ * OpenAPI spec version: 1.2112
4219
+ * Contact: support@energycap.com
4220
+ *
4221
+ * NOTE: This class is auto generated by the swagger code generator program.
4222
+ * https://github.com/swagger-api/swagger-codegen.git
4223
+ * Do not edit the class manually.
4224
+ */
4225
+ /**
4226
+ * Domain Accessor Control
4227
+ */
4228
+ var DomainAccessControlResponse = /** @class */ (function () {
4229
+ function DomainAccessControlResponse() {
4230
+ }
4231
+ return DomainAccessControlResponse;
4232
+ }());
4233
+
4234
+ /**
4235
+ * EnergyCAP ID SDK
4236
+ * Document used to generate the EnergyCAP ID SDK
4237
+ *
4238
+ * OpenAPI spec version: 1.2112
4239
+ * Contact: support@energycap.com
4240
+ *
4241
+ * NOTE: This class is auto generated by the swagger code generator program.
4242
+ * https://github.com/swagger-api/swagger-codegen.git
4243
+ * Do not edit the class manually.
4244
+ */
4245
+ /**
4246
+ * Domain Join Types
4247
+ */
4248
+ var DomainJoinTypeResponse = /** @class */ (function () {
4249
+ function DomainJoinTypeResponse() {
4250
+ }
4251
+ return DomainJoinTypeResponse;
4252
+ }());
4253
+
4254
+ /**
4255
+ * EnergyCAP ID SDK
4256
+ * Document used to generate the EnergyCAP ID SDK
4257
+ *
4258
+ * OpenAPI spec version: 1.2112
3111
4259
  * Contact: support@energycap.com
3112
4260
  *
3113
4261
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -3127,7 +4275,7 @@
3127
4275
  * EnergyCAP ID SDK
3128
4276
  * Document used to generate the EnergyCAP ID SDK
3129
4277
  *
3130
- * OpenAPI spec version: 1.2108
4278
+ * OpenAPI spec version: 1.2112
3131
4279
  * Contact: support@energycap.com
3132
4280
  *
3133
4281
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -3147,7 +4295,41 @@
3147
4295
  * EnergyCAP ID SDK
3148
4296
  * Document used to generate the EnergyCAP ID SDK
3149
4297
  *
3150
- * OpenAPI spec version: 1.2108
4298
+ * OpenAPI spec version: 1.2112
4299
+ * Contact: support@energycap.com
4300
+ *
4301
+ * NOTE: This class is auto generated by the swagger code generator program.
4302
+ * https://github.com/swagger-api/swagger-codegen.git
4303
+ * Do not edit the class manually.
4304
+ */
4305
+ var HierarchicalOrganizations = /** @class */ (function () {
4306
+ function HierarchicalOrganizations() {
4307
+ }
4308
+ return HierarchicalOrganizations;
4309
+ }());
4310
+
4311
+ /**
4312
+ * EnergyCAP ID SDK
4313
+ * Document used to generate the EnergyCAP ID SDK
4314
+ *
4315
+ * OpenAPI spec version: 1.2112
4316
+ * Contact: support@energycap.com
4317
+ *
4318
+ * NOTE: This class is auto generated by the swagger code generator program.
4319
+ * https://github.com/swagger-api/swagger-codegen.git
4320
+ * Do not edit the class manually.
4321
+ */
4322
+ var HierarchicalOrganizations2 = /** @class */ (function () {
4323
+ function HierarchicalOrganizations2() {
4324
+ }
4325
+ return HierarchicalOrganizations2;
4326
+ }());
4327
+
4328
+ /**
4329
+ * EnergyCAP ID SDK
4330
+ * Document used to generate the EnergyCAP ID SDK
4331
+ *
4332
+ * OpenAPI spec version: 1.2112
3151
4333
  * Contact: support@energycap.com
3152
4334
  *
3153
4335
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -3167,7 +4349,7 @@
3167
4349
  * EnergyCAP ID SDK
3168
4350
  * Document used to generate the EnergyCAP ID SDK
3169
4351
  *
3170
- * OpenAPI spec version: 1.2108
4352
+ * OpenAPI spec version: 1.2112
3171
4353
  * Contact: support@energycap.com
3172
4354
  *
3173
4355
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -3187,7 +4369,7 @@
3187
4369
  * EnergyCAP ID SDK
3188
4370
  * Document used to generate the EnergyCAP ID SDK
3189
4371
  *
3190
- * OpenAPI spec version: 1.2108
4372
+ * OpenAPI spec version: 1.2112
3191
4373
  * Contact: support@energycap.com
3192
4374
  *
3193
4375
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -3207,7 +4389,7 @@
3207
4389
  * EnergyCAP ID SDK
3208
4390
  * Document used to generate the EnergyCAP ID SDK
3209
4391
  *
3210
- * OpenAPI spec version: 1.2108
4392
+ * OpenAPI spec version: 1.2112
3211
4393
  * Contact: support@energycap.com
3212
4394
  *
3213
4395
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -3227,7 +4409,27 @@
3227
4409
  * EnergyCAP ID SDK
3228
4410
  * Document used to generate the EnergyCAP ID SDK
3229
4411
  *
3230
- * OpenAPI spec version: 1.2108
4412
+ * OpenAPI spec version: 1.2112
4413
+ * Contact: support@energycap.com
4414
+ *
4415
+ * NOTE: This class is auto generated by the swagger code generator program.
4416
+ * https://github.com/swagger-api/swagger-codegen.git
4417
+ * Do not edit the class manually.
4418
+ */
4419
+ /**
4420
+ * Organization Access Control
4421
+ */
4422
+ var OrganizationAccessControlResponse = /** @class */ (function () {
4423
+ function OrganizationAccessControlResponse() {
4424
+ }
4425
+ return OrganizationAccessControlResponse;
4426
+ }());
4427
+
4428
+ /**
4429
+ * EnergyCAP ID SDK
4430
+ * Document used to generate the EnergyCAP ID SDK
4431
+ *
4432
+ * OpenAPI spec version: 1.2112
3231
4433
  * Contact: support@energycap.com
3232
4434
  *
3233
4435
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -3247,7 +4449,27 @@
3247
4449
  * EnergyCAP ID SDK
3248
4450
  * Document used to generate the EnergyCAP ID SDK
3249
4451
  *
3250
- * OpenAPI spec version: 1.2108
4452
+ * OpenAPI spec version: 1.2112
4453
+ * Contact: support@energycap.com
4454
+ *
4455
+ * NOTE: This class is auto generated by the swagger code generator program.
4456
+ * https://github.com/swagger-api/swagger-codegen.git
4457
+ * Do not edit the class manually.
4458
+ */
4459
+ /**
4460
+ * Provides more detailed data about an organization
4461
+ */
4462
+ var OrganizationDetailResponse = /** @class */ (function () {
4463
+ function OrganizationDetailResponse() {
4464
+ }
4465
+ return OrganizationDetailResponse;
4466
+ }());
4467
+
4468
+ /**
4469
+ * EnergyCAP ID SDK
4470
+ * Document used to generate the EnergyCAP ID SDK
4471
+ *
4472
+ * OpenAPI spec version: 1.2112
3251
4473
  * Contact: support@energycap.com
3252
4474
  *
3253
4475
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -3267,7 +4489,24 @@
3267
4489
  * EnergyCAP ID SDK
3268
4490
  * Document used to generate the EnergyCAP ID SDK
3269
4491
  *
3270
- * OpenAPI spec version: 1.2108
4492
+ * OpenAPI spec version: 1.2112
4493
+ * Contact: support@energycap.com
4494
+ *
4495
+ * NOTE: This class is auto generated by the swagger code generator program.
4496
+ * https://github.com/swagger-api/swagger-codegen.git
4497
+ * Do not edit the class manually.
4498
+ */
4499
+ var OrganizationUserResponse = /** @class */ (function () {
4500
+ function OrganizationUserResponse() {
4501
+ }
4502
+ return OrganizationUserResponse;
4503
+ }());
4504
+
4505
+ /**
4506
+ * EnergyCAP ID SDK
4507
+ * Document used to generate the EnergyCAP ID SDK
4508
+ *
4509
+ * OpenAPI spec version: 1.2112
3271
4510
  * Contact: support@energycap.com
3272
4511
  *
3273
4512
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -3287,7 +4526,7 @@
3287
4526
  * EnergyCAP ID SDK
3288
4527
  * Document used to generate the EnergyCAP ID SDK
3289
4528
  *
3290
- * OpenAPI spec version: 1.2108
4529
+ * OpenAPI spec version: 1.2112
3291
4530
  * Contact: support@energycap.com
3292
4531
  *
3293
4532
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -3305,7 +4544,7 @@
3305
4544
  * EnergyCAP ID SDK
3306
4545
  * Document used to generate the EnergyCAP ID SDK
3307
4546
  *
3308
- * OpenAPI spec version: 1.2108
4547
+ * OpenAPI spec version: 1.2112
3309
4548
  * Contact: support@energycap.com
3310
4549
  *
3311
4550
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -3325,7 +4564,7 @@
3325
4564
  * EnergyCAP ID SDK
3326
4565
  * Document used to generate the EnergyCAP ID SDK
3327
4566
  *
3328
- * OpenAPI spec version: 1.2108
4567
+ * OpenAPI spec version: 1.2112
3329
4568
  * Contact: support@energycap.com
3330
4569
  *
3331
4570
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -3345,7 +4584,61 @@
3345
4584
  * EnergyCAP ID SDK
3346
4585
  * Document used to generate the EnergyCAP ID SDK
3347
4586
  *
3348
- * OpenAPI spec version: 1.2108
4587
+ * OpenAPI spec version: 1.2112
4588
+ * Contact: support@energycap.com
4589
+ *
4590
+ * NOTE: This class is auto generated by the swagger code generator program.
4591
+ * https://github.com/swagger-api/swagger-codegen.git
4592
+ * Do not edit the class manually.
4593
+ */
4594
+ var UpdateOrganizationAccessControlRequest = /** @class */ (function () {
4595
+ function UpdateOrganizationAccessControlRequest() {
4596
+ }
4597
+ return UpdateOrganizationAccessControlRequest;
4598
+ }());
4599
+
4600
+ /**
4601
+ * EnergyCAP ID SDK
4602
+ * Document used to generate the EnergyCAP ID SDK
4603
+ *
4604
+ * OpenAPI spec version: 1.2112
4605
+ * Contact: support@energycap.com
4606
+ *
4607
+ * NOTE: This class is auto generated by the swagger code generator program.
4608
+ * https://github.com/swagger-api/swagger-codegen.git
4609
+ * Do not edit the class manually.
4610
+ */
4611
+ var UpdateOrganizationDetailsRequest = /** @class */ (function () {
4612
+ function UpdateOrganizationDetailsRequest() {
4613
+ }
4614
+ return UpdateOrganizationDetailsRequest;
4615
+ }());
4616
+
4617
+ /**
4618
+ * EnergyCAP ID SDK
4619
+ * Document used to generate the EnergyCAP ID SDK
4620
+ *
4621
+ * OpenAPI spec version: 1.2112
4622
+ * Contact: support@energycap.com
4623
+ *
4624
+ * NOTE: This class is auto generated by the swagger code generator program.
4625
+ * https://github.com/swagger-api/swagger-codegen.git
4626
+ * Do not edit the class manually.
4627
+ */
4628
+ /**
4629
+ * Represents an Application Instance for a user
4630
+ */
4631
+ var UserApplicationInstanceResponse = /** @class */ (function () {
4632
+ function UserApplicationInstanceResponse() {
4633
+ }
4634
+ return UserApplicationInstanceResponse;
4635
+ }());
4636
+
4637
+ /**
4638
+ * EnergyCAP ID SDK
4639
+ * Document used to generate the EnergyCAP ID SDK
4640
+ *
4641
+ * OpenAPI spec version: 1.2112
3349
4642
  * Contact: support@energycap.com
3350
4643
  *
3351
4644
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -3368,7 +4661,27 @@
3368
4661
  * EnergyCAP ID SDK
3369
4662
  * Document used to generate the EnergyCAP ID SDK
3370
4663
  *
3371
- * OpenAPI spec version: 1.2108
4664
+ * OpenAPI spec version: 1.2112
4665
+ * Contact: support@energycap.com
4666
+ *
4667
+ * NOTE: This class is auto generated by the swagger code generator program.
4668
+ * https://github.com/swagger-api/swagger-codegen.git
4669
+ * Do not edit the class manually.
4670
+ */
4671
+ /**
4672
+ * The model representing data about a user.
4673
+ */
4674
+ var UserChild = /** @class */ (function () {
4675
+ function UserChild() {
4676
+ }
4677
+ return UserChild;
4678
+ }());
4679
+
4680
+ /**
4681
+ * EnergyCAP ID SDK
4682
+ * Document used to generate the EnergyCAP ID SDK
4683
+ *
4684
+ * OpenAPI spec version: 1.2112
3372
4685
  * Contact: support@energycap.com
3373
4686
  *
3374
4687
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -3388,7 +4701,27 @@
3388
4701
  * EnergyCAP ID SDK
3389
4702
  * Document used to generate the EnergyCAP ID SDK
3390
4703
  *
3391
- * OpenAPI spec version: 1.2108
4704
+ * OpenAPI spec version: 1.2112
4705
+ * Contact: support@energycap.com
4706
+ *
4707
+ * NOTE: This class is auto generated by the swagger code generator program.
4708
+ * https://github.com/swagger-api/swagger-codegen.git
4709
+ * Do not edit the class manually.
4710
+ */
4711
+ /**
4712
+ * Represents an Organization for a user
4713
+ */
4714
+ var UserOrganizationResponse = /** @class */ (function () {
4715
+ function UserOrganizationResponse() {
4716
+ }
4717
+ return UserOrganizationResponse;
4718
+ }());
4719
+
4720
+ /**
4721
+ * EnergyCAP ID SDK
4722
+ * Document used to generate the EnergyCAP ID SDK
4723
+ *
4724
+ * OpenAPI spec version: 1.2112
3392
4725
  * Contact: support@energycap.com
3393
4726
  *
3394
4727
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -3408,7 +4741,7 @@
3408
4741
  * EnergyCAP ID SDK
3409
4742
  * Document used to generate the EnergyCAP ID SDK
3410
4743
  *
3411
- * OpenAPI spec version: 1.2108
4744
+ * OpenAPI spec version: 1.2112
3412
4745
  * Contact: support@energycap.com
3413
4746
  *
3414
4747
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -3428,7 +4761,7 @@
3428
4761
  * EnergyCAP ID SDK
3429
4762
  * Document used to generate the EnergyCAP ID SDK
3430
4763
  *
3431
- * OpenAPI spec version: 1.2108
4764
+ * OpenAPI spec version: 1.2112
3432
4765
  * Contact: support@energycap.com
3433
4766
  *
3434
4767
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -3448,7 +4781,7 @@
3448
4781
  * EnergyCAP ID SDK
3449
4782
  * Document used to generate the EnergyCAP ID SDK
3450
4783
  *
3451
- * OpenAPI spec version: 1.2108
4784
+ * OpenAPI spec version: 1.2112
3452
4785
  * Contact: support@energycap.com
3453
4786
  *
3454
4787
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -3469,7 +4802,7 @@
3469
4802
  * EnergyCAP ID SDK
3470
4803
  * Document used to generate the EnergyCAP ID SDK
3471
4804
  *
3472
- * OpenAPI spec version: 1.2108
4805
+ * OpenAPI spec version: 1.2112
3473
4806
  * Contact: support@energycap.com
3474
4807
  *
3475
4808
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -3489,7 +4822,7 @@
3489
4822
  * EnergyCAP ID SDK
3490
4823
  * Document used to generate the EnergyCAP ID SDK
3491
4824
  *
3492
- * OpenAPI spec version: 1.2108
4825
+ * OpenAPI spec version: 1.2112
3493
4826
  * Contact: support@energycap.com
3494
4827
  *
3495
4828
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -3521,7 +4854,7 @@
3521
4854
  imports: [common.CommonModule, http.HttpClientModule],
3522
4855
  declarations: [],
3523
4856
  exports: [],
3524
- providers: [ApplicationService, ApplicationInstanceService, AuthService, DataSourceService, EnvironmentService, MeService, OrganizationService, OrganizationApplicationService, UserService]
4857
+ providers: [ApplicationService, ApplicationInstanceService, AuthService, DataSourceService, DomainJoinTypeService, EnvironmentService, MeService, OrganizationService, OrganizationApplicationService, UserService]
3525
4858
  },] }
3526
4859
  ];
3527
4860
 
@@ -3529,11 +4862,15 @@
3529
4862
  * Generated bundle index. Do not edit.
3530
4863
  */
3531
4864
 
4865
+ exports.APIFilter = APIFilter;
4866
+ exports.APIOrderBy = APIOrderBy;
3532
4867
  exports.APIS = APIS;
3533
4868
  exports.AllUserPermissionsResponse = AllUserPermissionsResponse;
4869
+ exports.ApplicationInstanceDetailResponse = ApplicationInstanceDetailResponse;
3534
4870
  exports.ApplicationInstanceRedirectResponse = ApplicationInstanceRedirectResponse;
3535
4871
  exports.ApplicationInstanceResponse = ApplicationInstanceResponse;
3536
4872
  exports.ApplicationInstanceService = ApplicationInstanceService;
4873
+ exports.ApplicationInstanceUserResponse = ApplicationInstanceUserResponse;
3537
4874
  exports.ApplicationResponse = ApplicationResponse;
3538
4875
  exports.ApplicationService = ApplicationService;
3539
4876
  exports.AuthService = AuthService;
@@ -3541,26 +4878,40 @@
3541
4878
  exports.COLLECTION_FORMATS = COLLECTION_FORMATS;
3542
4879
  exports.ChangePasswordRequest = ChangePasswordRequest;
3543
4880
  exports.Configuration = Configuration;
4881
+ exports.CreateOrganizationRequest = CreateOrganizationRequest;
3544
4882
  exports.DataSourceResponse = DataSourceResponse;
3545
4883
  exports.DataSourceService = DataSourceService;
3546
4884
  exports.DataSourceUpdateRequest = DataSourceUpdateRequest;
4885
+ exports.DomainAccessControlResponse = DomainAccessControlResponse;
4886
+ exports.DomainJoinTypeResponse = DomainJoinTypeResponse;
4887
+ exports.DomainJoinTypeService = DomainJoinTypeService;
3547
4888
  exports.EnergyCapSdkModule = EnergyCapSdkModule;
3548
4889
  exports.EntityPermission = EntityPermission;
3549
4890
  exports.EnvironmentResponse = EnvironmentResponse;
3550
4891
  exports.EnvironmentService = EnvironmentService;
4892
+ exports.HierarchicalOrganizations = HierarchicalOrganizations;
4893
+ exports.HierarchicalOrganizations2 = HierarchicalOrganizations2;
3551
4894
  exports.InviteUserRequest = InviteUserRequest;
3552
4895
  exports.LinkDataSourceRequest = LinkDataSourceRequest;
3553
4896
  exports.LoginResponse = LoginResponse;
3554
4897
  exports.LoginSourceResponse = LoginSourceResponse;
3555
4898
  exports.MeService = MeService;
4899
+ exports.OrganizationAccessControlResponse = OrganizationAccessControlResponse;
3556
4900
  exports.OrganizationApplicationResponse = OrganizationApplicationResponse;
3557
4901
  exports.OrganizationApplicationService = OrganizationApplicationService;
4902
+ exports.OrganizationDetailResponse = OrganizationDetailResponse;
3558
4903
  exports.OrganizationResponse = OrganizationResponse;
3559
4904
  exports.OrganizationService = OrganizationService;
4905
+ exports.OrganizationUserResponse = OrganizationUserResponse;
3560
4906
  exports.ResetPasswordRequest = ResetPasswordRequest;
3561
4907
  exports.SelfCreateUserRequest = SelfCreateUserRequest;
3562
4908
  exports.UpdateMeRequest = UpdateMeRequest;
4909
+ exports.UpdateOrganizationAccessControlRequest = UpdateOrganizationAccessControlRequest;
4910
+ exports.UpdateOrganizationDetailsRequest = UpdateOrganizationDetailsRequest;
4911
+ exports.UserApplicationInstanceResponse = UserApplicationInstanceResponse;
4912
+ exports.UserChild = UserChild;
3563
4913
  exports.UserLoginRequest = UserLoginRequest;
4914
+ exports.UserOrganizationResponse = UserOrganizationResponse;
3564
4915
  exports.UserPermissionRequest = UserPermissionRequest;
3565
4916
  exports.UserPermissionResponse = UserPermissionResponse;
3566
4917
  exports.UserResponse = UserResponse;