@energycap/energycapid-sdk-angular 1.2108.40 → 1.2112.41-develop-20211220-1233

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 +61 -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 +204 -1
  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 +1481 -180
  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 +157 -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 +531 -2
  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 +1501 -296
  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,23 @@
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 body Id of the application instance to return
589
+ */
590
+ ApplicationInstanceService.prototype.getApplicationInstanceUsers = function (applicationInstanceId, body, extraHttpRequestParams, extraHttpRequestHeaders) {
591
+ return this.getApplicationInstanceUsersWithHttpInfo(applicationInstanceId, body, extraHttpRequestParams, extraHttpRequestHeaders)
592
+ .pipe(operators.map(function (response) {
593
+ if (response.status === 204) {
594
+ return undefined;
595
+ }
596
+ else {
597
+ return response.body;
598
+ }
599
+ }));
600
+ };
567
601
  /**
568
602
  * Provides a list of all available application instances to which the logged in user has access
569
603
  *
@@ -571,9 +605,11 @@
571
605
  * @param dataSourceName Filter by an exact name of a data source
572
606
  * @param targetHost Filter by a host name containing an alias
573
607
  * @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
608
+ * @param orderBy
609
+ * @param filter
574
610
  */
575
- ApplicationInstanceService.prototype.getApplicationInstances = function (organizationName, dataSourceName, targetHost, onlyAdmin, extraHttpRequestParams, extraHttpRequestHeaders) {
576
- return this.getApplicationInstancesWithHttpInfo(organizationName, dataSourceName, targetHost, onlyAdmin, extraHttpRequestParams, extraHttpRequestHeaders)
611
+ ApplicationInstanceService.prototype.getApplicationInstances = function (organizationName, dataSourceName, targetHost, onlyAdmin, orderBy, filter, extraHttpRequestParams, extraHttpRequestHeaders) {
612
+ return this.getApplicationInstancesWithHttpInfo(organizationName, dataSourceName, targetHost, onlyAdmin, orderBy, filter, extraHttpRequestParams, extraHttpRequestHeaders)
577
613
  .pipe(operators.map(function (response) {
578
614
  if (response.status === 204) {
579
615
  return undefined;
@@ -583,6 +619,62 @@
583
619
  }
584
620
  }));
585
621
  };
622
+ /**
623
+ * Provides details to an application instance
624
+ *
625
+ * @param applicationInstanceId
626
+ * @param body Id of the application instance to return
627
+ */
628
+ ApplicationInstanceService.prototype.getApplicationInstanceDetailsWithHttpInfo = function (applicationInstanceId, body, extraHttpRequestParams, extraHttpRequestHeaders) {
629
+ var _this = this;
630
+ var path = this.basePath + '/api/v202112/ApplicationInstance/${applicationInstanceId}/detail'
631
+ .replace('${' + 'applicationInstanceId' + '}', String(applicationInstanceId));
632
+ var queryParameters;
633
+ if (extraHttpRequestParams) {
634
+ if (typeof extraHttpRequestParams.search === 'string') {
635
+ queryParameters = new http.HttpParams({ fromString: extraHttpRequestParams.search });
636
+ }
637
+ else {
638
+ queryParameters = new http.HttpParams({ fromObject: extraHttpRequestParams.search });
639
+ }
640
+ }
641
+ else {
642
+ queryParameters = new http.HttpParams();
643
+ }
644
+ var headers = new http.HttpHeaders();
645
+ this.defaultHeaders.keys().forEach(function (key) {
646
+ headers = headers.set(key, _this.defaultHeaders.getAll(key));
647
+ });
648
+ if (extraHttpRequestHeaders) {
649
+ Object.entries(extraHttpRequestHeaders).forEach(function (_a) {
650
+ var _b = __read(_a, 2), key = _b[0], value = _b[1];
651
+ headers = headers.set(key, value);
652
+ });
653
+ }
654
+ // verify required parameter 'applicationInstanceId' is not null or undefined
655
+ if (applicationInstanceId === null || applicationInstanceId === undefined) {
656
+ throw new Error('Required parameter applicationInstanceId was null or undefined when calling getApplicationInstanceDetails.');
657
+ }
658
+ // to determine the Accept header
659
+ var produces = [
660
+ 'application/json'
661
+ ];
662
+ if (this.configuration.apiKeys["Authorization"]) {
663
+ headers = headers.set('Authorization', this.configuration.apiKeys["Authorization"]);
664
+ }
665
+ var consumes = [
666
+ 'application/json'
667
+ ];
668
+ headers = headers.set('Content-Type', consumes[0]);
669
+ var requestOptions = {
670
+ headers: headers,
671
+ body: body == null ? '' : (consumes[0] == 'application/json' ? JSON.stringify(body) : body),
672
+ params: queryParameters,
673
+ withCredentials: this.configuration.withCredentials,
674
+ observe: 'response'
675
+ };
676
+ return this.http.request(RequestMethod$8.Get, path, requestOptions);
677
+ };
586
678
  /**
587
679
  * Provides the data needed to redirect the user to the specified application instance
588
680
  * 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 +724,63 @@
632
724
  withCredentials: this.configuration.withCredentials,
633
725
  observe: 'response'
634
726
  };
635
- return this.http.request(RequestMethod$7.Get, path, requestOptions);
727
+ return this.http.request(RequestMethod$8.Get, path, requestOptions);
728
+ };
729
+ /**
730
+ * Provides a list of user's who have access to an application instance
731
+ *
732
+ * @param applicationInstanceId
733
+ * @param body Id of the application instance to return
734
+ */
735
+ ApplicationInstanceService.prototype.getApplicationInstanceUsersWithHttpInfo = function (applicationInstanceId, body, extraHttpRequestParams, extraHttpRequestHeaders) {
736
+ var _this = this;
737
+ var path = this.basePath + '/api/v202112/ApplicationInstance/${applicationInstanceId}/user'
738
+ .replace('${' + 'applicationInstanceId' + '}', String(applicationInstanceId));
739
+ var queryParameters;
740
+ if (extraHttpRequestParams) {
741
+ if (typeof extraHttpRequestParams.search === 'string') {
742
+ queryParameters = new http.HttpParams({ fromString: extraHttpRequestParams.search });
743
+ }
744
+ else {
745
+ queryParameters = new http.HttpParams({ fromObject: extraHttpRequestParams.search });
746
+ }
747
+ }
748
+ else {
749
+ queryParameters = new http.HttpParams();
750
+ }
751
+ var headers = new http.HttpHeaders();
752
+ this.defaultHeaders.keys().forEach(function (key) {
753
+ headers = headers.set(key, _this.defaultHeaders.getAll(key));
754
+ });
755
+ if (extraHttpRequestHeaders) {
756
+ Object.entries(extraHttpRequestHeaders).forEach(function (_a) {
757
+ var _b = __read(_a, 2), key = _b[0], value = _b[1];
758
+ headers = headers.set(key, value);
759
+ });
760
+ }
761
+ // verify required parameter 'applicationInstanceId' is not null or undefined
762
+ if (applicationInstanceId === null || applicationInstanceId === undefined) {
763
+ throw new Error('Required parameter applicationInstanceId was null or undefined when calling getApplicationInstanceUsers.');
764
+ }
765
+ // to determine the Accept header
766
+ var produces = [
767
+ 'application/json'
768
+ ];
769
+ if (this.configuration.apiKeys["Authorization"]) {
770
+ headers = headers.set('Authorization', this.configuration.apiKeys["Authorization"]);
771
+ }
772
+ var consumes = [
773
+ 'application/json'
774
+ ];
775
+ headers = headers.set('Content-Type', consumes[0]);
776
+ var requestOptions = {
777
+ headers: headers,
778
+ body: body == null ? '' : (consumes[0] == 'application/json' ? JSON.stringify(body) : body),
779
+ params: queryParameters,
780
+ withCredentials: this.configuration.withCredentials,
781
+ observe: 'response'
782
+ };
783
+ return this.http.request(RequestMethod$8.Get, path, requestOptions);
636
784
  };
637
785
  /**
638
786
  * Provides a list of all available application instances to which the logged in user has access
@@ -641,8 +789,10 @@
641
789
  * @param dataSourceName Filter by an exact name of a data source
642
790
  * @param targetHost Filter by a host name containing an alias
643
791
  * @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
792
+ * @param orderBy
793
+ * @param filter
644
794
  */
645
- ApplicationInstanceService.prototype.getApplicationInstancesWithHttpInfo = function (organizationName, dataSourceName, targetHost, onlyAdmin, extraHttpRequestParams, extraHttpRequestHeaders) {
795
+ ApplicationInstanceService.prototype.getApplicationInstancesWithHttpInfo = function (organizationName, dataSourceName, targetHost, onlyAdmin, orderBy, filter, extraHttpRequestParams, extraHttpRequestHeaders) {
646
796
  var _this = this;
647
797
  var path = this.basePath + '/api/v202108/ApplicationInstance';
648
798
  var queryParameters;
@@ -679,6 +829,12 @@
679
829
  if (onlyAdmin !== undefined) {
680
830
  queryParameters = queryParameters.set('onlyAdmin', onlyAdmin);
681
831
  }
832
+ if (orderBy !== undefined) {
833
+ queryParameters = queryParameters.set('orderBy', orderBy);
834
+ }
835
+ if (filter !== undefined) {
836
+ queryParameters = queryParameters.set('filter', filter);
837
+ }
682
838
  // to determine the Accept header
683
839
  var produces = [
684
840
  'application/json'
@@ -693,7 +849,7 @@
693
849
  withCredentials: this.configuration.withCredentials,
694
850
  observe: 'response'
695
851
  };
696
- return this.http.request(RequestMethod$7.Get, path, requestOptions);
852
+ return this.http.request(RequestMethod$8.Get, path, requestOptions);
697
853
  };
698
854
  return ApplicationInstanceService;
699
855
  }());
@@ -706,7 +862,7 @@
706
862
  { type: Configuration, decorators: [{ type: core.Optional }] }
707
863
  ]; };
708
864
 
709
- var RequestMethod$6 = {
865
+ var RequestMethod$7 = {
710
866
  Get: 'get',
711
867
  Post: 'post',
712
868
  Put: 'put',
@@ -929,7 +1085,7 @@
929
1085
  withCredentials: this.configuration.withCredentials,
930
1086
  observe: 'response'
931
1087
  };
932
- return this.http.request(RequestMethod$6.Post, path, requestOptions);
1088
+ return this.http.request(RequestMethod$7.Post, path, requestOptions);
933
1089
  };
