@aurigma/ng-storefront-api-client 2.63.14 → 2.65.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 +8 -1
- 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 +11 -2
- package/esm2015/lib/storefront.module.js +1 -1
- package/esm2015/public-api.js +1 -1
- package/fesm2015/aurigma-ng-storefront-api-client.js +11 -2
- package/fesm2015/aurigma-ng-storefront-api-client.js.map +1 -1
- package/lib/storefront-api-client.d.ts +39 -16
- package/package.json +1 -1
|
@@ -1215,7 +1215,7 @@ export interface IProjectsApiClient {
|
|
|
1215
1215
|
* @param tenantId (optional) Tenant identifier.
|
|
1216
1216
|
* @return Success
|
|
1217
1217
|
*/
|
|
1218
|
-
getAvailableTransitions(id: number, tenantId?: number | null | undefined): Observable<
|
|
1218
|
+
getAvailableTransitions(id: number, tenantId?: number | null | undefined): Observable<PagedOfProjectStatusTransitionDto>;
|
|
1219
1219
|
/**
|
|
1220
1220
|
* Changes the project status.
|
|
1221
1221
|
* @param id Project identifier
|
|
@@ -1251,7 +1251,7 @@ export interface IProjectsApiClient {
|
|
|
1251
1251
|
* @param tenantId (optional) Tenant identifier.
|
|
1252
1252
|
* @return Success
|
|
1253
1253
|
*/
|
|
1254
|
-
getAllTransitions(tenantId?: number | null | undefined): Observable<
|
|
1254
|
+
getAllTransitions(tenantId?: number | null | undefined): Observable<PagedOfProjectStatusTransitionDto>;
|
|
1255
1255
|
/**
|
|
1256
1256
|
* Returns a project processing results.
|
|
1257
1257
|
* @param id Project identifier.
|
|
@@ -1391,8 +1391,8 @@ export declare class ProjectsApiClient extends ApiClientBase implements IProject
|
|
|
1391
1391
|
* @param tenantId (optional) Tenant identifier.
|
|
1392
1392
|
* @return Success
|
|
1393
1393
|
*/
|
|
1394
|
-
getAvailableTransitions(id: number, tenantId?: number | null | undefined): Observable<
|
|
1395
|
-
protected processGetAvailableTransitions(response: HttpResponseBase): Observable<
|
|
1394
|
+
getAvailableTransitions(id: number, tenantId?: number | null | undefined): Observable<PagedOfProjectStatusTransitionDto>;
|
|
1395
|
+
protected processGetAvailableTransitions(response: HttpResponseBase): Observable<PagedOfProjectStatusTransitionDto>;
|
|
1396
1396
|
/**
|
|
1397
1397
|
* Changes the project status.
|
|
1398
1398
|
* @param id Project identifier
|
|
@@ -1432,8 +1432,8 @@ export declare class ProjectsApiClient extends ApiClientBase implements IProject
|
|
|
1432
1432
|
* @param tenantId (optional) Tenant identifier.
|
|
1433
1433
|
* @return Success
|
|
1434
1434
|
*/
|
|
1435
|
-
getAllTransitions(tenantId?: number | null | undefined): Observable<
|
|
1436
|
-
protected processGetAllTransitions(response: HttpResponseBase): Observable<
|
|
1435
|
+
getAllTransitions(tenantId?: number | null | undefined): Observable<PagedOfProjectStatusTransitionDto>;
|
|
1436
|
+
protected processGetAllTransitions(response: HttpResponseBase): Observable<PagedOfProjectStatusTransitionDto>;
|
|
1437
1437
|
/**
|
|
1438
1438
|
* Returns a project processing results.
|
|
1439
1439
|
* @param id Project identifier.
|
|
@@ -1488,10 +1488,11 @@ export interface IStorefrontsApiClient {
|
|
|
1488
1488
|
* @param take (optional) Defines page length (how many consequent items of sorted result list should be taken).
|
|
1489
1489
|
* @param sorting (optional) Defines sorting order of result list e.g.: "Title ASC, LastModified DESC".
|
|
1490
1490
|
* @param search (optional) Search string for partial match.
|
|
1491
|
+
* @param status (optional) Storefront status.
|
|
1491
1492
|
* @param tenantId (optional) Tenant identifier.
|
|
1492
1493
|
* @return Success
|
|
1493
1494
|
*/
|
|
1494
|
-
getAll(types?: StorefrontType[] | null | undefined, skip?: number | null | undefined, take?: number | null | undefined, sorting?: string | null | undefined, search?: string | null | undefined, tenantId?: number | null | undefined): Observable<PagedOfStorefrontDto>;
|
|
1495
|
+
getAll(types?: StorefrontType[] | null | undefined, skip?: number | null | undefined, take?: number | null | undefined, sorting?: string | null | undefined, search?: string | null | undefined, status?: StorefrontStatus | null | undefined, tenantId?: number | null | undefined): Observable<PagedOfStorefrontDto>;
|
|
1495
1496
|
/**
|
|
1496
1497
|
* Returns a storefront by identifier.
|
|
1497
1498
|
* @param id Storefront identifier.
|
|
@@ -1512,10 +1513,11 @@ export declare class StorefrontsApiClient extends ApiClientBase implements IStor
|
|
|
1512
1513
|
* @param take (optional) Defines page length (how many consequent items of sorted result list should be taken).
|
|
1513
1514
|
* @param sorting (optional) Defines sorting order of result list e.g.: "Title ASC, LastModified DESC".
|
|
1514
1515
|
* @param search (optional) Search string for partial match.
|
|
1516
|
+
* @param status (optional) Storefront status.
|
|
1515
1517
|
* @param tenantId (optional) Tenant identifier.
|
|
1516
1518
|
* @return Success
|
|
1517
1519
|
*/
|
|
1518
|
-
getAll(types?: StorefrontType[] | null | undefined, skip?: number | null | undefined, take?: number | null | undefined, sorting?: string | null | undefined, search?: string | null | undefined, tenantId?: number | null | undefined): Observable<PagedOfStorefrontDto>;
|
|
1520
|
+
getAll(types?: StorefrontType[] | null | undefined, skip?: number | null | undefined, take?: number | null | undefined, sorting?: string | null | undefined, search?: string | null | undefined, status?: StorefrontStatus | null | undefined, tenantId?: number | null | undefined): Observable<PagedOfStorefrontDto>;
|
|
1519
1521
|
protected processGetAll(response: HttpResponseBase): Observable<PagedOfStorefrontDto>;
|
|
1520
1522
|
/**
|
|
1521
1523
|
* Returns a storefront by identifier.
|
|
@@ -2613,6 +2615,8 @@ export interface ProjectDto {
|
|
|
2613
2615
|
orderUrl?: string | null;
|
|
2614
2616
|
/** Order number in ecommerce system. */
|
|
2615
2617
|
orderNumber?: number | null;
|
|
2618
|
+
/** Order name in ecommerce system. */
|
|
2619
|
+
orderName?: string | null;
|
|
2616
2620
|
/** Order item identifier from storefront order. */
|
|
2617
2621
|
orderLineItemId?: string | null;
|
|
2618
2622
|
/** Order item index from storefront order. */
|
|
@@ -2720,6 +2724,8 @@ export interface CreateSingleItemProjectDto {
|
|
|
2720
2724
|
orderUrl?: string | null;
|
|
2721
2725
|
/** Order number in ecommerce system. */
|
|
2722
2726
|
orderNumber?: number | null;
|
|
2727
|
+
/** Order name in ecommerce system. */
|
|
2728
|
+
orderName?: string | null;
|
|
2723
2729
|
/** Customer identifier in ecommerce system. */
|
|
2724
2730
|
customerId?: string | null;
|
|
2725
2731
|
/** Customer name in ecommerce system. */
|
|
@@ -2741,6 +2747,8 @@ export interface CreateMultiItemProjectDto {
|
|
|
2741
2747
|
orderUrl?: string | null;
|
|
2742
2748
|
/** Order number in ecommerce system. */
|
|
2743
2749
|
orderNumber?: number | null;
|
|
2750
|
+
/** Order name in ecommerce system. */
|
|
2751
|
+
orderName?: string | null;
|
|
2744
2752
|
/** Customer identifier in ecommerce system. */
|
|
2745
2753
|
customerId?: string | null;
|
|
2746
2754
|
/** Customer name in ecommerce system. */
|
|
@@ -2762,6 +2770,8 @@ export interface OrderDetailsDto {
|
|
|
2762
2770
|
orderUrl?: string | null;
|
|
2763
2771
|
/** Order number in ecommerce system. */
|
|
2764
2772
|
orderNumber?: number | null;
|
|
2773
|
+
/** Order name in ecommerce system. */
|
|
2774
|
+
orderName?: string | null;
|
|
2765
2775
|
/** Line item index from ecommerce system order. */
|
|
2766
2776
|
orderLineItemIndex?: number | null;
|
|
2767
2777
|
/** Line Item identifier from ecommerce system order. */
|
|
@@ -2860,8 +2870,10 @@ export interface CreateProjectBySpecificPipelineScenarioDto {
|
|
|
2860
2870
|
/** 'Specific Pipeline' scenario params. For more information check BackOffice.Web.PublicApi.ApiStorefront.Models.SpecificPipelineScenarioDto. */
|
|
2861
2871
|
scenario: SpecificPipelineScenarioDto;
|
|
2862
2872
|
}
|
|
2863
|
-
/** Project transition dto class. */
|
|
2864
|
-
export interface
|
|
2873
|
+
/** Project status transition dto class. */
|
|
2874
|
+
export interface ProjectStatusTransitionDto {
|
|
2875
|
+
/** Transition identifier. */
|
|
2876
|
+
id?: number;
|
|
2865
2877
|
/** Transition identifying name. */
|
|
2866
2878
|
name?: string | null;
|
|
2867
2879
|
/** Transition display name. */
|
|
@@ -2872,23 +2884,27 @@ export interface ProjectTransitionDto {
|
|
|
2872
2884
|
resultStatus?: number;
|
|
2873
2885
|
}
|
|
2874
2886
|
/** Paged list of items. */
|
|
2875
|
-
export interface
|
|
2887
|
+
export interface PagedOfProjectStatusTransitionDto {
|
|
2876
2888
|
/** Items count. */
|
|
2877
2889
|
total?: number;
|
|
2878
2890
|
/** Items list. */
|
|
2879
|
-
items?:
|
|
2891
|
+
items?: ProjectStatusTransitionDto[] | null;
|
|
2880
2892
|
}
|
|
2881
|
-
/**
|
|
2893
|
+
/** Project status parameters. */
|
|
2882
2894
|
export interface ProjectStatusDto {
|
|
2895
|
+
/** Project status identifier. */
|
|
2896
|
+
id?: number;
|
|
2883
2897
|
/** Status code. */
|
|
2884
2898
|
code?: number;
|
|
2899
|
+
/** Status mark color. */
|
|
2900
|
+
color?: string | null;
|
|
2885
2901
|
/** Status display name. */
|
|
2886
2902
|
displayName?: string | null;
|
|
2887
2903
|
}
|
|
2888
|
-
/** Dto class, containing information about the project transition conflict. */
|
|
2889
|
-
export interface
|
|
2904
|
+
/** Dto class, containing information about the project status transition conflict. */
|
|
2905
|
+
export interface ProjectStatusTransitionConflictDto {
|
|
2890
2906
|
/** A list of all available status transitions for the project. */
|
|
2891
|
-
availableTransitions?:
|
|
2907
|
+
availableTransitions?: ProjectStatusTransitionDto[] | null;
|
|
2892
2908
|
/** Problem description. */
|
|
2893
2909
|
description?: string | null;
|
|
2894
2910
|
/** Coflict type. */
|
|
@@ -2964,6 +2980,11 @@ export declare enum StorefrontType {
|
|
|
2964
2980
|
Shopify = "Shopify",
|
|
2965
2981
|
ShopifyCustom = "ShopifyCustom"
|
|
2966
2982
|
}
|
|
2983
|
+
/** Storefront status. */
|
|
2984
|
+
export declare enum StorefrontStatus {
|
|
2985
|
+
Dev = "Dev",
|
|
2986
|
+
Prod = "Prod"
|
|
2987
|
+
}
|
|
2967
2988
|
/** Dto class, containing information about a storefront. */
|
|
2968
2989
|
export interface StorefrontDto {
|
|
2969
2990
|
/** Storefront identifier. */
|
|
@@ -2976,6 +2997,8 @@ export interface StorefrontDto {
|
|
|
2976
2997
|
type?: StorefrontType;
|
|
2977
2998
|
/** Storefront entity creation date and time. */
|
|
2978
2999
|
created?: string;
|
|
3000
|
+
/** Storefront status. */
|
|
3001
|
+
status?: StorefrontStatus;
|
|
2979
3002
|
}
|
|
2980
3003
|
/** Paged list of items. */
|
|
2981
3004
|
export interface PagedOfStorefrontDto {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aurigma/ng-storefront-api-client",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.65.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)",
|