@energycap/energycap-sdk-angular 8.2609.274-develop-20261002-1358 → 8.2609.275-develop-20261002-1416

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.
@@ -354,14 +354,15 @@ class AccountService {
354
354
  }));
355
355
  }
356
356
  /**
357
- * Retrieves a paginated list of all accounts, with optional filtering
358
- * Use this endpoint to retrieve a list of accounts for display in grids or tables. Supports server-side pagination and account-type filtering via the APIFilter query parameter. Results include meter serial numbers. To find a specific account by a known attribute, use the filter parameter (e.g., by accountCode, accountInfo, vendorCode, etc.). For free-text searching by account code, address, or meter serial number, use GET /account/search instead. For retrieving a single account's full details, use GET /account/{accountId}.
357
+ * Retrieves a paginated list of accounts, with optional filtering and ordering
358
+ * Use this endpoint to retrieve accounts for grids or tables with server-side pagination, filtering, and sorting. To find a specific account by a known attribute, use the filter parameter (e.g., accountCode equals 'ACCT-001'). The orderBy parameter sorts the complete result before it is paged, and ties are always broken by account ID ascending so consecutive pages never overlap. Without orderBy, results are ordered by account name, account number, then account ID. Results include meter serial numbers. For free-text searching by account code, address, or meter serial number, use GET /account/search instead. For a single account's full details, use GET /account/{accountId}. Replaces GET /api/v3/account.
359
359
  * @param filter Optional account filter supporting equality, comparison, and contains operators on account, vendor, cost center, meter, and address fields
360
+ * @param orderBy Optional comma-separated order-by fields, each followed by an optional asc (the default) or desc direction, e.g. 'accountCode desc'. The sortable fields are accountCode (account number) and accountInfo (account name).
360
361
  * @param pageSize The number of elements to return in a page
361
362
  * @param pageNumber The current page number
362
363
  */
