@aurigma/ng-storefront-api-client 2.38.2 → 2.39.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.
- package/aurigma-ng-storefront-api-client.metadata.json +1 -1
- package/bundles/aurigma-ng-storefront-api-client.umd.js +176 -76
- package/bundles/aurigma-ng-storefront-api-client.umd.js.map +1 -1
- package/bundles/aurigma-ng-storefront-api-client.umd.min.js +1 -1
- package/bundles/aurigma-ng-storefront-api-client.umd.min.js.map +1 -1
- package/esm2015/aurigma-ng-storefront-api-client.js +1 -1
- package/esm2015/lib/storefront-api-client.js +97 -10
- package/esm2015/lib/storefront.module.js +1 -1
- package/esm2015/public-api.js +1 -1
- package/fesm2015/aurigma-ng-storefront-api-client.js +96 -9
- package/fesm2015/aurigma-ng-storefront-api-client.js.map +1 -1
- package/lib/storefront-api-client.d.ts +54 -11
- package/package.json +1 -1
|
@@ -262,11 +262,12 @@ export interface IProjectsApiClient {
|
|
|
262
262
|
* @param sorting (optional) Defines sorting order of result list e.g.: "Title ASC, LastModified DESC".
|
|
263
263
|
* @param search (optional) Search string for partial match.
|
|
264
264
|
* @param orderId (optional) Identifier of corresponding order.
|
|
265
|
+
* @param processingStatus (optional) Project processing status filter.
|
|
265
266
|
* @param storefrontId (optional) Storefront identifier.
|
|
266
267
|
* @param tenantId (optional) Tenant identifier.
|
|
267
268
|
* @return Success
|
|
268
269
|
*/
|
|
269
|
-
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, storefrontId?: number | null | undefined, tenantId?: number | null | undefined): Observable<PagedOfProjectDto>;
|
|
270
|
+
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>;
|
|
270
271
|
/**
|
|
271
272
|
* Creates a new project.
|
|
272
273
|
* @param storefrontId Storefront identifier.
|
|
@@ -311,6 +312,14 @@ export interface IProjectsApiClient {
|
|
|
311
312
|
* @return Success
|
|
312
313
|
*/
|
|
313
314
|
createByRenderHiResScenario(storefrontId: number, tenantId?: number | null | undefined, body?: CreateProjectByRenderHiResScenarioDto | null | undefined): Observable<ProjectDto>;
|
|
315
|
+
/**
|
|
316
|
+
* Creates a new project by 'Specific Pipeline' scenario.
|
|
317
|
+
* @param storefrontId Storefront identifier.
|
|
318
|
+
* @param tenantId (optional) Tenant identifier.
|
|
319
|
+
* @param body (optional) Create operation parameters.
|
|
320
|
+
* @return Success
|
|
321
|
+
*/
|
|
322
|
+
createBySpecificPipelineScenario(storefrontId: number, tenantId?: number | null | undefined, body?: CreateProjectBySpecificPipelineScenarioDto | null | undefined): Observable<ProjectDto>;
|
|
314
323
|
/**
|
|
315
324
|
* Returns all available status transitions for a project.
|
|
316
325
|
* @param id Project identifier.
|
|
@@ -420,11 +429,12 @@ export declare class ProjectsApiClient extends ApiClientBase implements IProject
|
|
|
420
429
|
* @param sorting (optional) Defines sorting order of result list e.g.: "Title ASC, LastModified DESC".
|
|
421
430
|
* @param search (optional) Search string for partial match.
|
|
422
431
|
* @param orderId (optional) Identifier of corresponding order.
|
|
432
|
+
* @param processingStatus (optional) Project processing status filter.
|
|
423
433
|
* @param storefrontId (optional) Storefront identifier.
|
|
424
434
|
* @param tenantId (optional) Tenant identifier.
|
|
425
435
|
* @return Success
|
|
426
436
|
*/
|
|
427
|
-
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, storefrontId?: number | null | undefined, tenantId?: number | null | undefined): Observable<PagedOfProjectDto>;
|
|
437
|
+
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>;
|
|
428
438
|
protected processGetAll(response: HttpResponseBase): Observable<PagedOfProjectDto>;
|
|
429
439
|
/**
|
|
430
440
|
* Creates a new project.
|
|
@@ -476,6 +486,15 @@ export declare class ProjectsApiClient extends ApiClientBase implements IProject
|
|
|
476
486
|
*/
|
|
477
487
|
createByRenderHiResScenario(storefrontId: number, tenantId?: number | null | undefined, body?: CreateProjectByRenderHiResScenarioDto | null | undefined): Observable<ProjectDto>;
|
|
478
488
|
protected processCreateByRenderHiResScenario(response: HttpResponseBase): Observable<ProjectDto>;
|
|
489
|
+
/**
|
|
490
|
+
* Creates a new project by 'Specific Pipeline' scenario.
|
|
491
|
+
* @param storefrontId Storefront identifier.
|
|
492
|
+
* @param tenantId (optional) Tenant identifier.
|
|
493
|
+
* @param body (optional) Create operation parameters.
|
|
494
|
+
* @return Success
|
|
495
|
+
*/
|
|
496
|
+
createBySpecificPipelineScenario(storefrontId: number, tenantId?: number | null | undefined, body?: CreateProjectBySpecificPipelineScenarioDto | null | undefined): Observable<ProjectDto>;
|
|
497
|
+
protected processCreateBySpecificPipelineScenario(response: HttpResponseBase): Observable<ProjectDto>;
|
|
479
498
|
/**
|
|
480
499
|
* Returns all available status transitions for a project.
|
|
481
500
|
* @param id Project identifier.
|
|
@@ -894,6 +913,13 @@ export declare enum DatePeriod {
|
|
|
894
913
|
Last7Days = "Last7Days",
|
|
895
914
|
Last30Days = "Last30Days"
|
|
896
915
|
}
|
|
916
|
+
/** Available project processing statuses. */
|
|
917
|
+
export declare enum ProjectProcessingStatus {
|
|
918
|
+
Pending = "Pending",
|
|
919
|
+
InProgress = "InProgress",
|
|
920
|
+
Completed = "Completed",
|
|
921
|
+
Failed = "Failed"
|
|
922
|
+
}
|
|
897
923
|
/** Available product resource types */
|
|
898
924
|
export declare enum ProjectItemResourceType {
|
|
899
925
|
General = "General",
|
|
@@ -966,6 +992,8 @@ export interface ProjectDto {
|
|
|
966
992
|
lastModified?: string | null;
|
|
967
993
|
/** Description of the project. */
|
|
968
994
|
description?: string | null;
|
|
995
|
+
/** Project processing status. */
|
|
996
|
+
processingStatus?: ProjectProcessingStatus;
|
|
969
997
|
}
|
|
970
998
|
/** Paged list of items. */
|
|
971
999
|
export interface PagedOfProjectDto {
|
|
@@ -985,7 +1013,7 @@ export interface ProjectItemResourceParametersDto {
|
|
|
985
1013
|
/** Original resource identifier. */
|
|
986
1014
|
resourceId?: string | null;
|
|
987
1015
|
}
|
|
988
|
-
/** Dto class, containing create operation
|
|
1016
|
+
/** Dto class, containing create operation parameters for a project item. */
|
|
989
1017
|
export interface ProjectItemParametersDto {
|
|
990
1018
|
/** Item name. */
|
|
991
1019
|
name?: string | null;
|
|
@@ -1065,7 +1093,7 @@ export declare enum RenderHiResScenarioOutputFlipMode {
|
|
|
1065
1093
|
Vertical = "Vertical",
|
|
1066
1094
|
Both = "Both"
|
|
1067
1095
|
}
|
|
1068
|
-
/** Dto class, containing 'RenderHiRes' scenario
|
|
1096
|
+
/** Dto class, containing 'RenderHiRes' scenario parameters. */
|
|
1069
1097
|
export interface RenderHiResScenarioDto {
|
|
1070
1098
|
/** Private design identifier. */
|
|
1071
1099
|
designId: string;
|
|
@@ -1095,6 +1123,26 @@ export interface CreateProjectByRenderHiResScenarioDto {
|
|
|
1095
1123
|
/** List of project items. */
|
|
1096
1124
|
scenario: RenderHiResScenarioDto;
|
|
1097
1125
|
}
|
|
1126
|
+
/** Dto class, containing 'Specific Pipeline' scenario parameters. */
|
|
1127
|
+
export interface SpecificPipelineScenarioDto {
|
|
1128
|
+
/** An existing processing pipeline identifier. */
|
|
1129
|
+
pipelineId?: number;
|
|
1130
|
+
}
|
|
1131
|
+
/** Dto class, containing 'create' operation parameters for a new project that should be created by executing 'Specific Pipeline' scenario. <seealso cref="T:BackOffice.Web.PublicApi.ApiStorefront.Models.CreateProjectDto" /> */
|
|
1132
|
+
export interface CreateProjectBySpecificPipelineScenarioDto {
|
|
1133
|
+
/** Project owner identifier. */
|
|
1134
|
+
ownerId: string;
|
|
1135
|
+
/** Project name. */
|
|
1136
|
+
name?: string | null;
|
|
1137
|
+
/** Description of the project. */
|
|
1138
|
+
description?: string | null;
|
|
1139
|
+
/** Ecommerce system order description. */
|
|
1140
|
+
orderDetails?: OrderDetailsDto | null;
|
|
1141
|
+
/** List of project items. */
|
|
1142
|
+
items?: ProjectItemParametersDto[] | null;
|
|
1143
|
+
/** 'Specific Pipeline' scenario params. <seealso cref="T:BackOffice.Web.PublicApi.ApiStorefront.Models.SpecificPipelineScenarioDto" /> */
|
|
1144
|
+
scenario: SpecificPipelineScenarioDto;
|
|
1145
|
+
}
|
|
1098
1146
|
/** Project transition dto class. */
|
|
1099
1147
|
export interface ProjectTransitionDto {
|
|
1100
1148
|
/** Transition identifying name. */
|
|
@@ -1137,13 +1185,6 @@ export interface ProjectPdfResultDto {
|
|
|
1137
1185
|
/** Project pdf url. */
|
|
1138
1186
|
url?: string | null;
|
|
1139
1187
|
}
|
|
1140
|
-
/** Available project processing statuses. */
|
|
1141
|
-
export declare enum ProjectProcessingStatus {
|
|
1142
|
-
Pending = "Pending",
|
|
1143
|
-
InProgress = "InProgress",
|
|
1144
|
-
Completed = "Completed",
|
|
1145
|
-
Failed = "Failed"
|
|
1146
|
-
}
|
|
1147
1188
|
/** Dto class, containing description of a project output file. */
|
|
1148
1189
|
export interface ProjectOutputFileDetailsDto {
|
|
1149
1190
|
/** Project output file URL. */
|
|
@@ -1258,6 +1299,8 @@ export interface TenantApplicationsInfoDto {
|
|
|
1258
1299
|
uiFrameworkUrl?: string | null;
|
|
1259
1300
|
/** An url to the 'Simple editor'. */
|
|
1260
1301
|
simpleEditorUrl?: string | null;
|
|
1302
|
+
/** An url to the 'Handy editor'. */
|
|
1303
|
+
handyEditorUrl?: string | null;
|
|
1261
1304
|
/** An url to the 'Preflight' tenant application. */
|
|
1262
1305
|
preflightUrl?: string | null;
|
|
1263
1306
|
/** An url to the 'Dynamic Image' tenant application. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aurigma/ng-storefront-api-client",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.39.1",
|
|
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)",
|