@aurigma/ng-storefront-api-client 2.23.1 → 2.24.9

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.
@@ -381,6 +381,14 @@ export interface IProjectsApiClient {
381
381
  * @return Success
382
382
  */
383
383
  getProjectOrder(id: number, tenantId?: number | null | undefined): Observable<any>;
384
+ /**
385
+ * Attachs the specified data to the project's order in ecommerce system.
386
+ * @param id Project identifier.
387
+ * @param tenantId (optional) Tenant identifier.
388
+ * @param body (optional) A list of data items, which should be attached to project's order.
389
+ * @return Success
390
+ */
391
+ attachDataToProjectOrder(id: number, tenantId?: number | null | undefined, body?: OrderDataItemDto[] | null | undefined): Observable<void>;
384
392
  }
385
393
  export declare class ProjectsApiClient extends ApiClientBase implements IProjectsApiClient {
386
394
  private http;
@@ -533,6 +541,15 @@ export declare class ProjectsApiClient extends ApiClientBase implements IProject
533
541
  */
534
542
  getProjectOrder(id: number, tenantId?: number | null | undefined): Observable<any>;
535
543
  protected processGetProjectOrder(response: HttpResponseBase): Observable<any>;
544
+ /**
545
+ * Attachs the specified data to the project's order in ecommerce system.
546
+ * @param id Project identifier.
547
+ * @param tenantId (optional) Tenant identifier.
548
+ * @param body (optional) A list of data items, which should be attached to project's order.
549
+ * @return Success
550
+ */
551
+ attachDataToProjectOrder(id: number, tenantId?: number | null | undefined, body?: OrderDataItemDto[] | null | undefined): Observable<void>;
552
+ protected processAttachDataToProjectOrder(response: HttpResponseBase): Observable<void>;
536
553
  }
537
554
  export interface IStorefrontsApiClient {
538
555
  /**
@@ -1109,6 +1126,20 @@ export interface ProjectProcessingResultsDto {
1109
1126
  /** Collection of project output file descriptions. */
1110
1127
  outputFileDetails?: ProjectOutputFileDetailsDto[] | null;
1111
1128
  }
1129
+ /** Available value types for order data item. */
1130
+ export declare enum OrderDataItemValueType {
1131
+ PlainText = "PlainText",
1132
+ CommaSeparatedList = "CommaSeparatedList",
1133
+ SerializedJson = "SerializedJson"
1134
+ }
1135
+ /** Dto class, containing information about project's order data item. */
1136
+ export interface OrderDataItemDto {
1137
+ /** Order data item key (eventuall order metadata field name). */
1138
+ key?: string | null;
1139
+ /** Order data item value. */
1140
+ value?: string | null;
1141
+ type?: OrderDataItemValueType;
1142
+ }
1112
1143
  /** Storefront types. */
1113
1144
  export declare enum StorefrontType {
1114
1145
  Custom = "Custom",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aurigma/ng-storefront-api-client",
3
- "version": "2.23.1",
3
+ "version": "2.24.9",
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)",