@energycap/energycapid-sdk-angular 1.2112.46-develop-20211221-1417 → 1.2112.50-develop-20220103-1011

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.
@@ -64,9 +64,11 @@ export declare class ApplicationInstanceService {
64
64
  * Provides a list of user's who have access to an application instance
65
65
  *
66
66
  * @param applicationInstanceId
67
+ * @param pageSize The number of elements to return in a page (defaults to 250 elements)
68
+ * @param pageNumber The current page number
67
69
  * @param body Id of the application instance to return
68
70
  */
69
- getApplicationInstanceUsers(applicationInstanceId: string, body?: string, extraHttpRequestParams?: {
71
+ getApplicationInstanceUsers(applicationInstanceId: string, pageSize?: number, pageNumber?: number, body?: string, extraHttpRequestParams?: {
70
72
  search: string | {
71
73
  [param: string]: string | string[];
72
74
  };
@@ -82,8 +84,10 @@ export declare class ApplicationInstanceService {
82
84
  * @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
83
85
  * @param orderBy
84
86
  * @param filter
87
+ * @param pageSize The number of elements to return in a page (defaults to 250 elements)
88
+ * @param pageNumber The current page number
85
89
  */
86
- getApplicationInstances(organizationName?: string, dataSourceName?: string, targetHost?: string, onlyAdmin?: boolean, orderBy?: string, filter?: string, extraHttpRequestParams?: {
90
+ getApplicationInstances(organizationName?: string, dataSourceName?: string, targetHost?: string, onlyAdmin?: boolean, orderBy?: string, filter?: string, pageSize?: number, pageNumber?: number, extraHttpRequestParams?: {
87
91
  search: string | {
88
92
  [param: string]: string | string[];
89
93
  };
@@ -119,9 +123,11 @@ export declare class ApplicationInstanceService {
119
123
  * Provides a list of user's who have access to an application instance
120
124
  *
121
125
  * @param applicationInstanceId
126
+ * @param pageSize The number of elements to return in a page (defaults to 250 elements)
127
+ * @param pageNumber The current page number
122
128
  * @param body Id of the application instance to return
123
129
  */
124
- getApplicationInstanceUsersWithHttpInfo(applicationInstanceId: string, body?: string, extraHttpRequestParams?: {
130
+ getApplicationInstanceUsersWithHttpInfo(applicationInstanceId: string, pageSize?: number, pageNumber?: number, body?: string, extraHttpRequestParams?: {
125
131
  search: string | {
126
132
  [param: string]: string | string[];
127
133
  };
@@ -137,8 +143,10 @@ export declare class ApplicationInstanceService {
137
143
  * @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
138
144
  * @param orderBy
139
145
  * @param filter
146
+ * @param pageSize The number of elements to return in a page (defaults to 250 elements)
147
+ * @param pageNumber The current page number
140
148
  */
141
- getApplicationInstancesWithHttpInfo(organizationName?: string, dataSourceName?: string, targetHost?: string, onlyAdmin?: boolean, orderBy?: string, filter?: string, extraHttpRequestParams?: {
149
+ getApplicationInstancesWithHttpInfo(organizationName?: string, dataSourceName?: string, targetHost?: string, onlyAdmin?: boolean, orderBy?: string, filter?: string, pageSize?: number, pageNumber?: number, extraHttpRequestParams?: {
142
150
  search: string | {
143
151
  [param: string]: string | string[];
144
152
  };
@@ -91,8 +91,10 @@ export declare class OrganizationService {
91
91
  /**
92
92
  * Returns the entire oranizaion hiearchy If there are more than 100 organizations a 403 is returned.
93
93
  *
94
+ * @param pageSize The number of elements to return in a page (defaults to 100 elements)
95
+ * @param pageNumber The current page number
94
96
  */
95
- getOrganizationHierarchy(extraHttpRequestParams?: {
97
+ getOrganizationHierarchy(pageSize?: number, pageNumber?: number, extraHttpRequestParams?: {
96
98
  search: string | {
97
99
  [param: string]: string | string[];
98
100
  };
@@ -115,8 +117,10 @@ export declare class OrganizationService {
115
117
  * Gets the organizations to which the logged in user has access
116
118
  *
117
119
  * @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
120
+ * @param pageSize The number of elements to return in a page (defaults to 250 elements)
121
+ * @param pageNumber The current page number
118
122
  */
119
- getOrganizations(onlyAdmin?: boolean, extraHttpRequestParams?: {
123
+ getOrganizations(onlyAdmin?: boolean, pageSize?: number, pageNumber?: number, extraHttpRequestParams?: {
120
124
  search: string | {
121
125
  [param: string]: string | string[];
122
126
  };
@@ -127,8 +131,10 @@ export declare class OrganizationService {
127
131
  *
128
132
  *
129
133
  * @param query
134
+ * @param pageSize The number of elements to return in a page (defaults to 50 elements)
135
+ * @param pageNumber The current page number
130
136
  */
131
- searchOrganizations(query?: string, extraHttpRequestParams?: {
137
+ searchOrganizations(query?: string, pageSize?: number, pageNumber?: number, extraHttpRequestParams?: {
132
138
  search: string | {
133
139
  [param: string]: string | string[];
134
140
  };
@@ -213,8 +219,10 @@ export declare class OrganizationService {
213
219
  /**
214
220
  * Returns the entire oranizaion hiearchy If there are more than 100 organizations a 403 is returned.
215
221
  *
222
+ * @param pageSize The number of elements to return in a page (defaults to 100 elements)
223
+ * @param pageNumber The current page number
216
224
  */
217
- getOrganizationHierarchyWithHttpInfo(extraHttpRequestParams?: {
225
+ getOrganizationHierarchyWithHttpInfo(pageSize?: number, pageNumber?: number, extraHttpRequestParams?: {
218
226
  search: string | {
219
227
  [param: string]: string | string[];
220
228
  };
@@ -237,8 +245,10 @@ export declare class OrganizationService {
237
245
  * Gets the organizations to which the logged in user has access
238
246
  *
239
247
  * @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
248
+ * @param pageSize The number of elements to return in a page (defaults to 250 elements)
249
+ * @param pageNumber The current page number
240
250
  */
241
- getOrganizationsWithHttpInfo(onlyAdmin?: boolean, extraHttpRequestParams?: {
251
+ getOrganizationsWithHttpInfo(onlyAdmin?: boolean, pageSize?: number, pageNumber?: number, extraHttpRequestParams?: {
242
252
  search: string | {
243
253
  [param: string]: string | string[];
244
254
  };
@@ -249,8 +259,10 @@ export declare class OrganizationService {
249
259
  *
250
260
  *
251
261
  * @param query
262
+ * @param pageSize The number of elements to return in a page (defaults to 50 elements)
263
+ * @param pageNumber The current page number
252
264
  */
253
- searchOrganizationsWithHttpInfo(query?: string, extraHttpRequestParams?: {
265
+ searchOrganizationsWithHttpInfo(query?: string, pageSize?: number, pageNumber?: number, extraHttpRequestParams?: {
254
266
  search: string | {
255
267
  [param: string]: string | string[];
256
268
  };
@@ -585,10 +585,12 @@
585
585
  * Provides a list of user's who have access to an application instance
586
586
  *
587
587
  * @param applicationInstanceId
588
+ * @param pageSize The number of elements to return in a page (defaults to 250 elements)
589
+ * @param pageNumber The current page number
588
590
  * @param body Id of the application instance to return
589
591
  */
590
- ApplicationInstanceService.prototype.getApplicationInstanceUsers = function (applicationInstanceId, body, extraHttpRequestParams, extraHttpRequestHeaders) {
591
- return this.getApplicationInstanceUsersWithHttpInfo(applicationInstanceId, body, extraHttpRequestParams, extraHttpRequestHeaders)
592
+ ApplicationInstanceService.prototype.getApplicationInstanceUsers = function (applicationInstanceId, pageSize, pageNumber, body, extraHttpRequestParams, extraHttpRequestHeaders) {
593
+ return this.getApplicationInstanceUsersWithHttpInfo(applicationInstanceId, pageSize, pageNumber, body, extraHttpRequestParams, extraHttpRequestHeaders)
592
594
  .pipe(operators.map(function (response) {
593
595
  if (response.status === 204) {
594
596
  return undefined;
@@ -607,9 +609,11 @@
607
609
  * @param onlyAdmin Defaults to false. If false, returns all application instances to which the current user has access. If set to true will only return results where the logged in user has admin access
608
610
  * @param orderBy
609
611
  * @param filter
612
+ * @param pageSize The number of elements to return in a page (defaults to 250 elements)
613
+ * @param pageNumber The current page number
610
614
  */
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)
615
+ ApplicationInstanceService.prototype.getApplicationInstances = function (organizationName, dataSourceName, targetHost, onlyAdmin, orderBy, filter, pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders) {
616
+ return this.getApplicationInstancesWithHttpInfo(organizationName, dataSourceName, targetHost, onlyAdmin, orderBy, filter, pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders)
613
617
  .pipe(operators.map(function (response) {
614
618
  if (response.status === 204) {
615
619
  return undefined;
@@ -730,9 +734,11 @@
730
734
  * Provides a list of user's who have access to an application instance
731
735
  *
732
736
  * @param applicationInstanceId
737
+ * @param pageSize The number of elements to return in a page (defaults to 250 elements)
738
+ * @param pageNumber The current page number
733
739
  * @param body Id of the application instance to return
734
740
  */
735
- ApplicationInstanceService.prototype.getApplicationInstanceUsersWithHttpInfo = function (applicationInstanceId, body, extraHttpRequestParams, extraHttpRequestHeaders) {
741
+ ApplicationInstanceService.prototype.getApplicationInstanceUsersWithHttpInfo = function (applicationInstanceId, pageSize, pageNumber, body, extraHttpRequestParams, extraHttpRequestHeaders) {
736
742
  var _this = this;
737
743
  var path = this.basePath + '/api/v202112/ApplicationInstance/${applicationInstanceId}/user'
738
744
  .replace('${' + 'applicationInstanceId' + '}', String(applicationInstanceId));
@@ -762,6 +768,12 @@
762
768
  if (applicationInstanceId === null || applicationInstanceId === undefined) {
763
769
  throw new Error('Required parameter applicationInstanceId was null or undefined when calling getApplicationInstanceUsers.');
764
770
  }
771
+ if (pageSize !== undefined) {
772
+ queryParameters = queryParameters.set('pageSize', pageSize);
773
+ }
774
+ if (pageNumber !== undefined) {
775
+ queryParameters = queryParameters.set('pageNumber', pageNumber);
776
+ }
765
777
  // to determine the Accept header
766
778
  var produces = [
767
779
  'application/json'
@@ -791,8 +803,10 @@
791
803
  * @param onlyAdmin Defaults to false. If false, returns all application instances to which the current user has access. If set to true will only return results where the logged in user has admin access
792
804
  * @param orderBy
793
805
  * @param filter
806
+ * @param pageSize The number of elements to return in a page (defaults to 250 elements)
807
+ * @param pageNumber The current page number
794
808
  */
795
- ApplicationInstanceService.prototype.getApplicationInstancesWithHttpInfo = function (organizationName, dataSourceName, targetHost, onlyAdmin, orderBy, filter, extraHttpRequestParams, extraHttpRequestHeaders) {
809
+ ApplicationInstanceService.prototype.getApplicationInstancesWithHttpInfo = function (organizationName, dataSourceName, targetHost, onlyAdmin, orderBy, filter, pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders) {
796
810
  var _this = this;
797
811
  var path = this.basePath + '/api/v202108/ApplicationInstance';
798
812
  var queryParameters;
@@ -835,6 +849,12 @@
835
849
  if (filter !== undefined) {
836
850
  queryParameters = queryParameters.set('filter', filter);
837
851
  }
852
+ if (pageSize !== undefined) {
853
+ queryParameters = queryParameters.set('pageSize', pageSize);
854
+ }
855
+ if (pageNumber !== undefined) {
856
+ queryParameters = queryParameters.set('pageNumber', pageNumber);
857
+ }
838
858
  // to determine the Accept header
839
859
  var produces = [
840
860
  'application/json'
@@ -2338,9 +2358,11 @@
2338
2358
  /**
2339
2359
  * Returns the entire oranizaion hiearchy If there are more than 100 organizations a 403 is returned.
2340
2360
  *
2361
+ * @param pageSize The number of elements to return in a page (defaults to 100 elements)
2362
+ * @param pageNumber The current page number
2341
2363
  */
2342
- OrganizationService.prototype.getOrganizationHierarchy = function (extraHttpRequestParams, extraHttpRequestHeaders) {
2343
- return this.getOrganizationHierarchyWithHttpInfo(extraHttpRequestParams, extraHttpRequestHeaders)
2364
+ OrganizationService.prototype.getOrganizationHierarchy = function (pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders) {
2365
+ return this.getOrganizationHierarchyWithHttpInfo(pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders)
2344
2366
  .pipe(operators.map(function (response) {
2345
2367
  if (response.status === 204) {
2346
2368
  return undefined;
@@ -2370,9 +2392,11 @@
2370
2392
  * Gets the organizations to which the logged in user has access
2371
2393
  *
2372
2394
  * @param onlyAdmin Defaults to false. If false, returns all organizations to which the current user has access. If set to true will only return results where the logged in user has admin access
2395
+ * @param pageSize The number of elements to return in a page (defaults to 250 elements)
2396
+ * @param pageNumber The current page number
2373
2397
  */
2374
- OrganizationService.prototype.getOrganizations = function (onlyAdmin, extraHttpRequestParams, extraHttpRequestHeaders) {
2375
- return this.getOrganizationsWithHttpInfo(onlyAdmin, extraHttpRequestParams, extraHttpRequestHeaders)
2398
+ OrganizationService.prototype.getOrganizations = function (onlyAdmin, pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders) {
2399
+ return this.getOrganizationsWithHttpInfo(onlyAdmin, pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders)
2376
2400
  .pipe(operators.map(function (response) {
2377
2401
  if (response.status === 204) {
2378
2402
  return undefined;
@@ -2386,9 +2410,11 @@
2386
2410
  *
2387
2411
  *
2388
2412
  * @param query
2413
+ * @param pageSize The number of elements to return in a page (defaults to 50 elements)
2414
+ * @param pageNumber The current page number
2389
2415
  */
2390
- OrganizationService.prototype.searchOrganizations = function (query, extraHttpRequestParams, extraHttpRequestHeaders) {
2391
- return this.searchOrganizationsWithHttpInfo(query, extraHttpRequestParams, extraHttpRequestHeaders)
2416
+ OrganizationService.prototype.searchOrganizations = function (query, pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders) {
2417
+ return this.searchOrganizationsWithHttpInfo(query, pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders)
2392
2418
  .pipe(operators.map(function (response) {
2393
2419
  if (response.status === 204) {
2394
2420
  return undefined;
@@ -2644,8 +2670,10 @@
2644
2670
  /**
2645
2671
  * Returns the entire oranizaion hiearchy If there are more than 100 organizations a 403 is returned.
2646
2672
  *
2673
+ * @param pageSize The number of elements to return in a page (defaults to 100 elements)
2674
+ * @param pageNumber The current page number
2647
2675
  */
2648
- OrganizationService.prototype.getOrganizationHierarchyWithHttpInfo = function (extraHttpRequestParams, extraHttpRequestHeaders) {
2676
+ OrganizationService.prototype.getOrganizationHierarchyWithHttpInfo = function (pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders) {
2649
2677
  var _this = this;
2650
2678
  var path = this.basePath + '/api/v202112/Organization/hierarchy';
2651
2679
  var queryParameters;
@@ -2670,6 +2698,12 @@
2670
2698
  headers = headers.set(key, value);
2671
2699
  });
2672
2700
  }
2701
+ if (pageSize !== undefined) {
2702
+ queryParameters = queryParameters.set('pageSize', pageSize);
2703
+ }
2704
+ if (pageNumber !== undefined) {
2705
+ queryParameters = queryParameters.set('pageNumber', pageNumber);
2706
+ }
2673
2707
  // to determine the Accept header
2674
2708
  var produces = [
2675
2709
  'application/json'
@@ -2741,8 +2775,10 @@
2741
2775
  * Gets the organizations to which the logged in user has access
2742
2776
  *
2743
2777
  * @param onlyAdmin Defaults to false. If false, returns all organizations to which the current user has access. If set to true will only return results where the logged in user has admin access
2778
+ * @param pageSize The number of elements to return in a page (defaults to 250 elements)
2779
+ * @param pageNumber The current page number
2744
2780
  */
2745
- OrganizationService.prototype.getOrganizationsWithHttpInfo = function (onlyAdmin, extraHttpRequestParams, extraHttpRequestHeaders) {
2781
+ OrganizationService.prototype.getOrganizationsWithHttpInfo = function (onlyAdmin, pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders) {
2746
2782
  var _this = this;
2747
2783
  var path = this.basePath + '/api/v202108/Organization';
2748
2784
  var queryParameters;
@@ -2770,6 +2806,12 @@
2770
2806
  if (onlyAdmin !== undefined) {
2771
2807
  queryParameters = queryParameters.set('onlyAdmin', onlyAdmin);
2772
2808
  }
2809
+ if (pageSize !== undefined) {
2810
+ queryParameters = queryParameters.set('pageSize', pageSize);
2811
+ }
2812
+ if (pageNumber !== undefined) {
2813
+ queryParameters = queryParameters.set('pageNumber', pageNumber);
2814
+ }
2773
2815
  // to determine the Accept header
2774
2816
  var produces = [
2775
2817
  'application/json'
@@ -2790,8 +2832,10 @@
2790
2832
  *
2791
2833
  *
2792
2834
  * @param query
2835
+ * @param pageSize The number of elements to return in a page (defaults to 50 elements)
2836
+ * @param pageNumber The current page number
2793
2837
  */
2794
- OrganizationService.prototype.searchOrganizationsWithHttpInfo = function (query, extraHttpRequestParams, extraHttpRequestHeaders) {
2838
+ OrganizationService.prototype.searchOrganizationsWithHttpInfo = function (query, pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders) {
2795
2839
  var _this = this;
2796
2840
  var path = this.basePath + '/api/v202112/Organization/search';
2797
2841
  var queryParameters;
@@ -2819,6 +2863,12 @@
2819
2863
  if (query !== undefined) {
2820
2864
  queryParameters = queryParameters.set('query', query);
2821
2865
  }
2866
+ if (pageSize !== undefined) {
2867
+ queryParameters = queryParameters.set('pageSize', pageSize);
2868
+ }
2869
+ if (pageNumber !== undefined) {
2870
+ queryParameters = queryParameters.set('pageNumber', pageNumber);
2871
+ }
2822
2872
  // to determine the Accept header
2823
2873
  var produces = [
2824
2874
  'application/json'