934
1090
  /**
935
1091
  * 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 +1134,7 @@
978
1134
  withCredentials: this.configuration.withCredentials,
979
1135
  observe: 'response'
980
1136
  };
981
- return this.http.request(RequestMethod$6.Get, path, requestOptions);
1137
+ return this.http.request(RequestMethod$7.Get, path, requestOptions);
982
1138
  };
983
1139
  /**
984
1140
  * Use this method to authenticate a user given an authcode from the federation provider
@@ -1037,7 +1193,7 @@
1037
1193
  withCredentials: this.configuration.withCredentials,
1038
1194
  observe: 'response'
1039
1195
  };
1040
- return this.http.request(RequestMethod$6.Get, path, requestOptions);
1196
+ return this.http.request(RequestMethod$7.Get, path, requestOptions);
1041
1197
  };
1042
1198
  /**
1043
1199
  * Use this method to authenticate a user given their username and password
@@ -1087,7 +1243,7 @@
1087
1243
  withCredentials: this.configuration.withCredentials,
1088
1244
  observe: 'response'
1089
1245
  };
1090
- return this.http.request(RequestMethod$6.Post, path, requestOptions);
1246
+ return this.http.request(RequestMethod$7.Post, path, requestOptions);
1091
1247
  };
1092
1248
  /**
1093
1249
  * 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 +1291,7 @@
1135
1291
  withCredentials: this.configuration.withCredentials,
1136
1292
  observe: 'response'
1137
1293
  };
1138
- return this.http.request(RequestMethod$6.Post, path, requestOptions);
1294
+ return this.http.request(RequestMethod$7.Post, path, requestOptions);
1139
1295
  };
1140
1296
  /**
1141
1297
  * If the user exists, an email will be sent. If the domain is a federated domain, no email will be sent
@@ -1182,7 +1338,7 @@
1182
1338
  withCredentials: this.configuration.withCredentials,
1183
1339
  observe: 'response'
1184
1340
  };
1185
- return this.http.request(RequestMethod$6.Get, path, requestOptions);
1341
+ return this.http.request(RequestMethod$7.Get, path, requestOptions);
1186
1342
  };
1187
1343
  /**
1188
1344
  * Validates a password
@@ -1232,7 +1388,7 @@
1232
1388
  withCredentials: this.configuration.withCredentials,
1233
1389
  observe: 'response'
1234
1390
  };
1235
- return this.http.request(RequestMethod$6.Post, path, requestOptions);
1391
+ return this.http.request(RequestMethod$7.Post, path, requestOptions);
1236
1392
  };
1237
1393
  return AuthService;
1238
1394
  }());
@@ -1245,7 +1401,7 @@
1245
1401
  { type: Configuration, decorators: [{ type: core.Optional }] }
1246
1402
  ]; };
1247
1403
 
1248
- var RequestMethod$5 = {
1404
+ var RequestMethod$6 = {
1249
1405
  Get: 'get',
1250
1406
  Post: 'post',
1251
1407
  Put: 'put',
@@ -1404,7 +1560,7 @@
1404
1560
  withCredentials: this.configuration.withCredentials,
1405
1561
  observe: 'response'
1406
1562
  };
1407
- return this.http.request(RequestMethod$5.Get, path, requestOptions);
1563
+ return this.http.request(RequestMethod$6.Get, path, requestOptions);
1408
1564
  };
1409
1565
  /**
1410
1566
  * Gets the data sources to which the logged in user has access.
@@ -1453,7 +1609,7 @@
1453
1609
  withCredentials: this.configuration.withCredentials,
1454
1610
  observe: 'response'
1455
1611
  };
1456
- return this.http.request(RequestMethod$5.Get, path, requestOptions);
1612
+ return this.http.request(RequestMethod$6.Get, path, requestOptions);
1457
1613
  };
1458
1614
  /**
1459
1615
  * 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 +1665,7 @@
1509
1665
  withCredentials: this.configuration.withCredentials,
1510
1666
  observe: 'response'
1511
1667
  };
1512
- return this.http.request(RequestMethod$5.Put, path, requestOptions);
1668
+ return this.http.request(RequestMethod$6.Put, path, requestOptions);
1513
1669
  };
1514
1670
  return DataSourceService;
1515
1671
  }());
@@ -1522,7 +1678,7 @@
1522
1678
  { type: Configuration, decorators: [{ type: core.Optional }] }
1523
1679
  ]; };
1524
1680
 
1525
- var RequestMethod$4 = {
1681
+ var RequestMethod$5 = {
1526
1682
  Get: 'get',
1527
1683
  Post: 'post',
1528
1684
  Put: 'put',
@@ -1531,8 +1687,8 @@
1531
1687
  Head: 'head',
1532
1688
  Patch: 'patch'
1533
1689
  };
1534
- var EnvironmentService = /** @class */ (function () {
1535
- function EnvironmentService(http$1, basePath, configuration) {
1690
+ var DomainJoinTypeService = /** @class */ (function () {
1691
+ function DomainJoinTypeService(http$1, basePath, configuration) {
1536
1692
  this.http = http$1;
1537
1693
  this.basePath = 'https://localhost';
1538
1694
  this.defaultHeaders = new http.HttpHeaders();
@@ -1551,7 +1707,7 @@
1551
1707
  * @param objA object to be extended
1552
1708
  * @param objB source object
1553
1709
  */
1554
- EnvironmentService.prototype.extendObj = function (objA, objB) {
1710
+ DomainJoinTypeService.prototype.extendObj = function (objA, objB) {
1555
1711
  for (var key in objB) {
1556
1712
  if (objB.hasOwnProperty(key)) {
1557
1713
  objA[key] = objB[key];
@@ -1563,7 +1719,7 @@
1563
1719
  * @param consumes string[] mime-types
1564
1720
  * @return true: consumes contains 'multipart/form-data', false: otherwise
1565
1721
  */
1566
- EnvironmentService.prototype.canConsumeForm = function (consumes) {
1722
+ DomainJoinTypeService.prototype.canConsumeForm = function (consumes) {
1567
1723
  var e_1, _a;
1568
1724
  var form = 'multipart/form-data';
1569
1725
  try {
@@ -1584,12 +1740,11 @@
1584
1740
  return false;
1585
1741
  };
1586
1742
  /**
1587
- * A List of environments. By default only those the current user has access to. Use the query parameter to get all environments
1743
+ * Gets a list of all Domain Join Types
1588
1744
  *
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
1745
  */
1591
- EnvironmentService.prototype.getEnvironments = function (includeAll, extraHttpRequestParams, extraHttpRequestHeaders) {
1592
- return this.getEnvironmentsWithHttpInfo(includeAll, extraHttpRequestParams, extraHttpRequestHeaders)
1746
+ DomainJoinTypeService.prototype.getDomainJoinTypes = function (extraHttpRequestParams, extraHttpRequestHeaders) {
1747
+ return this.getDomainJoinTypesWithHttpInfo(extraHttpRequestParams, extraHttpRequestHeaders)
1593
1748
  .pipe(operators.map(function (response) {
1594
1749
  if (response.status === 204) {
1595
1750
  return undefined;
@@ -1600,13 +1755,12 @@
1600
1755
  }));
1601
1756
  };
1602
1757
  /**
1603
- * A List of environments. By default only those the current user has access to. Use the query parameter to get all environments
1758
+ * Gets a list of all Domain Join Types
1604
1759
  *
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
1760
  */
1607
- EnvironmentService.prototype.getEnvironmentsWithHttpInfo = function (includeAll, extraHttpRequestParams, extraHttpRequestHeaders) {
1761
+ DomainJoinTypeService.prototype.getDomainJoinTypesWithHttpInfo = function (extraHttpRequestParams, extraHttpRequestHeaders) {
1608
1762
  var _this = this;
1609
- var path = this.basePath + '/api/v202108/Environment';
1763
+ var path = this.basePath + '/api/v202112/DomainJoinType';
1610
1764
  var queryParameters;
1611
1765
  if (extraHttpRequestParams) {
1612
1766
  if (typeof extraHttpRequestParams.search === 'string') {
@@ -1629,9 +1783,6 @@
1629
1783
  headers = headers.set(key, value);
1630
1784
  });
1631
1785
  }
1632
- if (includeAll !== undefined) {
1633
- queryParameters = queryParameters.set('includeAll', includeAll);
1634
- }
1635
1786
  // to determine the Accept header
1636
1787
  var produces = [
1637
1788
  'application/json'
@@ -1646,20 +1797,20 @@
1646
1797
  withCredentials: this.configuration.withCredentials,
1647
1798
  observe: 'response'
1648
1799
  };
1649
- return this.http.request(RequestMethod$4.Get, path, requestOptions);
1800
+ return this.http.request(RequestMethod$5.Get, path, requestOptions);
1650
1801
  };
1651
- return EnvironmentService;
1802
+ return DomainJoinTypeService;
1652
1803
  }());
1653
- EnvironmentService.decorators = [
1804
+ DomainJoinTypeService.decorators = [
1654
1805
  { type: core.Injectable }
1655
1806
  ];
1656
- EnvironmentService.ctorParameters = function () { return [
1807
+ DomainJoinTypeService.ctorParameters = function () { return [
1657
1808
  { type: http.HttpClient },
1658
1809
  { type: String, decorators: [{ type: core.Optional }, { type: core.Inject, args: [BASE_PATH,] }] },
1659
1810
  { type: Configuration, decorators: [{ type: core.Optional }] }
1660
1811
  ]; };
1661
1812
 
1662
- var RequestMethod$3 = {
1813
+ var RequestMethod$4 = {
1663
1814
  Get: 'get',
1664
1815
  Post: 'post',
1665
1816
  Put: 'put',
@@ -1668,8 +1819,8 @@
1668
1819
  Head: 'head',
1669
1820
  Patch: 'patch'
1670
1821
  };
1671
- var MeService = /** @class */ (function () {
1672
- function MeService(http$1, basePath, configuration) {
1822
+ var EnvironmentService = /** @class */ (function () {
1823
+ function EnvironmentService(http$1, basePath, configuration) {
1673
1824
  this.http = http$1;
1674
1825
  this.basePath = 'https://localhost';
1675
1826
  this.defaultHeaders = new http.HttpHeaders();
@@ -1688,7 +1839,7 @@
1688
1839
  * @param objA object to be extended
1689
1840
  * @param objB source object
1690
1841
  */
1691
- MeService.prototype.extendObj = function (objA, objB) {
1842
+ EnvironmentService.prototype.extendObj = function (objA, objB) {
1692
1843
  for (var key in objB) {
1693
1844
  if (objB.hasOwnProperty(key)) {
1694
1845
  objA[key] = objB[key];
@@ -1700,7 +1851,7 @@
1700
1851
  * @param consumes string[] mime-types
1701
1852
  * @return true: consumes contains 'multipart/form-data', false: otherwise
1702
1853
  */
1703
- MeService.prototype.canConsumeForm = function (consumes) {
1854
+ EnvironmentService.prototype.canConsumeForm = function (consumes) {
1704
1855
  var e_1, _a;
1705
1856
  var form = 'multipart/form-data';
1706
1857
  try {
@@ -1721,43 +1872,12 @@
1721
1872
  return false;
1722
1873
  };
1723
1874
  /**
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
1875
+ * A List of environments. By default only those the current user has access to. Use the query parameter to get all environments
1756
1876
  *
1757
- * @param body The user information to update
1877
+ * @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
1878
  */
1759
- MeService.prototype.updateMyInformation = function (body, extraHttpRequestParams, extraHttpRequestHeaders) {
1760
- return this.updateMyInformationWithHttpInfo(body, extraHttpRequestParams, extraHttpRequestHeaders)
1879
+ EnvironmentService.prototype.getEnvironments = function (includeAll, extraHttpRequestParams, extraHttpRequestHeaders) {
1880
+ return this.getEnvironmentsWithHttpInfo(includeAll, extraHttpRequestParams, extraHttpRequestHeaders)
1761
1881
  .pipe(operators.map(function (response) {
1762
1882
  if (response.status === 204) {
1763
1883
  return undefined;
@@ -1768,12 +1888,13 @@
1768
1888
  }));
1769
1889
  };
1770
1890
  /**
1771
- * Use this method to get information about the currently authenticated user
1891
+ * A List of environments. By default only those the current user has access to. Use the query parameter to get all environments
1772
1892
  *
1893
+ * @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
1894
  */
1774
- MeService.prototype.getMeWithHttpInfo = function (extraHttpRequestParams, extraHttpRequestHeaders) {
1895
+ EnvironmentService.prototype.getEnvironmentsWithHttpInfo = function (includeAll, extraHttpRequestParams, extraHttpRequestHeaders) {
1775
1896
  var _this = this;
1776
- var path = this.basePath + '/api/v202108/Me';
1897
+ var path = this.basePath + '/api/v202108/Environment';
1777
1898
  var queryParameters;
1778
1899
  if (extraHttpRequestParams) {
1779
1900
  if (typeof extraHttpRequestParams.search === 'string') {
@@ -1796,6 +1917,9 @@
1796
1917
  headers = headers.set(key, value);
1797
1918
  });
1798
1919
  }
1920
+ if (includeAll !== undefined) {
1921
+ queryParameters = queryParameters.set('includeAll', includeAll);
1922
+ }
1799
1923
  // to determine the Accept header
1800
1924
  var produces = [
1801
1925
  'application/json'
@@ -1810,33 +1934,197 @@
1810
1934
  withCredentials: this.configuration.withCredentials,
1811
1935
  observe: 'response'
1812
1936
  };
1813
- return this.http.request(RequestMethod$3.Get, path, requestOptions);
1937
+ return this.http.request(RequestMethod$4.Get, path, requestOptions);
1814
1938
  };
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();
1836
- this.defaultHeaders.keys().forEach(function (key) {
1837
- headers = headers.set(key, _this.defaultHeaders.getAll(key));
1838
- });
1839
- if (extraHttpRequestHeaders) {
1939
+ return EnvironmentService;
1940
+ }());
1941
+ EnvironmentService.decorators = [
1942
+ { type: core.Injectable }
1943
+ ];
1944
+ EnvironmentService.ctorParameters = function () { return [
1945
+ { type: http.HttpClient },
1946
+ { type: String, decorators: [{ type: core.Optional }, { type: core.Inject, args: [BASE_PATH,] }] },
1947
+ { type: Configuration, decorators: [{ type: core.Optional }] }
1948
+ ]; };
1949
+
1950
+ var RequestMethod$3 = {
1951
+ Get: 'get',
1952
+ Post: 'post',
1953
+ Put: 'put',
1954
+ Delete: 'delete',
1955
+ Options: 'options',
1956
+ Head: 'head',
1957
+ Patch: 'patch'
1958
+ };
1959
+ var MeService = /** @class */ (function () {
1960
+ function MeService(http$1, basePath, configuration) {
1961
+ this.http = http$1;
1962
+ this.basePath = 'https://localhost';
1963
+ this.defaultHeaders = new http.HttpHeaders();
1964
+ this.configuration = new Configuration();
1965
+ if (basePath) {
1966
+ this.basePath = basePath;
1967
+ }
1968
+ if (configuration) {
1969
+ this.configuration = configuration;
1970
+ this.basePath = basePath || configuration.basePath || this.basePath;
1971
+ }
1972
+ }
1973
+ /**
1974
+ *
1975
+ * Extends object by coping non-existing properties.
1976
+ * @param objA object to be extended
1977
+ * @param objB source object
1978
+ */
1979
+ MeService.prototype.extendObj = function (objA, objB) {
1980
+ for (var key in objB) {
1981
+ if (objB.hasOwnProperty(key)) {
1982
+ objA[key] = objB[key];
1983
+ }
1984
+ }
1985
+ return objA;
1986
+ };
1987
+ /**
1988
+ * @param consumes string[] mime-types
1989
+ * @return true: consumes contains 'multipart/form-data', false: otherwise
1990
+ */
1991
+ MeService.prototype.canConsumeForm = function (consumes) {
1992
+ var e_1, _a;
1993
+ var form = 'multipart/form-data';
1994
+ try {
1995
+ for (var consumes_1 = __values(consumes), consumes_1_1 = consumes_1.next(); !consumes_1_1.done; consumes_1_1 = consumes_1.next()) {
1996
+ var consume = consumes_1_1.value;
1997
+ if (form === consume) {
1998
+ return true;
1999
+ }
2000
+ }
2001
+ }
2002
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
2003
+ finally {
2004
+ try {
2005
+ if (consumes_1_1 && !consumes_1_1.done && (_a = consumes_1.return)) _a.call(consumes_1);
2006
+ }
2007
+ finally { if (e_1) throw e_1.error; }
2008
+ }
2009
+ return false;
2010
+ };
2011
+ /**
2012
+ * Use this method to get information about the currently authenticated user
2013
+ *
2014
+ */
2015
+ MeService.prototype.getMe = function (extraHttpRequestParams, extraHttpRequestHeaders) {
2016
+ return this.getMeWithHttpInfo(extraHttpRequestParams, extraHttpRequestHeaders)
2017
+ .pipe(operators.map(function (response) {
2018
+ if (response.status === 204) {
2019
+ return undefined;
2020
+ }
2021
+ else {
2022
+ return response.body;
2023
+ }
2024
+ }));
2025
+ };
2026
+ /**
2027
+ * Will allow a user to link to a data source that they don't have access to based upon their login name
2028
+ *
2029
+ * @param body Information needed to connect to the data source
2030
+ */
2031
+ MeService.prototype.linkMyUserToDataSource = function (body, extraHttpRequestParams, extraHttpRequestHeaders) {
2032
+ return this.linkMyUserToDataSourceWithHttpInfo(body, extraHttpRequestParams, extraHttpRequestHeaders)
2033
+ .pipe(operators.map(function (response) {
2034
+ if (response.status === 204) {
2035
+ return undefined;
2036
+ }
2037
+ else {
2038
+ return response.body;
2039
+ }
2040
+ }));
2041
+ };
2042
+ /**
2043
+ * Use this method to update the currently authenticated user's information
2044
+ *
2045
+ * @param body The user information to update
2046
+ */
2047
+ MeService.prototype.updateMyInformation = function (body, extraHttpRequestParams, extraHttpRequestHeaders) {
2048
+ return this.updateMyInformationWithHttpInfo(body, extraHttpRequestParams, extraHttpRequestHeaders)
2049
+ .pipe(operators.map(function (response) {
2050
+ if (response.status === 204) {
2051
+ return undefined;
2052
+ }
2053
+ else {
2054
+ return response.body;
2055
+ }
2056
+ }));
2057
+ };
2058
+ /**
2059
+ * Use this method to get information about the currently authenticated user
2060
+ *
2061
+ */
2062
+ MeService.prototype.getMeWithHttpInfo = function (extraHttpRequestParams, extraHttpRequestHeaders) {
2063
+ var _this = this;
2064
+ var path = this.basePath + '/api/v202108/Me';
2065
+ var queryParameters;
2066
+ if (extraHttpRequestParams) {
2067
+ if (typeof extraHttpRequestParams.search === 'string') {
2068
+ queryParameters = new http.HttpParams({ fromString: extraHttpRequestParams.search });
2069
+ }
2070
+ else {
2071
+ queryParameters = new http.HttpParams({ fromObject: extraHttpRequestParams.search });
2072
+ }
2073
+ }
2074
+ else {
2075
+ queryParameters = new http.HttpParams();
2076
+ }
2077
+ var headers = new http.HttpHeaders();
2078
+ this.defaultHeaders.keys().forEach(function (key) {
2079
+ headers = headers.set(key, _this.defaultHeaders.getAll(key));
2080
+ });
2081
+ if (extraHttpRequestHeaders) {
2082
+ Object.entries(extraHttpRequestHeaders).forEach(function (_a) {
2083
+ var _b = __read(_a, 2), key = _b[0], value = _b[1];
2084
+ headers = headers.set(key, value);
2085
+ });
2086
+ }
2087
+ // to determine the Accept header
2088
+ var produces = [
2089
+ 'application/json'
2090
+ ];
2091
+ if (this.configuration.apiKeys["Authorization"]) {
2092
+ headers = headers.set('Authorization', this.configuration.apiKeys["Authorization"]);
2093
+ }
2094
+ var consumes = [];
2095
+ var requestOptions = {
2096
+ headers: headers,
2097
+ params: queryParameters,
2098
+ withCredentials: this.configuration.withCredentials,
2099
+ observe: 'response'
2100
+ };
2101
+ return this.http.request(RequestMethod$3.Get, path, requestOptions);
2102
+ };
2103
+ /**
2104
+ * Will allow a user to link to a data source that they don't have access to based upon their login name
2105
+ *
2106
+ * @param body Information needed to connect to the data source
2107
+ */
2108
+ MeService.prototype.linkMyUserToDataSourceWithHttpInfo = function (body, extraHttpRequestParams, extraHttpRequestHeaders) {
2109
+ var _this = this;
2110
+ var path = this.basePath + '/api/v202108/Me/dataSource/link';
2111
+ var queryParameters;
2112
+ if (extraHttpRequestParams) {
2113
+ if (typeof extraHttpRequestParams.search === 'string') {
2114
+ queryParameters = new http.HttpParams({ fromString: extraHttpRequestParams.search });
2115
+ }
2116
+ else {
2117
+ queryParameters = new http.HttpParams({ fromObject: extraHttpRequestParams.search });
2118
+ }
2119
+ }
2120
+ else {
2121
+ queryParameters = new http.HttpParams();
2122
+ }
2123
+ var headers = new http.HttpHeaders();
2124
+ this.defaultHeaders.keys().forEach(function (key) {
2125
+ headers = headers.set(key, _this.defaultHeaders.getAll(key));
2126
+ });
2127
+ if (extraHttpRequestHeaders) {
1840
2128
  Object.entries(extraHttpRequestHeaders).forEach(function (_a) {
1841
2129
  var _b = __read(_a, 2), key = _b[0], value = _b[1];
1842
2130
  headers = headers.set(key, value);
@@ -1980,48 +2268,582 @@
1980
2268
  }
1981
2269
  finally { if (e_1) throw e_1.error; }
1982
2270
  }
1983
- return false;
2271
+ return false;
2272
+ };
2273
+ /**
2274
+ * Create a new organization
2275
+ *
2276
+ * @param organizationId
2277
+ * @param body
2278
+ */
2279
+ OrganizationService.prototype.createOrganization = function (organizationId, body, extraHttpRequestParams, extraHttpRequestHeaders) {
2280
+ return this.createOrganizationWithHttpInfo(organizationId, body, extraHttpRequestParams, extraHttpRequestHeaders)
2281
+ .pipe(operators.map(function (response) {
2282
+ if (response.status === 204) {
2283
+ return undefined;
2284
+ }
2285
+ else {
2286
+ return response.body;
2287
+ }
2288
+ }));
2289
+ };
2290
+ /**
2291
+ * Gets organization access control data You must be an admin to the organizaion to get this information
2292
+ *
2293
+ * @param organizationId The organization identifier
2294
+ */
2295
+ OrganizationService.prototype.getOrganizationAccessControl = function (organizationId, extraHttpRequestParams, extraHttpRequestHeaders) {
2296
+ return this.getOrganizationAccessControlWithHttpInfo(organizationId, extraHttpRequestParams, extraHttpRequestHeaders)
2297
+ .pipe(operators.map(function (response) {
2298
+ if (response.status === 204) {
2299
+ return undefined;
2300
+ }
2301
+ else {
2302
+ return response.body;
2303
+ }
2304
+ }));
2305
+ };
2306
+ /**
2307
+ * Gets information about an Organization
2308
+ *
2309
+ * @param organizationId The organization identifier
2310
+ */
2311
+ OrganizationService.prototype.getOrganizationById = function (organizationId, extraHttpRequestParams, extraHttpRequestHeaders) {
2312
+ return this.getOrganizationByIdWithHttpInfo(organizationId, extraHttpRequestParams, extraHttpRequestHeaders)
2313
+ .pipe(operators.map(function (response) {
2314
+ if (response.status === 204) {
2315
+ return undefined;
2316
+ }
2317
+ else {
2318
+ return response.body;
2319
+ }
2320
+ }));
2321
+ };
2322
+ /**
2323
+ * Gets additional detail information about an Organization You must be an admin to the organizaion to get this information
2324
+ *
2325
+ * @param organizationId The organization identifier
2326
+ */
2327
+ OrganizationService.prototype.getOrganizationDetails = function (organizationId, extraHttpRequestParams, extraHttpRequestHeaders) {
2328
+ return this.getOrganizationDetailsWithHttpInfo(organizationId, extraHttpRequestParams, extraHttpRequestHeaders)
2329
+ .pipe(operators.map(function (response) {
2330
+ if (response.status === 204) {
2331
+ return undefined;
2332
+ }
2333
+ else {
2334
+ return response.body;
2335
+ }
2336
+ }));
2337
+ };
2338
+ /**
2339
+ * Returns the entire oranizaion hiearchy If there are more than 100 organizations a 403 is returned.
2340
+ *
2341
+ */
2342
+ OrganizationService.prototype.getOrganizationHierarchy = function (extraHttpRequestParams, extraHttpRequestHeaders) {
2343
+ return this.getOrganizationHierarchyWithHttpInfo(extraHttpRequestParams, extraHttpRequestHeaders)
2344
+ .pipe(operators.map(function (response) {
2345
+ if (response.status === 204) {
2346
+ return undefined;
2347
+ }
2348
+ else {
2349
+ return response.body;
2350
+ }
2351
+ }));
2352
+ };
2353
+ /**
2354
+ * Gets users linked to an organization
2355
+ *
2356
+ * @param organizationId The organization identifier
2357
+ */
2358
+ OrganizationService.prototype.getOrganizationUsers = function (organizationId, extraHttpRequestParams, extraHttpRequestHeaders) {
2359
+ return this.getOrganizationUsersWithHttpInfo(organizationId, extraHttpRequestParams, extraHttpRequestHeaders)
2360
+ .pipe(operators.map(function (response) {
2361
+ if (response.status === 204) {
2362
+ return undefined;
2363
+ }
2364
+ else {
2365
+ return response.body;
2366
+ }
2367
+ }));
2368
+ };
2369
+ /**
2370
+ * Gets the organizations to which the logged in user has access
2371
+ *
2372
+ * @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
2373
+ */
2374
+ OrganizationService.prototype.getOrganizations = function (onlyAdmin, extraHttpRequestParams, extraHttpRequestHeaders) {
2375
+ return this.getOrganizationsWithHttpInfo(onlyAdmin, extraHttpRequestParams, extraHttpRequestHeaders)
2376
+ .pipe(operators.map(function (response) {
2377
+ if (response.status === 204) {
2378
+ return undefined;
2379
+ }
2380
+ else {
2381
+ return response.body;
2382
+ }
2383
+ }));
2384
+ };
2385
+ /**
2386
+ *
2387
+ *
2388
+ * @param query
2389
+ */
2390
+ OrganizationService.prototype.searchOrganizations = function (query, extraHttpRequestParams, extraHttpRequestHeaders) {
2391
+ return this.searchOrganizationsWithHttpInfo(query, extraHttpRequestParams, extraHttpRequestHeaders)
2392
+ .pipe(operators.map(function (response) {
2393
+ if (response.status === 204) {
2394
+ return undefined;
2395
+ }
2396
+ else {
2397
+ return response.body;
2398
+ }
2399
+ }));
2400
+ };
2401
+ /**
2402
+ * Update organization access control data You must be an admin to the organizaion to get this information
2403
+ *
2404
+ * @param organizationId The organization identifier
2405
+ * @param body
2406
+ */
2407
+ OrganizationService.prototype.updateOrganizationAccessControl = function (organizationId, body, extraHttpRequestParams, extraHttpRequestHeaders) {
2408
+ return this.updateOrganizationAccessControlWithHttpInfo(organizationId, body, extraHttpRequestParams, extraHttpRequestHeaders)
2409
+ .pipe(operators.map(function (response) {
2410
+ if (response.status === 204) {
2411
+ return undefined;
2412
+ }
2413
+ else {
2414
+ return response.body;
2415
+ }
2416
+ }));
2417
+ };
2418
+ /**
2419
+ * Update organization details You must be an admin to the organizaion to get this information
2420
+ *
2421
+ * @param organizationId The organization identifier
2422
+ * @param body
2423
+ */
2424
+ OrganizationService.prototype.updateOrganizationDetails = function (organizationId, body, extraHttpRequestParams, extraHttpRequestHeaders) {
2425
+ return this.updateOrganizationDetailsWithHttpInfo(organizationId, body, extraHttpRequestParams, extraHttpRequestHeaders)
2426
+ .pipe(operators.map(function (response) {
2427
+ if (response.status === 204) {
2428
+ return undefined;
2429
+ }
2430
+ else {
2431
+ return response.body;
2432
+ }
2433
+ }));
2434
+ };
2435
+ /**
2436
+ * Create a new organization
2437
+ *
2438
+ * @param organizationId
2439
+ * @param body
2440
+ */
2441
+ OrganizationService.prototype.createOrganizationWithHttpInfo = function (organizationId, body, extraHttpRequestParams, extraHttpRequestHeaders) {
2442
+ var _this = this;
2443
+ var path = this.basePath + '/api/v202112/Organization/${organizationId}'
2444
+ .replace('${' + 'organizationId' + '}', String(organizationId));
2445
+ var queryParameters;
2446
+ if (extraHttpRequestParams) {
2447
+ if (typeof extraHttpRequestParams.search === 'string') {
2448
+ queryParameters = new http.HttpParams({ fromString: extraHttpRequestParams.search });
2449
+ }
2450
+ else {
2451
+ queryParameters = new http.HttpParams({ fromObject: extraHttpRequestParams.search });
2452
+ }
2453
+ }
2454
+ else {
2455
+ queryParameters = new http.HttpParams();
2456
+ }
2457
+ var headers = new http.HttpHeaders();
2458
+ this.defaultHeaders.keys().forEach(function (key) {
2459
+ headers = headers.set(key, _this.defaultHeaders.getAll(key));
2460
+ });
2461
+ if (extraHttpRequestHeaders) {
2462
+ Object.entries(extraHttpRequestHeaders).forEach(function (_a) {
2463
+ var _b = __read(_a, 2), key = _b[0], value = _b[1];
2464
+ headers = headers.set(key, value);
2465
+ });
2466
+ }
2467
+ // verify required parameter 'organizationId' is not null or undefined
2468
+ if (organizationId === null || organizationId === undefined) {
2469
+ throw new Error('Required parameter organizationId was null or undefined when calling createOrganization.');
2470
+ }
2471
+ // to determine the Accept header
2472
+ var produces = [
2473
+ 'application/json'
2474
+ ];
2475
+ if (this.configuration.apiKeys["Authorization"]) {
2476
+ headers = headers.set('Authorization', this.configuration.apiKeys["Authorization"]);
2477
+ }
2478
+ var consumes = [
2479
+ 'application/json'
2480
+ ];
2481
+ headers = headers.set('Content-Type', consumes[0]);
2482
+ var requestOptions = {
2483
+ headers: headers,
2484
+ body: body == null ? '' : (consumes[0] == 'application/json' ? JSON.stringify(body) : body),
2485
+ params: queryParameters,
2486
+ withCredentials: this.configuration.withCredentials,
2487
+ observe: 'response'
2488
+ };
2489
+ return this.http.request(RequestMethod$2.Post, path, requestOptions);
2490
+ };
2491
+ /**
2492
+ * Gets organization access control data You must be an admin to the organizaion to get this information
2493
+ *
2494
+ * @param organizationId The organization identifier
2495
+ */
2496
+ OrganizationService.prototype.getOrganizationAccessControlWithHttpInfo = function (organizationId, extraHttpRequestParams, extraHttpRequestHeaders) {
2497
+ var _this = this;
2498
+ var path = this.basePath + '/api/v202112/Organization/${organizationId}/accesscontrol'
2499
+ .replace('${' + 'organizationId' + '}', String(organizationId));
2500
+ var queryParameters;
2501
+ if (extraHttpRequestParams) {
2502
+ if (typeof extraHttpRequestParams.search === 'string') {
2503
+ queryParameters = new http.HttpParams({ fromString: extraHttpRequestParams.search });
2504
+ }
2505
+ else {
2506
+ queryParameters = new http.HttpParams({ fromObject: extraHttpRequestParams.search });
2507
+ }
2508
+ }
2509
+ else {
2510
+ queryParameters = new http.HttpParams();
2511
+ }
2512
+ var headers = new http.HttpHeaders();
2513
+ this.defaultHeaders.keys().forEach(function (key) {
2514
+ headers = headers.set(key, _this.defaultHeaders.getAll(key));
2515
+ });
2516
+ if (extraHttpRequestHeaders) {
2517
+ Object.entries(extraHttpRequestHeaders).forEach(function (_a) {
2518
+ var _b = __read(_a, 2), key = _b[0], value = _b[1];
2519
+ headers = headers.set(key, value);
2520
+ });
2521
+ }
2522
+ // verify required parameter 'organizationId' is not null or undefined
2523
+ if (organizationId === null || organizationId === undefined) {
2524
+ throw new Error('Required parameter organizationId was null or undefined when calling getOrganizationAccessControl.');
2525
+ }
2526
+ // to determine the Accept header
2527
+ var produces = [
2528
+ 'application/json'
2529
+ ];
2530
+ if (this.configuration.apiKeys["Authorization"]) {
2531
+ headers = headers.set('Authorization', this.configuration.apiKeys["Authorization"]);
2532
+ }
2533
+ var consumes = [];
2534
+ var requestOptions = {
2535
+ headers: headers,
2536
+ params: queryParameters,
2537
+ withCredentials: this.configuration.withCredentials,
2538
+ observe: 'response'
2539
+ };
2540
+ return this.http.request(RequestMethod$2.Get, path, requestOptions);
2541
+ };
2542
+ /**
2543
+ * Gets information about an Organization
2544
+ *
2545
+ * @param organizationId The organization identifier
2546
+ */
2547
+ OrganizationService.prototype.getOrganizationByIdWithHttpInfo = function (organizationId, extraHttpRequestParams, extraHttpRequestHeaders) {
2548
+ var _this = this;
2549
+ var path = this.basePath + '/api/v202108/Organization/${organizationId}'
2550
+ .replace('${' + 'organizationId' + '}', String(organizationId));
2551
+ var queryParameters;
2552
+ if (extraHttpRequestParams) {
2553
+ if (typeof extraHttpRequestParams.search === 'string') {
2554
+ queryParameters = new http.HttpParams({ fromString: extraHttpRequestParams.search });
2555
+ }
2556
+ else {
2557
+ queryParameters = new http.HttpParams({ fromObject: extraHttpRequestParams.search });
2558
+ }
2559
+ }
2560
+ else {
2561
+ queryParameters = new http.HttpParams();
2562
+ }
2563
+ var headers = new http.HttpHeaders();
2564
+ this.defaultHeaders.keys().forEach(function (key) {
2565
+ headers = headers.set(key, _this.defaultHeaders.getAll(key));
2566
+ });
2567
+ if (extraHttpRequestHeaders) {
2568
+ Object.entries(extraHttpRequestHeaders).forEach(function (_a) {
2569
+ var _b = __read(_a, 2), key = _b[0], value = _b[1];
2570
+ headers = headers.set(key, value);
2571
+ });
2572
+ }
2573
+ // verify required parameter 'organizationId' is not null or undefined
2574
+ if (organizationId === null || organizationId === undefined) {
2575
+ throw new Error('Required parameter organizationId was null or undefined when calling getOrganizationById.');
2576
+ }
2577
+ // to determine the Accept header
2578
+ var produces = [
2579
+ 'application/json'
2580
+ ];
2581
+ if (this.configuration.apiKeys["Authorization"]) {
2582
+ headers = headers.set('Authorization', this.configuration.apiKeys["Authorization"]);
2583
+ }
2584
+ var consumes = [];
2585
+ var requestOptions = {
2586
+ headers: headers,
2587
+ params: queryParameters,
2588
+ withCredentials: this.configuration.withCredentials,
2589
+ observe: 'response'
2590
+ };
2591
+ return this.http.request(RequestMethod$2.Get, path, requestOptions);
2592
+ };
2593
+ /**
2594
+ * Gets additional detail information about an Organization You must be an admin to the organizaion to get this information
2595
+ *
2596
+ * @param organizationId The organization identifier
2597
+ */
2598
+ OrganizationService.prototype.getOrganizationDetailsWithHttpInfo = function (organizationId, extraHttpRequestParams, extraHttpRequestHeaders) {
2599
+ var _this = this;
2600
+ var path = this.basePath + '/api/v202112/Organization/${organizationId}/detail'
2601
+ .replace('${' + 'organizationId' + '}', String(organizationId));
2602
+ var queryParameters;
2603
+ if (extraHttpRequestParams) {
2604
+ if (typeof extraHttpRequestParams.search === 'string') {
2605
+ queryParameters = new http.HttpParams({ fromString: extraHttpRequestParams.search });
2606
+ }
2607
+ else {
2608
+ queryParameters = new http.HttpParams({ fromObject: extraHttpRequestParams.search });
2609
+ }
2610
+ }
2611
+ else {
2612
+ queryParameters = new http.HttpParams();
2613
+ }
2614
+ var headers = new http.HttpHeaders();
2615
+ this.defaultHeaders.keys().forEach(function (key) {
2616
+ headers = headers.set(key, _this.defaultHeaders.getAll(key));
2617
+ });
2618
+ if (extraHttpRequestHeaders) {
2619
+ Object.entries(extraHttpRequestHeaders).forEach(function (_a) {
2620
+ var _b = __read(_a, 2), key = _b[0], value = _b[1];
2621
+ headers = headers.set(key, value);
2622
+ });
2623
+ }
2624
+ // verify required parameter 'organizationId' is not null or undefined
2625
+ if (organizationId === null || organizationId === undefined) {
2626
+ throw new Error('Required parameter organizationId was null or undefined when calling getOrganizationDetails.');
2627
+ }
2628
+ // to determine the Accept header
2629
+ var produces = [
2630
+ 'application/json'
2631
+ ];
2632
+ if (this.configuration.apiKeys["Authorization"]) {
2633
+ headers = headers.set('Authorization', this.configuration.apiKeys["Authorization"]);
2634
+ }
2635
+ var consumes = [];
2636
+ var requestOptions = {
2637
+ headers: headers,
2638
+ params: queryParameters,
2639
+ withCredentials: this.configuration.withCredentials,
2640
+ observe: 'response'
2641
+ };
2642
+ return this.http.request(RequestMethod$2.Get, path, requestOptions);
2643
+ };
2644
+ /**
2645
+ * Returns the entire oranizaion hiearchy If there are more than 100 organizations a 403 is returned.
2646
+ *
2647
+ */
2648
+ OrganizationService.prototype.getOrganizationHierarchyWithHttpInfo = function (extraHttpRequestParams, extraHttpRequestHeaders) {
2649
+ var _this = this;
2650
+ var path = this.basePath + '/api/v202112/Organization/hierarchy';
2651
+ var queryParameters;
2652
+ if (extraHttpRequestParams) {
2653
+ if (typeof extraHttpRequestParams.search === 'string') {
2654
+ queryParameters = new http.HttpParams({ fromString: extraHttpRequestParams.search });
2655
+ }
2656
+ else {
2657
+ queryParameters = new http.HttpParams({ fromObject: extraHttpRequestParams.search });
2658
+ }
2659
+ }
2660
+ else {
2661
+ queryParameters = new http.HttpParams();
2662
+ }
2663
+ var headers = new http.HttpHeaders();
2664
+ this.defaultHeaders.keys().forEach(function (key) {
2665
+ headers = headers.set(key, _this.defaultHeaders.getAll(key));
2666
+ });
2667
+ if (extraHttpRequestHeaders) {
2668
+ Object.entries(extraHttpRequestHeaders).forEach(function (_a) {
2669
+ var _b = __read(_a, 2), key = _b[0], value = _b[1];
2670
+ headers = headers.set(key, value);
2671
+ });
2672
+ }
2673
+ // to determine the Accept header
2674
+ var produces = [
2675
+ 'application/json'
2676
+ ];
2677
+ if (this.configuration.apiKeys["Authorization"]) {
2678
+ headers = headers.set('Authorization', this.configuration.apiKeys["Authorization"]);
2679
+ }
2680
+ var consumes = [];
2681
+ var requestOptions = {
2682
+ headers: headers,
2683
+ params: queryParameters,
2684
+ withCredentials: this.configuration.withCredentials,
2685
+ observe: 'response'
2686
+ };
2687
+ return this.http.request(RequestMethod$2.Get, path, requestOptions);
2688
+ };
2689
+ /**
2690
+ * Gets users linked to an organization
2691
+ *
2692
+ * @param organizationId The organization identifier
2693
+ */
2694
+ OrganizationService.prototype.getOrganizationUsersWithHttpInfo = function (organizationId, extraHttpRequestParams, extraHttpRequestHeaders) {
2695
+ var _this = this;
2696
+ var path = this.basePath + '/api/v202112/Organization/${organizationId}/user'
2697
+ .replace('${' + 'organizationId' + '}', String(organizationId));
2698
+ var queryParameters;
2699
+ if (extraHttpRequestParams) {
2700
+ if (typeof extraHttpRequestParams.search === 'string') {
2701
+ queryParameters = new http.HttpParams({ fromString: extraHttpRequestParams.search });
2702
+ }
2703
+ else {
2704
+ queryParameters = new http.HttpParams({ fromObject: extraHttpRequestParams.search });
2705
+ }
2706
+ }
2707
+ else {
2708
+ queryParameters = new http.HttpParams();
2709
+ }
2710
+ var headers = new http.HttpHeaders();
2711
+ this.defaultHeaders.keys().forEach(function (key) {
2712
+ headers = headers.set(key, _this.defaultHeaders.getAll(key));
2713
+ });
2714
+ if (extraHttpRequestHeaders) {
2715
+ Object.entries(extraHttpRequestHeaders).forEach(function (_a) {
2716
+ var _b = __read(_a, 2), key = _b[0], value = _b[1];
2717
+ headers = headers.set(key, value);
2718
+ });
2719
+ }
2720
+ // verify required parameter 'organizationId' is not null or undefined
2721
+ if (organizationId === null || organizationId === undefined) {
2722
+ throw new Error('Required parameter organizationId was null or undefined when calling getOrganizationUsers.');
2723
+ }
2724
+ // to determine the Accept header
2725
+ var produces = [
2726
+ 'application/json'
2727
+ ];
2728
+ if (this.configuration.apiKeys["Authorization"]) {
2729
+ headers = headers.set('Authorization', this.configuration.apiKeys["Authorization"]);
2730
+ }
2731
+ var consumes = [];
2732
+ var requestOptions = {
2733
+ headers: headers,
2734
+ params: queryParameters,
2735
+ withCredentials: this.configuration.withCredentials,
2736
+ observe: 'response'
2737
+ };
2738
+ return this.http.request(RequestMethod$2.Get, path, requestOptions);
1984
2739
  };
1985
2740
  /**
1986
- * Gets information about an Organization
2741
+ * Gets the organizations to which the logged in user has access
1987
2742
  *
1988
- * @param organizationId The organization identifier
2743
+ * @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
1989
2744
  */
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;
2745
+ OrganizationService.prototype.getOrganizationsWithHttpInfo = function (onlyAdmin, extraHttpRequestParams, extraHttpRequestHeaders) {
2746
+ var _this = this;
2747
+ var path = this.basePath + '/api/v202108/Organization';
2748
+ var queryParameters;
2749
+ if (extraHttpRequestParams) {
2750
+ if (typeof extraHttpRequestParams.search === 'string') {
2751
+ queryParameters = new http.HttpParams({ fromString: extraHttpRequestParams.search });
1995
2752
  }
1996
2753
  else {
1997
- return response.body;
2754
+ queryParameters = new http.HttpParams({ fromObject: extraHttpRequestParams.search });
1998
2755
  }
1999
- }));
2756
+ }
2757
+ else {
2758
+ queryParameters = new http.HttpParams();
2759
+ }
2760
+ var headers = new http.HttpHeaders();
2761
+ this.defaultHeaders.keys().forEach(function (key) {
2762
+ headers = headers.set(key, _this.defaultHeaders.getAll(key));
2763
+ });
2764
+ if (extraHttpRequestHeaders) {
2765
+ Object.entries(extraHttpRequestHeaders).forEach(function (_a) {
2766
+ var _b = __read(_a, 2), key = _b[0], value = _b[1];
2767
+ headers = headers.set(key, value);
2768
+ });
2769
+ }
2770
+ if (onlyAdmin !== undefined) {
2771
+ queryParameters = queryParameters.set('onlyAdmin', onlyAdmin);
2772
+ }
2773
+ // to determine the Accept header
2774
+ var produces = [
2775
+ 'application/json'
2776
+ ];
2777
+ if (this.configuration.apiKeys["Authorization"]) {
2778
+ headers = headers.set('Authorization', this.configuration.apiKeys["Authorization"]);
2779
+ }
2780
+ var consumes = [];
2781
+ var requestOptions = {
2782
+ headers: headers,
2783
+ params: queryParameters,
2784
+ withCredentials: this.configuration.withCredentials,
2785
+ observe: 'response'
2786
+ };
2787
+ return this.http.request(RequestMethod$2.Get, path, requestOptions);
2000
2788
  };
2001
2789
  /**
2002
- * Gets the organizations to which the logged in user has access
2003
2790
  *
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
2791
+ *
2792
+ * @param query
2005
2793
  */
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;
2794
+ OrganizationService.prototype.searchOrganizationsWithHttpInfo = function (query, extraHttpRequestParams, extraHttpRequestHeaders) {
2795
+ var _this = this;
2796
+ var path = this.basePath + '/api/v202112/Organization/search';
2797
+ var queryParameters;
2798
+ if (extraHttpRequestParams) {
2799
+ if (typeof extraHttpRequestParams.search === 'string') {
2800
+ queryParameters = new http.HttpParams({ fromString: extraHttpRequestParams.search });
2011
2801
  }
2012
2802
  else {
2013
- return response.body;
2803
+ queryParameters = new http.HttpParams({ fromObject: extraHttpRequestParams.search });
2014
2804
  }
2015
- }));
2805
+ }
2806
+ else {
2807
+ queryParameters = new http.HttpParams();
2808
+ }
2809
+ var headers = new http.HttpHeaders();
2810
+ this.defaultHeaders.keys().forEach(function (key) {
2811
+ headers = headers.set(key, _this.defaultHeaders.getAll(key));
2812
+ });
2813
+ if (extraHttpRequestHeaders) {
2814
+ Object.entries(extraHttpRequestHeaders).forEach(function (_a) {
2815
+ var _b = __read(_a, 2), key = _b[0], value = _b[1];
2816
+ headers = headers.set(key, value);
2817
+ });
2818
+ }
2819
+ if (query !== undefined) {
2820
+ queryParameters = queryParameters.set('query', query);
2821
+ }
2822
+ // to determine the Accept header
2823
+ var produces = [
2824
+ 'application/json'
2825
+ ];
2826
+ if (this.configuration.apiKeys["Authorization"]) {
2827
+ headers = headers.set('Authorization', this.configuration.apiKeys["Authorization"]);
2828
+ }
2829
+ var consumes = [];
2830
+ var requestOptions = {
2831
+ headers: headers,
2832
+ params: queryParameters,
2833
+ withCredentials: this.configuration.withCredentials,
2834
+ observe: 'response'
2835
+ };
2836
+ return this.http.request(RequestMethod$2.Get, path, requestOptions);
2016
2837
  };
2017
2838
  /**
2018
- * Gets information about an Organization
2839
+ * Update organization access control data You must be an admin to the organizaion to get this information
2019
2840
  *
2020
2841
  * @param organizationId The organization identifier
2842
+ * @param body
2021
2843
  */
2022
- OrganizationService.prototype.getOrganizationByIdWithHttpInfo = function (organizationId, extraHttpRequestParams, extraHttpRequestHeaders) {
2844
+ OrganizationService.prototype.updateOrganizationAccessControlWithHttpInfo = function (organizationId, body, extraHttpRequestParams, extraHttpRequestHeaders) {
2023
2845
  var _this = this;
2024
- var path = this.basePath + '/api/v202108/Organization/${organizationId}'
2846
+ var path = this.basePath + '/api/v202112/Organization/${organizationId}/accesscontrol'
2025
2847
  .replace('${' + 'organizationId' + '}', String(organizationId));
2026
2848
  var queryParameters;
2027
2849
  if (extraHttpRequestParams) {
@@ -2047,7 +2869,7 @@
2047
2869
  }
2048
2870
  // verify required parameter 'organizationId' is not null or undefined
2049
2871
  if (organizationId === null || organizationId === undefined) {
2050
- throw new Error('Required parameter organizationId was null or undefined when calling getOrganizationById.');
2872
+ throw new Error('Required parameter organizationId was null or undefined when calling updateOrganizationAccessControl.');
2051
2873
  }
2052
2874
  // to determine the Accept header
2053
2875
  var produces = [
@@ -2056,23 +2878,29 @@
2056
2878
  if (this.configuration.apiKeys["Authorization"]) {
2057
2879
  headers = headers.set('Authorization', this.configuration.apiKeys["Authorization"]);
2058
2880
  }
2059
- var consumes = [];
2881
+ var consumes = [
2882
+ 'application/json'
2883
+ ];
2884
+ headers = headers.set('Content-Type', consumes[0]);
2060
2885
  var requestOptions = {
2061
2886
  headers: headers,
2887
+ body: body == null ? '' : (consumes[0] == 'application/json' ? JSON.stringify(body) : body),
2062
2888
  params: queryParameters,
2063
2889
  withCredentials: this.configuration.withCredentials,
2064
2890
  observe: 'response'
2065
2891
  };
2066
- return this.http.request(RequestMethod$2.Get, path, requestOptions);
2892
+ return this.http.request(RequestMethod$2.Put, path, requestOptions);
2067
2893
  };
2068
2894
  /**
2069
- * Gets the organizations to which the logged in user has access
2895
+ * Update organization details You must be an admin to the organizaion to get this information
2070
2896
  *
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
2897
+ * @param organizationId The organization identifier
2898
+ * @param body
2072
2899
  */
2073
- OrganizationService.prototype.getOrganizationsWithHttpInfo = function (onlyAdmin, extraHttpRequestParams, extraHttpRequestHeaders) {
2900
+ OrganizationService.prototype.updateOrganizationDetailsWithHttpInfo = function (organizationId, body, extraHttpRequestParams, extraHttpRequestHeaders) {
2074
2901
  var _this = this;
2075
- var path = this.basePath + '/api/v202108/Organization';
2902
+ var path = this.basePath + '/api/v202112/Organization/${organizationId}/detail'
2903
+ .replace('${' + 'organizationId' + '}', String(organizationId));
2076
2904
  var queryParameters;
2077
2905
  if (extraHttpRequestParams) {
2078
2906
  if (typeof extraHttpRequestParams.search === 'string') {
@@ -2095,8 +2923,9 @@
2095
2923
  headers = headers.set(key, value);
2096
2924
  });
2097
2925
  }
2098
- if (onlyAdmin !== undefined) {
2099
- queryParameters = queryParameters.set('onlyAdmin', onlyAdmin);
2926
+ // verify required parameter 'organizationId' is not null or undefined
2927
+ if (organizationId === null || organizationId === undefined) {
2928
+ throw new Error('Required parameter organizationId was null or undefined when calling updateOrganizationDetails.');
2100
2929
  }
2101
2930
  // to determine the Accept header
2102
2931
  var produces = [
@@ -2105,14 +2934,18 @@
2105
2934
  if (this.configuration.apiKeys["Authorization"]) {
2106
2935
  headers = headers.set('Authorization', this.configuration.apiKeys["Authorization"]);
2107
2936
  }
2108
- var consumes = [];
2937
+ var consumes = [
2938
+ 'application/json'
2939
+ ];
2940
+ headers = headers.set('Content-Type', consumes[0]);
2109
2941
  var requestOptions = {
2110
2942
  headers: headers,
2943
+ body: body == null ? '' : (consumes[0] == 'application/json' ? JSON.stringify(body) : body),
2111
2944
  params: queryParameters,
2112
2945
  withCredentials: this.configuration.withCredentials,
2113
2946
  observe: 'response'
2114
2947
  };
2115
- return this.http.request(RequestMethod$2.Get, path, requestOptions);
2948
+ return this.http.request(RequestMethod$2.Put, path, requestOptions);
2116
2949
  };
2117
2950
  return OrganizationService;
2118
2951
  }());
@@ -2356,6 +3189,22 @@
2356
3189
  }
2357
3190
  }));
2358
3191
  };
3192
+ /**
3193
+ * Return all application instances a user has access to and you are an admin to
3194
+ *
3195
+ * @param userId The user to get application instances for
3196
+ */
3197
+ UserService.prototype.getUserApplicationInstances = function (userId, extraHttpRequestParams, extraHttpRequestHeaders) {
3198
+ return this.getUserApplicationInstancesWithHttpInfo(userId, extraHttpRequestParams, extraHttpRequestHeaders)
3199
+ .pipe(operators.map(function (response) {
3200
+ if (response.status === 204) {
3201
+ return undefined;
3202
+ }
3203
+ else {
3204
+ return response.body;
3205
+ }
3206
+ }));
3207
+ };
2359
3208
  /**
2360
3209
  * Use this method to get information about a user
2361
3210
  *
@@ -2372,6 +3221,22 @@
2372
3221
  }
2373
3222
  }));
2374
3223
  };
3224
+ /**
3225
+ * Return all organization a user has access to and you are an admin to
3226
+ *
3227
+ * @param userId The user to get application instances for
3228
+ */
3229
+ UserService.prototype.getUserOrganizations = function (userId, extraHttpRequestParams, extraHttpRequestHeaders) {
3230
+ return this.getUserOrganizationsWithHttpInfo(userId, extraHttpRequestParams, extraHttpRequestHeaders)
3231
+ .pipe(operators.map(function (response) {
3232
+ if (response.status === 204) {
3233
+ return undefined;
3234
+ }
3235
+ else {
3236
+ return response.body;
3237
+ }
3238
+ }));
3239
+ };
2375
3240
  /**
2376
3241
  * 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
3242
  *
@@ -2575,17 +3440,119 @@
2575
3440
  withCredentials: this.configuration.withCredentials,
2576
3441
  observe: 'response'
2577
3442
  };
2578
- return this.http.request(RequestMethod.Delete, path, requestOptions);
3443
+ return this.http.request(RequestMethod.Delete, path, requestOptions);
3444
+ };
3445
+ /**
3446
+ * Return all application instances a user has access to and you are an admin to
3447
+ *
3448
+ * @param userId The user to get application instances for
3449
+ */
3450
+ UserService.prototype.getUserApplicationInstancesWithHttpInfo = function (userId, extraHttpRequestParams, extraHttpRequestHeaders) {
3451
+ var _this = this;
3452
+ var path = this.basePath + '/api/v202112/User/${userId}/applicationInstance'
3453
+ .replace('${' + 'userId' + '}', String(userId));
3454
+ var queryParameters;
3455
+ if (extraHttpRequestParams) {
3456
+ if (typeof extraHttpRequestParams.search === 'string') {
3457
+ queryParameters = new http.HttpParams({ fromString: extraHttpRequestParams.search });
3458
+ }
3459
+ else {
3460
+ queryParameters = new http.HttpParams({ fromObject: extraHttpRequestParams.search });
3461
+ }
3462
+ }
3463
+ else {
3464
+ queryParameters = new http.HttpParams();
3465
+ }
3466
+ var headers = new http.HttpHeaders();
3467
+ this.defaultHeaders.keys().forEach(function (key) {
3468
+ headers = headers.set(key, _this.defaultHeaders.getAll(key));
3469
+ });
3470
+ if (extraHttpRequestHeaders) {
3471
+ Object.entries(extraHttpRequestHeaders).forEach(function (_a) {
3472
+ var _b = __read(_a, 2), key = _b[0], value = _b[1];
3473
+ headers = headers.set(key, value);
3474
+ });
3475
+ }
3476
+ // verify required parameter 'userId' is not null or undefined
3477
+ if (userId === null || userId === undefined) {
3478
+ throw new Error('Required parameter userId was null or undefined when calling getUserApplicationInstances.');
3479
+ }
3480
+ // to determine the Accept header
3481
+ var produces = [
3482
+ 'application/json'
3483
+ ];
3484
+ if (this.configuration.apiKeys["Authorization"]) {
3485
+ headers = headers.set('Authorization', this.configuration.apiKeys["Authorization"]);
3486
+ }
3487
+ var consumes = [];
3488
+ var requestOptions = {
3489
+ headers: headers,
3490
+ params: queryParameters,
3491
+ withCredentials: this.configuration.withCredentials,
3492
+ observe: 'response'
3493
+ };
3494
+ return this.http.request(RequestMethod.Get, path, requestOptions);
3495
+ };
3496
+ /**
3497
+ * Use this method to get information about a user
3498
+ *
3499
+ * @param email The email address of the user to return
3500
+ */
3501
+ UserService.prototype.getUserByEmailWithHttpInfo = function (email, extraHttpRequestParams, extraHttpRequestHeaders) {
3502
+ var _this = this;
3503
+ var path = this.basePath + '/api/v202108/User/${email}'
3504
+ .replace('${' + 'email' + '}', String(email));
3505
+ var queryParameters;
3506
+ if (extraHttpRequestParams) {
3507
+ if (typeof extraHttpRequestParams.search === 'string') {
3508
+ queryParameters = new http.HttpParams({ fromString: extraHttpRequestParams.search });
3509
+ }
3510
+ else {
3511
+ queryParameters = new http.HttpParams({ fromObject: extraHttpRequestParams.search });
3512
+ }
3513
+ }
3514
+ else {
3515
+ queryParameters = new http.HttpParams();
3516
+ }
3517
+ var headers = new http.HttpHeaders();
3518
+ this.defaultHeaders.keys().forEach(function (key) {
3519
+ headers = headers.set(key, _this.defaultHeaders.getAll(key));
3520
+ });
3521
+ if (extraHttpRequestHeaders) {
3522
+ Object.entries(extraHttpRequestHeaders).forEach(function (_a) {
3523
+ var _b = __read(_a, 2), key = _b[0], value = _b[1];
3524
+ headers = headers.set(key, value);
3525
+ });
3526
+ }
3527
+ // verify required parameter 'email' is not null or undefined
3528
+ if (email === null || email === undefined) {
3529
+ throw new Error('Required parameter email was null or undefined when calling getUserByEmail.');
3530
+ }
3531
+ // to determine the Accept header
3532
+ var produces = [
3533
+ 'application/json'
3534
+ ];
3535
+ if (this.configuration.apiKeys["Authorization"]) {
3536
+ headers = headers.set('Authorization', this.configuration.apiKeys["Authorization"]);
3537
+ }
3538
+ var consumes = [];
3539
+ var requestOptions = {
3540
+ headers: headers,
3541
+ params: queryParameters,
3542
+ withCredentials: this.configuration.withCredentials,
3543
+ observe: 'response'
3544
+ };
3545
+ return this.http.request(RequestMethod.Get, path, requestOptions);
2579
3546
  };
2580
3547
  /**
2581
- * Use this method to get information about a user
3548
+ * Return all organization a user has access to and you are an admin to
2582
3549
  *
2583
- * @param email The email address of the user to return
3550
+ * @param userId The user to get application instances for
2584
3551
  */
2585
- UserService.prototype.getUserByEmailWithHttpInfo = function (email, extraHttpRequestParams, extraHttpRequestHeaders) {
3552
+ UserService.prototype.getUserOrganizationsWithHttpInfo = function (userId, extraHttpRequestParams, extraHttpRequestHeaders) {
2586
3553
  var _this = this;
2587
- var path = this.basePath + '/api/v202108/User/${email}'
2588
- .replace('${' + 'email' + '}', String(email));
3554
+ var path = this.basePath + '/api/v202112/User/${userId}/organization'
3555
+ .replace('${' + 'userId' + '}', String(userId));
2589
3556
  var queryParameters;
2590
3557
  if (extraHttpRequestParams) {
2591
3558
  if (typeof extraHttpRequestParams.search === 'string') {
@@ -2608,9 +3575,9 @@
2608
3575
  headers = headers.set(key, value);
2609
3576
  });
2610
3577
  }
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.');
3578
+ // verify required parameter 'userId' is not null or undefined
3579
+ if (userId === null || userId === undefined) {
3580
+ throw new Error('Required parameter userId was null or undefined when calling getUserOrganizations.');
2614
3581
  }
2615
3582
  // to determine the Accept header
2616
3583
  var produces = [
@@ -2961,13 +3928,47 @@
2961
3928
  { type: Configuration, decorators: [{ type: core.Optional }] }
2962
3929
  ]; };
2963
3930
 
2964
- var APIS = [ApplicationService, ApplicationInstanceService, AuthService, DataSourceService, EnvironmentService, MeService, OrganizationService, OrganizationApplicationService, UserService];
3931
+ var APIS = [ApplicationService, ApplicationInstanceService, AuthService, DataSourceService, DomainJoinTypeService, EnvironmentService, MeService, OrganizationService, OrganizationApplicationService, UserService];
3932
+
3933
+ /**
3934
+ * EnergyCAP ID SDK
3935
+ * Document used to generate the EnergyCAP ID SDK
3936
+ *
3937
+ * OpenAPI spec version: 1.2112
3938
+ * Contact: support@energycap.com
3939
+ *
3940
+ * NOTE: This class is auto generated by the swagger code generator program.
3941
+ * https://github.com/swagger-api/swagger-codegen.git
3942
+ * Do not edit the class manually.
3943
+ */
3944
+ var APIFilter = /** @class */ (function () {
3945
+ function APIFilter() {
3946
+ }
3947
+ return APIFilter;
3948
+ }());
3949
+
3950
+ /**
3951
+ * EnergyCAP ID SDK
3952
+ * Document used to generate the EnergyCAP ID SDK
3953
+ *
3954
+ * OpenAPI spec version: 1.2112
3955
+ * Contact: support@energycap.com
3956
+ *
3957
+ * NOTE: This class is auto generated by the swagger code generator program.
3958
+ * https://github.com/swagger-api/swagger-codegen.git
3959
+ * Do not edit the class manually.
3960
+ */
3961
+ var APIOrderBy = /** @class */ (function () {
3962
+ function APIOrderBy() {
3963
+ }
3964
+ return APIOrderBy;
3965
+ }());
2965
3966
 
2966
3967
  /**
2967
3968
  * EnergyCAP ID SDK
2968
3969
  * Document used to generate the EnergyCAP ID SDK
2969
3970
  *
2970
- * OpenAPI spec version: 1.2108
3971
+ * OpenAPI spec version: 1.2112
2971
3972
  * Contact: support@energycap.com
2972
3973
  *
2973
3974
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -2987,7 +3988,27 @@
2987
3988
  * EnergyCAP ID SDK
2988
3989
  * Document used to generate the EnergyCAP ID SDK
2989
3990
  *
2990
- * OpenAPI spec version: 1.2108
3991
+ * OpenAPI spec version: 1.2112
3992
+ * Contact: support@energycap.com
3993
+ *
3994
+ * NOTE: This class is auto generated by the swagger code generator program.
3995
+ * https://github.com/swagger-api/swagger-codegen.git
3996
+ * Do not edit the class manually.
3997
+ */
3998
+ /**
3999
+ * Represents an Application Instance user
4000
+ */
4001
+ var ApplicationInstanceDetailResponse = /** @class */ (function () {
4002
+ function ApplicationInstanceDetailResponse() {
4003
+ }
4004
+ return ApplicationInstanceDetailResponse;
4005
+ }());
4006
+
4007
+ /**
4008
+ * EnergyCAP ID SDK
4009
+ * Document used to generate the EnergyCAP ID SDK
4010
+ *
4011
+ * OpenAPI spec version: 1.2112
2991
4012
  * Contact: support@energycap.com
2992
4013
  *
2993
4014
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -3007,7 +4028,7 @@
3007
4028
  * EnergyCAP ID SDK
3008
4029
  * Document used to generate the EnergyCAP ID SDK
3009
4030
  *
3010
- * OpenAPI spec version: 1.2108
4031
+ * OpenAPI spec version: 1.2112
3011
4032
  * Contact: support@energycap.com
3012
4033
  *
3013
4034
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -3027,7 +4048,27 @@
3027
4048
  * EnergyCAP ID SDK
3028
4049
  * Document used to generate the EnergyCAP ID SDK
3029
4050
  *
3030
- * OpenAPI spec version: 1.2108
4051
+ * OpenAPI spec version: 1.2112
4052
+ * Contact: support@energycap.com
4053
+ *
4054
+ * NOTE: This class is auto generated by the swagger code generator program.
4055
+ * https://github.com/swagger-api/swagger-codegen.git
4056
+ * Do not edit the class manually.
4057
+ */
4058
+ /**
4059
+ * Represents an Application Instance user
4060
+ */
4061
+ var ApplicationInstanceUserResponse = /** @class */ (function () {
4062
+ function ApplicationInstanceUserResponse() {
4063
+ }
4064
+ return ApplicationInstanceUserResponse;
4065
+ }());
4066
+
4067
+ /**
4068
+ * EnergyCAP ID SDK
4069
+ * Document used to generate the EnergyCAP ID SDK
4070
+ *
4071
+ * OpenAPI spec version: 1.2112
3031
4072
  * Contact: support@energycap.com
3032
4073
  *
3033
4074
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -3047,7 +4088,7 @@
3047
4088
  * EnergyCAP ID SDK
3048
4089
  * Document used to generate the EnergyCAP ID SDK
3049
4090
  *
3050
- * OpenAPI spec version: 1.2108
4091
+ * OpenAPI spec version: 1.2112
3051
4092
  * Contact: support@energycap.com
3052
4093
  *
3053
4094
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -3067,7 +4108,24 @@
3067
4108
  * EnergyCAP ID SDK
3068
4109
  * Document used to generate the EnergyCAP ID SDK
3069
4110
  *
3070
- * OpenAPI spec version: 1.2108
4111
+ * OpenAPI spec version: 1.2112
4112
+ * Contact: support@energycap.com
4113
+ *
4114
+ * NOTE: This class is auto generated by the swagger code generator program.
4115
+ * https://github.com/swagger-api/swagger-codegen.git
4116
+ * Do not edit the class manually.
4117
+ */
4118
+ var CreateOrganizationRequest = /** @class */ (function () {
4119
+ function CreateOrganizationRequest() {
4120
+ }
4121
+ return CreateOrganizationRequest;
4122
+ }());
4123
+
4124
+ /**
4125
+ * EnergyCAP ID SDK
4126
+ * Document used to generate the EnergyCAP ID SDK
4127
+ *
4128
+ * OpenAPI spec version: 1.2112
3071
4129
  * Contact: support@energycap.com
3072
4130
  *
3073
4131
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -3087,7 +4145,7 @@
3087
4145
  * EnergyCAP ID SDK
3088
4146
  * Document used to generate the EnergyCAP ID SDK
3089
4147
  *
3090
- * OpenAPI spec version: 1.2108
4148
+ * OpenAPI spec version: 1.2112
3091
4149
  * Contact: support@energycap.com
3092
4150
  *
3093
4151
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -3107,7 +4165,47 @@
3107
4165
  * EnergyCAP ID SDK
3108
4166
  * Document used to generate the EnergyCAP ID SDK
3109
4167
  *
3110
- * OpenAPI spec version: 1.2108
4168
+ * OpenAPI spec version: 1.2112
4169
+ * Contact: support@energycap.com
4170
+ *
4171
+ * NOTE: This class is auto generated by the swagger code generator program.
4172
+ * https://github.com/swagger-api/swagger-codegen.git
4173
+ * Do not edit the class manually.
4174
+ */
4175
+ /**
4176
+ * Domain Accessor Control
4177
+ */
4178
+ var DomainAccessControlResponse = /** @class */ (function () {
4179
+ function DomainAccessControlResponse() {
4180
+ }
4181
+ return DomainAccessControlResponse;
4182
+ }());
4183
+
4184
+ /**
4185
+ * EnergyCAP ID SDK
4186
+ * Document used to generate the EnergyCAP ID SDK
4187
+ *
4188
+ * OpenAPI spec version: 1.2112
4189
+ * Contact: support@energycap.com
4190
+ *
4191
+ * NOTE: This class is auto generated by the swagger code generator program.
4192
+ * https://github.com/swagger-api/swagger-codegen.git
4193
+ * Do not edit the class manually.
4194
+ */
4195
+ /**
4196
+ * Domain Join Types
4197
+ */
4198
+ var DomainJoinTypeResponse = /** @class */ (function () {
4199
+ function DomainJoinTypeResponse() {
4200
+ }
4201
+ return DomainJoinTypeResponse;
4202
+ }());
4203
+
4204
+ /**
4205
+ * EnergyCAP ID SDK
4206
+ * Document used to generate the EnergyCAP ID SDK
4207
+ *
4208
+ * OpenAPI spec version: 1.2112
3111
4209
  * Contact: support@energycap.com
3112
4210
  *
3113
4211
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -3127,7 +4225,7 @@
3127
4225
  * EnergyCAP ID SDK
3128
4226
  * Document used to generate the EnergyCAP ID SDK
3129
4227
  *
3130
- * OpenAPI spec version: 1.2108
4228
+ * OpenAPI spec version: 1.2112
3131
4229
  * Contact: support@energycap.com
3132
4230
  *
3133
4231
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -3147,7 +4245,41 @@
3147
4245
  * EnergyCAP ID SDK
3148
4246
  * Document used to generate the EnergyCAP ID SDK
3149
4247
  *
3150
- * OpenAPI spec version: 1.2108
4248
+ * OpenAPI spec version: 1.2112
4249
+ * Contact: support@energycap.com
4250
+ *
4251
+ * NOTE: This class is auto generated by the swagger code generator program.
4252
+ * https://github.com/swagger-api/swagger-codegen.git
4253
+ * Do not edit the class manually.
4254
+ */
4255
+ var HierarchicalOrganizations = /** @class */ (function () {
4256
+ function HierarchicalOrganizations() {
4257
+ }
4258
+ return HierarchicalOrganizations;
4259
+ }());
4260
+
4261
+ /**
4262
+ * EnergyCAP ID SDK
4263
+ * Document used to generate the EnergyCAP ID SDK
4264
+ *
4265
+ * OpenAPI spec version: 1.2112
4266
+ * Contact: support@energycap.com
4267
+ *
4268
+ * NOTE: This class is auto generated by the swagger code generator program.
4269
+ * https://github.com/swagger-api/swagger-codegen.git
4270
+ * Do not edit the class manually.
4271
+ */
4272
+ var HierarchicalOrganizations2 = /** @class */ (function () {
4273
+ function HierarchicalOrganizations2() {
4274
+ }
4275
+ return HierarchicalOrganizations2;
4276
+ }());
4277
+
4278
+ /**
4279
+ * EnergyCAP ID SDK
4280
+ * Document used to generate the EnergyCAP ID SDK
4281
+ *
4282
+ * OpenAPI spec version: 1.2112
3151
4283
  * Contact: support@energycap.com
3152
4284
  *
3153
4285
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -3167,7 +4299,7 @@
3167
4299
  * EnergyCAP ID SDK
3168
4300
  * Document used to generate the EnergyCAP ID SDK
3169
4301
  *
3170
- * OpenAPI spec version: 1.2108
4302
+ * OpenAPI spec version: 1.2112
3171
4303
  * Contact: support@energycap.com
3172
4304
  *
3173
4305
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -3187,7 +4319,7 @@
3187
4319
  * EnergyCAP ID SDK
3188
4320
  * Document used to generate the EnergyCAP ID SDK
3189
4321
  *
3190
- * OpenAPI spec version: 1.2108
4322
+ * OpenAPI spec version: 1.2112
3191
4323
  * Contact: support@energycap.com
3192
4324
  *
3193
4325
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -3207,7 +4339,7 @@
3207
4339
  * EnergyCAP ID SDK
3208
4340
  * Document used to generate the EnergyCAP ID SDK
3209
4341
  *
3210
- * OpenAPI spec version: 1.2108
4342
+ * OpenAPI spec version: 1.2112
3211
4343
  * Contact: support@energycap.com
3212
4344
  *
3213
4345
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -3227,7 +4359,27 @@
3227
4359
  * EnergyCAP ID SDK
3228
4360
  * Document used to generate the EnergyCAP ID SDK
3229
4361
  *
3230
- * OpenAPI spec version: 1.2108
4362
+ * OpenAPI spec version: 1.2112
4363
+ * Contact: support@energycap.com
4364
+ *
4365
+ * NOTE: This class is auto generated by the swagger code generator program.
4366
+ * https://github.com/swagger-api/swagger-codegen.git
4367
+ * Do not edit the class manually.
4368
+ */
4369
+ /**
4370
+ * Organization Access Control
4371
+ */
4372
+ var OrganizationAccessControlResponse = /** @class */ (function () {
4373
+ function OrganizationAccessControlResponse() {
4374
+ }
4375
+ return OrganizationAccessControlResponse;
4376
+ }());
4377
+
4378
+ /**
4379
+ * EnergyCAP ID SDK
4380
+ * Document used to generate the EnergyCAP ID SDK
4381
+ *
4382
+ * OpenAPI spec version: 1.2112
3231
4383
  * Contact: support@energycap.com
3232
4384
  *
3233
4385
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -3247,7 +4399,27 @@
3247
4399
  * EnergyCAP ID SDK
3248
4400
  * Document used to generate the EnergyCAP ID SDK
3249
4401
  *
3250
- * OpenAPI spec version: 1.2108
4402
+ * OpenAPI spec version: 1.2112
4403
+ * Contact: support@energycap.com
4404
+ *
4405
+ * NOTE: This class is auto generated by the swagger code generator program.
4406
+ * https://github.com/swagger-api/swagger-codegen.git
4407
+ * Do not edit the class manually.
4408
+ */
4409
+ /**
4410
+ * Provides more detailed data about an organization
4411
+ */
4412
+ var OrganizationDetailResponse = /** @class */ (function () {
4413
+ function OrganizationDetailResponse() {
4414
+ }
4415
+ return OrganizationDetailResponse;
4416
+ }());
4417
+
4418
+ /**
4419
+ * EnergyCAP ID SDK
4420
+ * Document used to generate the EnergyCAP ID SDK
4421
+ *
4422
+ * OpenAPI spec version: 1.2112
3251
4423
  * Contact: support@energycap.com
3252
4424
  *
3253
4425
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -3267,7 +4439,24 @@
3267
4439
  * EnergyCAP ID SDK
3268
4440
  * Document used to generate the EnergyCAP ID SDK
3269
4441
  *
3270
- * OpenAPI spec version: 1.2108
4442
+ * OpenAPI spec version: 1.2112
4443
+ * Contact: support@energycap.com
4444
+ *
4445
+ * NOTE: This class is auto generated by the swagger code generator program.
4446
+ * https://github.com/swagger-api/swagger-codegen.git
4447
+ * Do not edit the class manually.
4448
+ */
4449
+ var OrganizationUserResponse = /** @class */ (function () {
4450
+ function OrganizationUserResponse() {
4451
+ }
4452
+ return OrganizationUserResponse;
4453
+ }());
4454
+
4455
+ /**
4456
+ * EnergyCAP ID SDK
4457
+ * Document used to generate the EnergyCAP ID SDK
4458
+ *
4459
+ * OpenAPI spec version: 1.2112
3271
4460
  * Contact: support@energycap.com
3272
4461
  *
3273
4462
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -3287,7 +4476,7 @@
3287
4476
  * EnergyCAP ID SDK
3288
4477
  * Document used to generate the EnergyCAP ID SDK
3289
4478
  *
3290
- * OpenAPI spec version: 1.2108
4479
+ * OpenAPI spec version: 1.2112
3291
4480
  * Contact: support@energycap.com
3292
4481
  *
3293
4482
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -3305,7 +4494,7 @@
3305
4494
  * EnergyCAP ID SDK
3306
4495
  * Document used to generate the EnergyCAP ID SDK
3307
4496
  *
3308
- * OpenAPI spec version: 1.2108
4497
+ * OpenAPI spec version: 1.2112
3309
4498
  * Contact: support@energycap.com
3310
4499
  *
3311
4500
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -3325,7 +4514,7 @@
3325
4514
  * EnergyCAP ID SDK
3326
4515
  * Document used to generate the EnergyCAP ID SDK
3327
4516
  *
3328
- * OpenAPI spec version: 1.2108
4517
+ * OpenAPI spec version: 1.2112
3329
4518
  * Contact: support@energycap.com
3330
4519
  *
3331
4520
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -3345,7 +4534,61 @@
3345
4534
  * EnergyCAP ID SDK
3346
4535
  * Document used to generate the EnergyCAP ID SDK
3347
4536
  *
3348
- * OpenAPI spec version: 1.2108
4537
+ * OpenAPI spec version: 1.2112
4538
+ * Contact: support@energycap.com
4539
+ *
4540
+ * NOTE: This class is auto generated by the swagger code generator program.
4541
+ * https://github.com/swagger-api/swagger-codegen.git
4542
+ * Do not edit the class manually.
4543
+ */
4544
+ var UpdateOrganizationAccessControlRequest = /** @class */ (function () {
4545
+ function UpdateOrganizationAccessControlRequest() {
4546
+ }
4547
+ return UpdateOrganizationAccessControlRequest;
4548
+ }());
4549
+
4550
+ /**
4551
+ * EnergyCAP ID SDK
4552
+ * Document used to generate the EnergyCAP ID SDK
4553
+ *
4554
+ * OpenAPI spec version: 1.2112
4555
+ * Contact: support@energycap.com
4556
+ *
4557
+ * NOTE: This class is auto generated by the swagger code generator program.
4558
+ * https://github.com/swagger-api/swagger-codegen.git
4559
+ * Do not edit the class manually.
4560
+ */
4561
+ var UpdateOrganizationDetailsRequest = /** @class */ (function () {
4562
+ function UpdateOrganizationDetailsRequest() {
4563
+ }
4564
+ return UpdateOrganizationDetailsRequest;
4565
+ }());
4566
+
4567
+ /**
4568
+ * EnergyCAP ID SDK
4569
+ * Document used to generate the EnergyCAP ID SDK
4570
+ *
4571
+ * OpenAPI spec version: 1.2112
4572
+ * Contact: support@energycap.com
4573
+ *
4574
+ * NOTE: This class is auto generated by the swagger code generator program.
4575
+ * https://github.com/swagger-api/swagger-codegen.git
4576
+ * Do not edit the class manually.
4577
+ */
4578
+ /**
4579
+ * Represents an Application Instance for a user
4580
+ */
4581
+ var UserApplicationInstanceResponse = /** @class */ (function () {
4582
+ function UserApplicationInstanceResponse() {
4583
+ }
4584
+ return UserApplicationInstanceResponse;
4585
+ }());
4586
+
4587
+ /**
4588
+ * EnergyCAP ID SDK
4589
+ * Document used to generate the EnergyCAP ID SDK
4590
+ *
4591
+ * OpenAPI spec version: 1.2112
3349
4592
  * Contact: support@energycap.com
3350
4593
  *
3351
4594
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -3368,7 +4611,27 @@
3368
4611
  * EnergyCAP ID SDK
3369
4612
  * Document used to generate the EnergyCAP ID SDK
3370
4613
  *
3371
- * OpenAPI spec version: 1.2108
4614
+ * OpenAPI spec version: 1.2112
4615
+ * Contact: support@energycap.com
4616
+ *
4617
+ * NOTE: This class is auto generated by the swagger code generator program.
4618
+ * https://github.com/swagger-api/swagger-codegen.git
4619
+ * Do not edit the class manually.
4620
+ */
4621
+ /**
4622
+ * The model representing data about a user.
4623
+ */
4624
+ var UserChild = /** @class */ (function () {
4625
+ function UserChild() {
4626
+ }
4627
+ return UserChild;
4628
+ }());
4629
+
4630
+ /**
4631
+ * EnergyCAP ID SDK
4632
+ * Document used to generate the EnergyCAP ID SDK
4633
+ *
4634
+ * OpenAPI spec version: 1.2112
3372
4635
  * Contact: support@energycap.com
3373
4636
  *
3374
4637
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -3388,7 +4651,27 @@
3388
4651
  * EnergyCAP ID SDK
3389
4652
  * Document used to generate the EnergyCAP ID SDK
3390
4653
  *
3391
- * OpenAPI spec version: 1.2108
4654
+ * OpenAPI spec version: 1.2112
4655
+ * Contact: support@energycap.com
4656
+ *
4657
+ * NOTE: This class is auto generated by the swagger code generator program.
4658
+ * https://github.com/swagger-api/swagger-codegen.git
4659
+ * Do not edit the class manually.
4660
+ */
4661
+ /**
4662
+ * Represents an Organization for a user
4663
+ */
4664
+ var UserOrganizationResponse = /** @class */ (function () {
4665
+ function UserOrganizationResponse() {
4666
+ }
4667
+ return UserOrganizationResponse;
4668
+ }());
4669
+
4670
+ /**
4671
+ * EnergyCAP ID SDK
4672
+ * Document used to generate the EnergyCAP ID SDK
4673
+ *
4674
+ * OpenAPI spec version: 1.2112
3392
4675
  * Contact: support@energycap.com
3393
4676
  *
3394
4677
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -3408,7 +4691,7 @@
3408
4691
  * EnergyCAP ID SDK
3409
4692
  * Document used to generate the EnergyCAP ID SDK
3410
4693
  *
3411
- * OpenAPI spec version: 1.2108
4694
+ * OpenAPI spec version: 1.2112
3412
4695
  * Contact: support@energycap.com
3413
4696
  *
3414
4697
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -3428,7 +4711,7 @@
3428
4711
  * EnergyCAP ID SDK
3429
4712
  * Document used to generate the EnergyCAP ID SDK
3430
4713
  *
3431
- * OpenAPI spec version: 1.2108
4714
+ * OpenAPI spec version: 1.2112
3432
4715
  * Contact: support@energycap.com
3433
4716
  *
3434
4717
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -3448,7 +4731,7 @@
3448
4731
  * EnergyCAP ID SDK
3449
4732
  * Document used to generate the EnergyCAP ID SDK
3450
4733
  *
3451
- * OpenAPI spec version: 1.2108
4734
+ * OpenAPI spec version: 1.2112
3452
4735
  * Contact: support@energycap.com
3453
4736
  *
3454
4737
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -3469,7 +4752,7 @@
3469
4752
  * EnergyCAP ID SDK
3470
4753
  * Document used to generate the EnergyCAP ID SDK
3471
4754
  *
3472
- * OpenAPI spec version: 1.2108
4755
+ * OpenAPI spec version: 1.2112
3473
4756
  * Contact: support@energycap.com
3474
4757
  *
3475
4758
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -3489,7 +4772,7 @@
3489
4772
  * EnergyCAP ID SDK
3490
4773
  * Document used to generate the EnergyCAP ID SDK
3491
4774
  *
3492
- * OpenAPI spec version: 1.2108
4775
+ * OpenAPI spec version: 1.2112
3493
4776
  * Contact: support@energycap.com
3494
4777
  *
3495
4778
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -3521,7 +4804,7 @@
3521
4804
  imports: [common.CommonModule, http.HttpClientModule],
3522
4805
  declarations: [],
3523
4806
  exports: [],
3524
- providers: [ApplicationService, ApplicationInstanceService, AuthService, DataSourceService, EnvironmentService, MeService, OrganizationService, OrganizationApplicationService, UserService]
4807
+ providers: [ApplicationService, ApplicationInstanceService, AuthService, DataSourceService, DomainJoinTypeService, EnvironmentService, MeService, OrganizationService, OrganizationApplicationService, UserService]
3525
4808
  },] }
3526
4809
  ];
3527
4810
 
@@ -3529,11 +4812,15 @@
3529
4812
  * Generated bundle index. Do not edit.
3530
4813
  */
3531
4814
 
4815
+ exports.APIFilter = APIFilter;
4816
+ exports.APIOrderBy = APIOrderBy;
3532
4817
  exports.APIS = APIS;
3533
4818
  exports.AllUserPermissionsResponse = AllUserPermissionsResponse;
4819
+ exports.ApplicationInstanceDetailResponse = ApplicationInstanceDetailResponse;
3534
4820
  exports.ApplicationInstanceRedirectResponse = ApplicationInstanceRedirectResponse;
3535
4821
  exports.ApplicationInstanceResponse = ApplicationInstanceResponse;
3536
4822
  exports.ApplicationInstanceService = ApplicationInstanceService;
4823
+ exports.ApplicationInstanceUserResponse = ApplicationInstanceUserResponse;
3537
4824
  exports.ApplicationResponse = ApplicationResponse;
3538
4825
  exports.ApplicationService = ApplicationService;
3539
4826
  exports.AuthService = AuthService;
@@ -3541,26 +4828,40 @@
3541
4828
  exports.COLLECTION_FORMATS = COLLECTION_FORMATS;
3542
4829
  exports.ChangePasswordRequest = ChangePasswordRequest;
3543
4830
  exports.Configuration = Configuration;
4831
+ exports.CreateOrganizationRequest = CreateOrganizationRequest;
3544
4832
  exports.DataSourceResponse = DataSourceResponse;
3545
4833
  exports.DataSourceService = DataSourceService;
3546
4834
  exports.DataSourceUpdateRequest = DataSourceUpdateRequest;
4835
+ exports.DomainAccessControlResponse = DomainAccessControlResponse;
4836
+ exports.DomainJoinTypeResponse = DomainJoinTypeResponse;
4837
+ exports.DomainJoinTypeService = DomainJoinTypeService;
3547
4838
  exports.EnergyCapSdkModule = EnergyCapSdkModule;
3548
4839
  exports.EntityPermission = EntityPermission;
3549
4840
  exports.EnvironmentResponse = EnvironmentResponse;
3550
4841
  exports.EnvironmentService = EnvironmentService;
4842
+ exports.HierarchicalOrganizations = HierarchicalOrganizations;
4843
+ exports.HierarchicalOrganizations2 = HierarchicalOrganizations2;
3551
4844
  exports.InviteUserRequest = InviteUserRequest;
3552
4845
  exports.LinkDataSourceRequest = LinkDataSourceRequest;
3553
4846
  exports.LoginResponse = LoginResponse;
3554
4847
  exports.LoginSourceResponse = LoginSourceResponse;
3555
4848
  exports.MeService = MeService;
4849
+ exports.OrganizationAccessControlResponse = OrganizationAccessControlResponse;
3556
4850
  exports.OrganizationApplicationResponse = OrganizationApplicationResponse;
3557
4851
  exports.OrganizationApplicationService = OrganizationApplicationService;
4852
+ exports.OrganizationDetailResponse = OrganizationDetailResponse;
3558
4853
  exports.OrganizationResponse = OrganizationResponse;
3559
4854
  exports.OrganizationService = OrganizationService;
4855
+ exports.OrganizationUserResponse = OrganizationUserResponse;
3560
4856
  exports.ResetPasswordRequest = ResetPasswordRequest;
3561
4857
  exports.SelfCreateUserRequest = SelfCreateUserRequest;
3562
4858
  exports.UpdateMeRequest = UpdateMeRequest;
4859
+ exports.UpdateOrganizationAccessControlRequest = UpdateOrganizationAccessControlRequest;
4860
+ exports.UpdateOrganizationDetailsRequest = UpdateOrganizationDetailsRequest;
4861
+ exports.UserApplicationInstanceResponse = UserApplicationInstanceResponse;
4862
+ exports.UserChild = UserChild;
3563
4863
  exports.UserLoginRequest = UserLoginRequest;
4864
+ exports.UserOrganizationResponse = UserOrganizationResponse;
3564
4865
  exports.UserPermissionRequest = UserPermissionRequest;
3565
4866
  exports.UserPermissionResponse = UserPermissionResponse;
3566
4867
  exports.UserResponse = UserResponse;