363
- getAccounts(filter, pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders) {
364
- return this.getAccountsWithHttpInfo(filter, pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders)
364
+ getAccounts(filter, orderBy, pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders) {
365
+ return this.getAccountsWithHttpInfo(filter, orderBy, pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders)
365
366
  .pipe(map((response) => {
366
367
  if (response.status === 204) {
367
368
  return undefined;
@@ -1324,14 +1325,15 @@ class AccountService {
1324
1325
  return this.http.request(RequestMethod$3c.Get, path, requestOptions);
1325
1326
  }
1326
1327
  /**
1327
- * Retrieves a paginated list of all accounts, with optional filtering
1328
- * Use this endpoint to retrieve a list of accounts for display in grids or tables. Supports server-side pagination and account-type filtering via the APIFilter query parameter. Results include meter serial numbers. To find a specific account by a known attribute, use the filter parameter (e.g., by accountCode, accountInfo, vendorCode, etc.). For free-text searching by account code, address, or meter serial number, use GET /account/search instead. For retrieving a single account's full details, use GET /account/{accountId}.
1328
+ * Retrieves a paginated list of accounts, with optional filtering and ordering
1329
+ * Use this endpoint to retrieve accounts for grids or tables with server-side pagination, filtering, and sorting. To find a specific account by a known attribute, use the filter parameter (e.g., accountCode equals 'ACCT-001'). The orderBy parameter sorts the complete result before it is paged, and ties are always broken by account ID ascending so consecutive pages never overlap. Without orderBy, results are ordered by account name, account number, then account ID. Results include meter serial numbers. For free-text searching by account code, address, or meter serial number, use GET /account/search instead. For a single account's full details, use GET /account/{accountId}. Replaces GET /api/v3/account.
1329
1330
  * @param filter Optional account filter supporting equality, comparison, and contains operators on account, vendor, cost center, meter, and address fields
1331
+ * @param orderBy Optional comma-separated order-by fields, each followed by an optional asc (the default) or desc direction, e.g. 'accountCode desc'. The sortable fields are accountCode (account number) and accountInfo (account name).
1330
1332
  * @param pageSize The number of elements to return in a page
1331
1333
  * @param pageNumber The current page number
1332
1334
  */
1333
- getAccountsWithHttpInfo(filter, pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders) {
1334
- const path = this.basePath + '/api/v3/account';
1335
+ getAccountsWithHttpInfo(filter, orderBy, pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders) {
1336
+ const path = this.basePath + '/api/v202609/account';
1335
1337
  let queryParameters;
1336
1338
  if (extraHttpRequestParams) {
1337
1339
  if (typeof extraHttpRequestParams.search === 'string') {
@@ -1356,6 +1358,9 @@ class AccountService {
1356
1358
  if (filter !== undefined) {
1357
1359
  queryParameters = queryParameters.set('filter', filter);
1358
1360
  }
1361
+ if (orderBy !== undefined) {
1362
+ queryParameters = queryParameters.set('orderBy', orderBy);
1363
+ }
1359
1364
  if (pageSize !== undefined) {
1360
1365
  queryParameters = queryParameters.set('pageSize', pageSize);
1361
1366
  }
@@ -73525,14 +73530,15 @@ class SpanClasspropertyinfoPaginatedPaginatedspanService {
73525
73530
  }));
73526
73531
  }
73527
73532
  /**
73528
- * Retrieves a paginated list of all accounts, with optional filtering
73529
- * Use this endpoint to retrieve a list of accounts for display in grids or tables. Supports server-side pagination and account-type filtering via the APIFilter query parameter. Results include meter serial numbers. To find a specific account by a known attribute, use the filter parameter (e.g., by accountCode, accountInfo, vendorCode, etc.). For free-text searching by account code, address, or meter serial number, use GET /account/search instead. For retrieving a single account's full details, use GET /account/{accountId}.
73533
+ * Retrieves a paginated list of accounts, with optional filtering and ordering
73534
+ * Use this endpoint to retrieve accounts for grids or tables with server-side pagination, filtering, and sorting. To find a specific account by a known attribute, use the filter parameter (e.g., accountCode equals 'ACCT-001'). The orderBy parameter sorts the complete result before it is paged, and ties are always broken by account ID ascending so consecutive pages never overlap. Without orderBy, results are ordered by account name, account number, then account ID. Results include meter serial numbers. For free-text searching by account code, address, or meter serial number, use GET /account/search instead. For a single account's full details, use GET /account/{accountId}. Replaces GET /api/v3/account.
73530
73535
  * @param filter Optional account filter supporting equality, comparison, and contains operators on account, vendor, cost center, meter, and address fields
73536
+ * @param orderBy Optional comma-separated order-by fields, each followed by an optional asc (the default) or desc direction, e.g. 'accountCode desc'. The sortable fields are accountCode (account number) and accountInfo (account name).
73531
73537
  * @param pageSize The number of elements to return in a page
73532
73538
  * @param pageNumber The current page number
73533
73539
  */
73534
- getAccounts(filter, pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders) {
73535
- return this.getAccountsWithHttpInfo(filter, pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders)
73540
+ getAccounts(filter, orderBy, pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders) {
73541
+ return this.getAccountsWithHttpInfo(filter, orderBy, pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders)
73536
73542
  .pipe(map((response) => {
73537
73543
  if (response.status === 204) {
73538
73544
  return undefined;
@@ -75273,14 +75279,15 @@ class SpanClasspropertyinfoPaginatedPaginatedspanService {
75273
75279
  return this.http.request(RequestMethod$1z.Get, path, requestOptions);
75274
75280
  }
75275
75281
  /**
75276
- * Retrieves a paginated list of all accounts, with optional filtering
75277
- * Use this endpoint to retrieve a list of accounts for display in grids or tables. Supports server-side pagination and account-type filtering via the APIFilter query parameter. Results include meter serial numbers. To find a specific account by a known attribute, use the filter parameter (e.g., by accountCode, accountInfo, vendorCode, etc.). For free-text searching by account code, address, or meter serial number, use GET /account/search instead. For retrieving a single account's full details, use GET /account/{accountId}.
75282
+ * Retrieves a paginated list of accounts, with optional filtering and ordering
75283
+ * Use this endpoint to retrieve accounts for grids or tables with server-side pagination, filtering, and sorting. To find a specific account by a known attribute, use the filter parameter (e.g., accountCode equals 'ACCT-001'). The orderBy parameter sorts the complete result before it is paged, and ties are always broken by account ID ascending so consecutive pages never overlap. Without orderBy, results are ordered by account name, account number, then account ID. Results include meter serial numbers. For free-text searching by account code, address, or meter serial number, use GET /account/search instead. For a single account's full details, use GET /account/{accountId}. Replaces GET /api/v3/account.
75278
75284
  * @param filter Optional account filter supporting equality, comparison, and contains operators on account, vendor, cost center, meter, and address fields
75285
+ * @param orderBy Optional comma-separated order-by fields, each followed by an optional asc (the default) or desc direction, e.g. 'accountCode desc'. The sortable fields are accountCode (account number) and accountInfo (account name).
75279
75286
  * @param pageSize The number of elements to return in a page
75280
75287
  * @param pageNumber The current page number
75281
75288
  */
75282
- getAccountsWithHttpInfo(filter, pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders) {
75283
- const path = this.basePath + '/api/v3/account';
75289
+ getAccountsWithHttpInfo(filter, orderBy, pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders) {
75290
+ const path = this.basePath + '/api/v202609/account';
75284
75291
  let queryParameters;
75285
75292
  if (extraHttpRequestParams) {
75286
75293
  if (typeof extraHttpRequestParams.search === 'string') {
@@ -75305,6 +75312,9 @@ class SpanClasspropertyinfoPaginatedPaginatedspanService {
75305
75312
  if (filter !== undefined) {
75306
75313
  queryParameters = queryParameters.set('filter', filter);
75307
75314
  }
75315
+ if (orderBy !== undefined) {
75316
+ queryParameters = queryParameters.set('orderBy', orderBy);
75317
+ }
75308
75318
  if (pageSize !== undefined) {
75309
75319
  queryParameters = queryParameters.set('pageSize', pageSize);
75310
75320
  }
@@ -82720,14 +82730,15 @@ class SpanClasspropertyinfoPermissionPermissionsAccountsViewspanService {
82720
82730
  }));
82721
82731
  }
82722
82732
  /**
82723
- * Retrieves a paginated list of all accounts, with optional filtering
82724
- * Use this endpoint to retrieve a list of accounts for display in grids or tables. Supports server-side pagination and account-type filtering via the APIFilter query parameter. Results include meter serial numbers. To find a specific account by a known attribute, use the filter parameter (e.g., by accountCode, accountInfo, vendorCode, etc.). For free-text searching by account code, address, or meter serial number, use GET /account/search instead. For retrieving a single account's full details, use GET /account/{accountId}.
82733
+ * Retrieves a paginated list of accounts, with optional filtering and ordering
82734
+ * Use this endpoint to retrieve accounts for grids or tables with server-side pagination, filtering, and sorting. To find a specific account by a known attribute, use the filter parameter (e.g., accountCode equals 'ACCT-001'). The orderBy parameter sorts the complete result before it is paged, and ties are always broken by account ID ascending so consecutive pages never overlap. Without orderBy, results are ordered by account name, account number, then account ID. Results include meter serial numbers. For free-text searching by account code, address, or meter serial number, use GET /account/search instead. For a single account's full details, use GET /account/{accountId}. Replaces GET /api/v3/account.
82725
82735
  * @param filter Optional account filter supporting equality, comparison, and contains operators on account, vendor, cost center, meter, and address fields
82736
+ * @param orderBy Optional comma-separated order-by fields, each followed by an optional asc (the default) or desc direction, e.g. 'accountCode desc'. The sortable fields are accountCode (account number) and accountInfo (account name).
82726
82737
  * @param pageSize The number of elements to return in a page
82727
82738
  * @param pageNumber The current page number
82728
82739
  */
82729
- getAccounts(filter, pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders) {
82730
- return this.getAccountsWithHttpInfo(filter, pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders)
82740
+ getAccounts(filter, orderBy, pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders) {
82741
+ return this.getAccountsWithHttpInfo(filter, orderBy, pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders)
82731
82742
  .pipe(map((response) => {
82732
82743
  if (response.status === 204) {
82733
82744
  return undefined;
@@ -83661,14 +83672,15 @@ class SpanClasspropertyinfoPermissionPermissionsAccountsViewspanService {
83661
83672
  return this.http.request(RequestMethod$1u.Get, path, requestOptions);
83662
83673
  }
83663
83674
  /**
83664
- * Retrieves a paginated list of all accounts, with optional filtering
83665
- * Use this endpoint to retrieve a list of accounts for display in grids or tables. Supports server-side pagination and account-type filtering via the APIFilter query parameter. Results include meter serial numbers. To find a specific account by a known attribute, use the filter parameter (e.g., by accountCode, accountInfo, vendorCode, etc.). For free-text searching by account code, address, or meter serial number, use GET /account/search instead. For retrieving a single account's full details, use GET /account/{accountId}.
83675
+ * Retrieves a paginated list of accounts, with optional filtering and ordering
83676
+ * Use this endpoint to retrieve accounts for grids or tables with server-side pagination, filtering, and sorting. To find a specific account by a known attribute, use the filter parameter (e.g., accountCode equals 'ACCT-001'). The orderBy parameter sorts the complete result before it is paged, and ties are always broken by account ID ascending so consecutive pages never overlap. Without orderBy, results are ordered by account name, account number, then account ID. Results include meter serial numbers. For free-text searching by account code, address, or meter serial number, use GET /account/search instead. For a single account's full details, use GET /account/{accountId}. Replaces GET /api/v3/account.
83666
83677
  * @param filter Optional account filter supporting equality, comparison, and contains operators on account, vendor, cost center, meter, and address fields
83678
+ * @param orderBy Optional comma-separated order-by fields, each followed by an optional asc (the default) or desc direction, e.g. 'accountCode desc'. The sortable fields are accountCode (account number) and accountInfo (account name).
83667
83679
  * @param pageSize The number of elements to return in a page
83668
83680
  * @param pageNumber The current page number
83669
83681
  */
83670
- getAccountsWithHttpInfo(filter, pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders) {
83671
- const path = this.basePath + '/api/v3/account';
83682
+ getAccountsWithHttpInfo(filter, orderBy, pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders) {
83683
+ const path = this.basePath + '/api/v202609/account';
83672
83684
  let queryParameters;
83673
83685
  if (extraHttpRequestParams) {
83674
83686
  if (typeof extraHttpRequestParams.search === 'string') {
@@ -83693,6 +83705,9 @@ class SpanClasspropertyinfoPermissionPermissionsAccountsViewspanService {
83693
83705
  if (filter !== undefined) {
83694
83706
  queryParameters = queryParameters.set('filter', filter);
83695
83707
  }
83708
+ if (orderBy !== undefined) {
83709
+ queryParameters = queryParameters.set('orderBy', orderBy);
83710
+ }
83696
83711
  if (pageSize !== undefined) {
83697
83712
  queryParameters = queryParameters.set('pageSize', pageSize);
83698
83713
  }