@aurigma/ng-storefront-api-client 2.50.1 → 2.52.2

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.
@@ -341,11 +341,12 @@ export interface IProjectsApiClient {
341
341
  * @param search (optional) Search string for partial match.
342
342
  * @param orderId (optional) Identifier of corresponding order.
343
343
  * @param processingStatus (optional) Project processing status filter.
344
+ * @param includeObsolete (optional) Indicates if obsolete projects prepared to be removed should be included to result.
344
345
  * @param storefrontId (optional) Storefront identifier.
345
346
  * @param tenantId (optional) Tenant identifier.
346
347
  * @return Success
347
348
  */
348
- getAll(ownerId?: string | null | undefined, productReference?: string | null | undefined, status?: number | null | undefined, datePeriod?: DatePeriod | undefined, skip?: number | null | undefined, take?: number | null | undefined, sorting?: string | null | undefined, search?: string | null | undefined, orderId?: string | null | undefined, processingStatus?: ProjectProcessingStatus | null | undefined, storefrontId?: number | null | undefined, tenantId?: number | null | undefined): Observable<PagedOfProjectDto>;
349
+ getAll(ownerId?: string | null | undefined, productReference?: string | null | undefined, status?: number | null | undefined, datePeriod?: DatePeriod | undefined, skip?: number | null | undefined, take?: number | null | undefined, sorting?: string | null | undefined, search?: string | null | undefined, orderId?: string | null | undefined, processingStatus?: ProjectProcessingStatus | null | undefined, includeObsolete?: boolean | undefined, storefrontId?: number | null | undefined, tenantId?: number | null | undefined): Observable<PagedOfProjectDto>;
349
350
  /**
350
351
  * Returns a project by identifier.
351
352
  * @param id Project identifier.
@@ -429,6 +430,14 @@ export interface IProjectsApiClient {
429
430
  * @return Success
430
431
  */
431
432
  forceStatus(id: number, status: number, tenantId?: number | null | undefined): Observable<ProjectStatusDto>;
433
+ /**
434
+ * Deletes specified projects.
435
+ These projects will be hide from projects list immediately, but complete projects data cleaning will take some additional time.
436
+ * @param tenantId (optional) Tenant identifier.
437
+ * @param body (optional)
438
+ * @return Success
439
+ */
440
+ batchDelete(tenantId?: number | null | undefined, body?: BatchDeleteProjectsInput | null | undefined): Observable<PagedOfProjectStatusDto>;
432
441
  /**
433
442
  * Returns a list of all existing project statuses.
434
443
  * @param tenantId (optional) Tenant identifier.
@@ -520,11 +529,12 @@ export declare class ProjectsApiClient extends ApiClientBase implements IProject
520
529
  * @param search (optional) Search string for partial match.
521
530
  * @param orderId (optional) Identifier of corresponding order.
522
531
  * @param processingStatus (optional) Project processing status filter.
532
+ * @param includeObsolete (optional) Indicates if obsolete projects prepared to be removed should be included to result.
523
533
  * @param storefrontId (optional) Storefront identifier.
524
534
  * @param tenantId (optional) Tenant identifier.
525
535
  * @return Success
526
536
  */
527
- getAll(ownerId?: string | null | undefined, productReference?: string | null | undefined, status?: number | null | undefined, datePeriod?: DatePeriod | undefined, skip?: number | null | undefined, take?: number | null | undefined, sorting?: string | null | undefined, search?: string | null | undefined, orderId?: string | null | undefined, processingStatus?: ProjectProcessingStatus | null | undefined, storefrontId?: number | null | undefined, tenantId?: number | null | undefined): Observable<PagedOfProjectDto>;
537
+ getAll(ownerId?: string | null | undefined, productReference?: string | null | undefined, status?: number | null | undefined, datePeriod?: DatePeriod | undefined, skip?: number | null | undefined, take?: number | null | undefined, sorting?: string | null | undefined, search?: string | null | undefined, orderId?: string | null | undefined, processingStatus?: ProjectProcessingStatus | null | undefined, includeObsolete?: boolean | undefined, storefrontId?: number | null | undefined, tenantId?: number | null | undefined): Observable<PagedOfProjectDto>;
528
538
  protected processGetAll(response: HttpResponseBase): Observable<PagedOfProjectDto>;
529
539
  /**
530
540
  * Returns a project by identifier.
@@ -620,6 +630,15 @@ export declare class ProjectsApiClient extends ApiClientBase implements IProject
620
630
  */
621
631
  forceStatus(id: number, status: number, tenantId?: number | null | undefined): Observable<ProjectStatusDto>;
622
632
  protected processForceStatus(response: HttpResponseBase): Observable<ProjectStatusDto>;
633
+ /**
634
+ * Deletes specified projects.
635
+ These projects will be hide from projects list immediately, but complete projects data cleaning will take some additional time.
636
+ * @param tenantId (optional) Tenant identifier.
637
+ * @param body (optional)
638
+ * @return Success
639
+ */
640
+ batchDelete(tenantId?: number | null | undefined, body?: BatchDeleteProjectsInput | null | undefined): Observable<PagedOfProjectStatusDto>;
641
+ protected processBatchDelete(response: HttpResponseBase): Observable<PagedOfProjectStatusDto>;
623
642
  /**
624
643
  * Returns a list of all existing project statuses.
625
644
  * @param tenantId (optional) Tenant identifier.
@@ -1162,6 +1181,11 @@ export interface PagedOfProjectDto {
1162
1181
  /** Items list. */
1163
1182
  items?: ProjectDto[] | null;
1164
1183
  }
