@aurigma/axios-design-atoms-api-client 2.26.7 → 2.29.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.
@@ -480,13 +480,23 @@ export interface IDesignAtomsServiceApiClient {
480
480
  */
481
481
  createPrivateDesignFromResource(resourceId?: string | null | undefined, privateDesignId?: string | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Promise<void>;
482
482
  /**
483
- * Renders a design with the specified parameters.
484
- * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied (default value is 'false').
483
+ * Renders a design preview with the specified parameters.
484
+ * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
485
+ (default value is 'false').
485
486
  * @param tenantId (optional) Tenant identifier
486
487
  * @param body (optional) Render model with preview parameters.
487
488
  * @return Success
488
489
  */
489
- renderDesign(attachment?: boolean | null | undefined, tenantId?: number | undefined, body?: RenderDesignModel | null | undefined): Promise<FileResponse>;
490
+ renderDesignPreview(attachment?: boolean | null | undefined, tenantId?: number | undefined, body?: RenderDesignPreviewModel | null | undefined): Promise<FileResponse>;
491
+ /**
492
+ * Renders a design proof with the specified parameters.
493
+ * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
494
+ (default value is 'false').
495
+ * @param tenantId (optional) Tenant identifier
496
+ * @param body (optional) Render model with proof parameters.
497
+ * @return Success
498
+ */
499
+ renderDesignProof(attachment?: boolean | null | undefined, tenantId?: number | undefined, body?: RenderDesignProofModel | null | undefined): Promise<FileResponse>;
490
500
  /**
491
501
  * Render product proof image with specified parameters.
492
502
  * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied (default value is 'false').
@@ -666,14 +676,25 @@ export declare class DesignAtomsServiceApiClient extends ApiClientBase implement
666
676
  createPrivateDesignFromResource(resourceId?: string | null | undefined, privateDesignId?: string | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, cancelToken?: CancelToken | undefined): Promise<void>;
667
677
  protected processCreatePrivateDesignFromResource(response: AxiosResponse): Promise<void>;
668
678
  /**
669
- * Renders a design with the specified parameters.
670
- * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied (default value is 'false').
679
+ * Renders a design preview with the specified parameters.
680
+ * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
681
+ (default value is 'false').
671
682
  * @param tenantId (optional) Tenant identifier
672
683
  * @param body (optional) Render model with preview parameters.
673
684
  * @return Success
674
685
  */
675
- renderDesign(attachment?: boolean | null | undefined, tenantId?: number | undefined, body?: RenderDesignModel | null | undefined, cancelToken?: CancelToken | undefined): Promise<FileResponse>;
676
- protected processRenderDesign(response: AxiosResponse): Promise<FileResponse>;
686
+ renderDesignPreview(attachment?: boolean | null | undefined, tenantId?: number | undefined, body?: RenderDesignPreviewModel | null | undefined, cancelToken?: CancelToken | undefined): Promise<FileResponse>;
687
+ protected processRenderDesignPreview(response: AxiosResponse): Promise<FileResponse>;
688
+ /**
689
+ * Renders a design proof with the specified parameters.
690
+ * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
691
+ (default value is 'false').
692
+ * @param tenantId (optional) Tenant identifier
693
+ * @param body (optional) Render model with proof parameters.
694
+ * @return Success
695
+ */
696
+ renderDesignProof(attachment?: boolean | null | undefined, tenantId?: number | undefined, body?: RenderDesignProofModel | null | undefined, cancelToken?: CancelToken | undefined): Promise<FileResponse>;
697
+ protected processRenderDesignProof(response: AxiosResponse): Promise<FileResponse>;
677
698
  /**
678
699
  * Render product proof image with specified parameters.
679
700
  * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied (default value is 'false').
@@ -1017,6 +1038,13 @@ export declare class DesignAtomsViewerApiClient extends ApiClientBase implements
1017
1038
  updateShapeItemHandler(tenantId?: number | undefined, body?: UpdateHandlerRequest | null | undefined, cancelToken?: CancelToken | undefined): Promise<any>;
1018
1039
  protected processUpdateShapeItemHandler(response: AxiosResponse): Promise<any>;
1019
1040
  }
1041
+ export interface ProblemDetails {
1042
+ type?: string | null;
1043
+ title?: string | null;
1044
+ status?: number | null;
1045
+ detail?: string | null;
1046
+ instance?: string | null;
1047
+ }
1020
1048
  /** Information about a service */
1021
1049
  export interface BuildInfoModel {
1022
1050
  /** Version number */
@@ -1033,13 +1061,6 @@ export interface FontsMethodData {
1033
1061
  advancedMode?: boolean;
1034
1062
  baseUrl?: string | null;
1035
1063
  }
1036
- export interface ProblemDetails {
1037
- type?: string | null;
1038
- title?: string | null;
1039
- status?: number | null;
1040
- detail?: string | null;
1041
- instance?: string | null;
1042
- }
1043
1064
  export interface GetImageSizeRequest {
1044
1065
  imageId?: string | null;
1045
1066
  pageIndex?: number;
@@ -1143,6 +1164,12 @@ export interface MissingDesignElementDto {
1143
1164
  /** Missing element type. */
1144
1165
  readonly missingElementType?: DesignElementType;
1145
1166
  }
1167
+ export interface UnprocessableDesignElementDto {
1168
+ /** Problem description. */
1169
+ description?: string | null;
1170
+ /** Missing element type. */
1171
+ readonly missingElementType?: DesignElementType;
1172
+ }
1146
1173
  /** Available patch type */
1147
1174
  export declare enum ProductPatchType {
1148
1175
  Undefined = "Undefined",
@@ -1194,7 +1221,7 @@ export interface ProductPreviewRenderingConfig {
1194
1221
  height?: number;
1195
1222
  fileFormat?: ProductPreviewFormat | null;
1196
1223
  }
1197
- export interface RenderDesignModel {
1224
+ export interface RenderDesignPreviewModel {
1198
1225
  /** Design ID.
1199
1226
  Used to get design file from public or private storage. */
1200
1227
  designId?: string | null;
@@ -1247,6 +1274,17 @@ export interface ProductProofRenderingConfig {
1247
1274
  /** Defines whether watermark should be repeated */
1248
1275
  watermarkRepeat?: boolean | null;
1249
1276
  }
1277
+ export interface RenderDesignProofModel {
1278
+ /** Design ID.
1279
+ Used to get design file from public or private storage. */
1280
+ designId?: string | null;
1281
+ /** ID of the design owner. */
1282
+ ownerId?: string | null;
1283
+ /** Rendering configuration for getting a preview of design. */
1284
+ renderingConfig?: ProductProofRenderingConfig | null;
1285
+ /** Variable (user) data of design. */
1286
+ variableData?: VariableInfo[] | null;
1287
+ }
1250
1288
  /** Render product parameters */
1251
1289
  export interface RenderProductModel {
1252
1290
  /** Serialized product description */