@aurigma/axios-storefront-api-client 2.56.1 → 2.57.1

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.
@@ -1297,10 +1297,11 @@ export interface IStorefrontUsersApiClient {
1297
1297
  * @param take (optional) Defines page length (how many consequent items of sorted result list should be taken).
1298
1298
  * @param sorting (optional) Defines sorting order of result list e.g.: "Title ASC, LastModified DESC".
1299
1299
  * @param search (optional) Search string for partial match.
1300
+ * @param includeAnonymous (optional) Flag that indicates if anonymous users should be included. `True` by default.
1300
1301
  * @param tenantId (optional) Tenant identifier.
1301
1302
  * @return Success
1302
1303
  */
1303
- getAll(storefrontId: number, storefrontUserId?: string | null | undefined, skip?: number | null | undefined, take?: number | null | undefined, sorting?: string | null | undefined, search?: string | null | undefined, tenantId?: number | null | undefined): Promise<PagedOfStorefrontUserDto>;
1304
+ getAll(storefrontId: number, storefrontUserId?: string | null | undefined, skip?: number | null | undefined, take?: number | null | undefined, sorting?: string | null | undefined, search?: string | null | undefined, includeAnonymous?: boolean | null | undefined, tenantId?: number | null | undefined): Promise<PagedOfStorefrontUserDto>;
1304
1305
  /**
1305
1306
  * Creates a new storefront user.
1306
1307
  * @param storefrontId Storefront identifier.
@@ -1355,10 +1356,11 @@ export declare class StorefrontUsersApiClient extends ApiClientBase implements I
1355
1356
  * @param take (optional) Defines page length (how many consequent items of sorted result list should be taken).
1356
1357
  * @param sorting (optional) Defines sorting order of result list e.g.: "Title ASC, LastModified DESC".
1357
1358
  * @param search (optional) Search string for partial match.
1359
+ * @param includeAnonymous (optional) Flag that indicates if anonymous users should be included. `True` by default.
1358
1360
  * @param tenantId (optional) Tenant identifier.
1359
1361
  * @return Success
1360
1362
  */
1361
- getAll(storefrontId: number, storefrontUserId?: string | null | undefined, skip?: number | null | undefined, take?: number | null | undefined, sorting?: string | null | undefined, search?: string | null | undefined, tenantId?: number | null | undefined, cancelToken?: CancelToken | undefined): Promise<PagedOfStorefrontUserDto>;
1363
+ getAll(storefrontId: number, storefrontUserId?: string | null | undefined, skip?: number | null | undefined, take?: number | null | undefined, sorting?: string | null | undefined, search?: string | null | undefined, includeAnonymous?: boolean | null | undefined, tenantId?: number | null | undefined, cancelToken?: CancelToken | undefined): Promise<PagedOfStorefrontUserDto>;
1362
1364
  protected processGetAll(response: AxiosResponse): Promise<PagedOfStorefrontUserDto>;
1363
1365
  /**
1364
1366
  * Creates a new storefront user.
@@ -5129,10 +5129,11 @@ class StorefrontUsersApiClient extends ApiClientBase {
5129
5129
  * @param take (optional) Defines page length (how many consequent items of sorted result list should be taken).
5130
5130
  * @param sorting (optional) Defines sorting order of result list e.g.: "Title ASC, LastModified DESC".
5131
5131
  * @param search (optional) Search string for partial match.
5132
+ * @param includeAnonymous (optional) Flag that indicates if anonymous users should be included. `True` by default.
5132
5133
  * @param tenantId (optional) Tenant identifier.
5133
5134
  * @return Success
5134
5135
  */
5135
- getAll(storefrontId, storefrontUserId, skip, take, sorting, search, tenantId, cancelToken) {
5136
+ getAll(storefrontId, storefrontUserId, skip, take, sorting, search, includeAnonymous, tenantId, cancelToken) {
5136
5137
  let url_ = this.baseUrl + "/api/storefront/v1/storefront-users?";
5137
5138
  if (storefrontId === undefined || storefrontId === null)
5138
5139
  throw new Error("The parameter 'storefrontId' must be defined and cannot be null.");
@@ -5148,6 +5149,8 @@ class StorefrontUsersApiClient extends ApiClientBase {
5148
5149
  url_ += "sorting=" + encodeURIComponent("" + sorting) + "&";
5149
5150
  if (search !== undefined && search !== null)
5150
5151
  url_ += "search=" + encodeURIComponent("" + search) + "&";
5152
+ if (includeAnonymous !== undefined && includeAnonymous !== null)
5153
+ url_ += "includeAnonymous=" + encodeURIComponent("" + includeAnonymous) + "&";
5151
5154
  if (tenantId !== undefined && tenantId !== null)
5152
5155
  url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
5153
5156
  url_ = url_.replace(/[?&]$/, "");