1184
+ /** Conflict descritpion. */
1185
+ export interface ConflictDto {
1186
+ /** Conflict description. */
1187
+ description?: string | null;
1188
+ }
1165
1189
  /** Dto class, containing create operation parameters for a project item resource. */
1166
1190
  export interface ProjectItemResourceParametersDto {
1167
1191
  /** Resource URL. */
@@ -1269,7 +1293,8 @@ export declare enum RenderHiResScenarioOutputFormat {
1269
1293
  Pdf = "Pdf",
1270
1294
  Jpeg = "Jpeg",
1271
1295
  Png = "Png",
1272
- Tiff = "Tiff"
1296
+ Tiff = "Tiff",
1297
+ Bmp = "Bmp"
1273
1298
  }
1274
1299
  export declare enum RenderHiResScenarioOutputColorSpace {
1275
1300
  Rgb = "Rgb",
@@ -1362,11 +1387,6 @@ export interface PagedOfProjectTransitionDto {
1362
1387
  /** Items list. */
1363
1388
  items?: ProjectTransitionDto[] | null;
1364
1389
  }
1365
- /** Dto class, containing information about the project transition conflict. */
1366
- export interface ProjectTransitionConflictDto {
1367
- /** A list of all available status transitions for the project. */
1368
- availableTransitions?: ProjectTransitionDto[] | null;
1369
- }
1370
1390
  /** Dto class, containing the information about project status. */
1371
1391
  export interface ProjectStatusDto {
1372
1392
  /** Status code. */
@@ -1374,6 +1394,18 @@ export interface ProjectStatusDto {
1374
1394
  /** Status display name. */
1375
1395
  displayName?: string | null;
1376
1396
  }
1397
+ /** Dto class, containing information about the project transition conflict. */
1398
+ export interface ProjectTransitionConflictDto {
1399
+ /** A list of all available status transitions for the project. */
1400
+ availableTransitions?: ProjectTransitionDto[] | null;
1401
+ /** Conflict description. */
1402
+ description?: string | null;
1403
+ }
1404
+ /** Dto class, containing parameters for the 'projects batch delete' operation. */
1405
+ export interface BatchDeleteProjectsInput {
1406
+ /** Identifiers of projects that should be deleted. */
1407
+ ids?: number[] | null;
1408
+ }
1377
1409
  /** Paged list of items. */
1378
1410
  export interface PagedOfProjectStatusDto {
1379
1411
  /** Items count. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aurigma/ng-storefront-api-client",
3
- "version": "2.50.1",
3
+ "version": "2.52.2",
4
4
  "license": "SEE LICENSE IN License.md",
5
5
  "description": "Angular API Client for Storefront API service of Customer's Canvas web-to-print system.",
6
6
  "author": "Aurigma Inc <info@aurigma.com> (https://customerscanvas.com)",