@aurigma/ng-design-atoms-api-client 2.82.1 → 2.83.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-design-atoms-api-client.metadata.json +1 -1
- package/bundles/aurigma-ng-design-atoms-api-client.umd.js +5 -0
- package/bundles/aurigma-ng-design-atoms-api-client.umd.js.map +1 -1
- package/bundles/aurigma-ng-design-atoms-api-client.umd.min.js +1 -1
- package/bundles/aurigma-ng-design-atoms-api-client.umd.min.js.map +1 -1
- package/esm2015/lib/design-atoms-api-client.js +7 -1
- package/fesm2015/aurigma-ng-design-atoms-api-client.js +7 -1
- package/fesm2015/aurigma-ng-design-atoms-api-client.js.map +1 -1
- package/lib/design-atoms-api-client.d.ts +72 -28
- package/package.json +1 -1
|
@@ -1789,7 +1789,7 @@ export interface IDesignAtomsServiceApiClient {
|
|
|
1789
1789
|
* @param body (optional) Design variable values.
|
|
1790
1790
|
* @return Success
|
|
1791
1791
|
*/
|
|
1792
|
-
setVariables(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?:
|
|
1792
|
+
setVariables(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: SetVariablesModel | undefined): Observable<void>;
|
|
1793
1793
|
/**
|
|
1794
1794
|
* Loads variable data printing information from design file taken from storage.
|
|
1795
1795
|
* @param id Design identifier.
|
|
@@ -2043,7 +2043,7 @@ export declare class DesignAtomsServiceApiClient extends ApiClientBase implement
|
|
|
2043
2043
|
* @param body (optional) Design variable values.
|
|
2044
2044
|
* @return Success
|
|
2045
2045
|
*/
|
|
2046
|
-
setVariables(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?:
|
|
2046
|
+
setVariables(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: SetVariablesModel | undefined): Observable<void>;
|
|
2047
2047
|
protected processSetVariables(response: HttpResponseBase): Observable<void>;
|
|
2048
2048
|
/**
|
|
2049
2049
|
* Loads variable data printing information from design file taken from storage.
|
|
@@ -3033,6 +3033,25 @@ export interface DesignParameters {
|
|
|
3033
3033
|
/** Version of DesignAtoms library that used to save design file. */
|
|
3034
3034
|
designAtomsVersion?: string | null;
|
|
3035
3035
|
}
|
|
3036
|
+
export declare enum DesignPreviewMockupStrategy {
|
|
3037
|
+
UseProvidedMockup = "UseProvidedMockup",
|
|
3038
|
+
UseEmbeddedMockup = "UseEmbeddedMockup",
|
|
3039
|
+
UseNoMockup = "UseNoMockup"
|
|
3040
|
+
}
|
|
3041
|
+
export interface DesignPreviewRenderingConfig {
|
|
3042
|
+
/** Surface index. */
|
|
3043
|
+
surfaceIndex?: number | null;
|
|
3044
|
+
/** Indicates whether to show stub content for preview image. */
|
|
3045
|
+
stub?: boolean | null;
|
|
3046
|
+
/** Indicates whether print areas borders should be visualized. */
|
|
3047
|
+
visualizePrintAreas?: boolean | null;
|
|
3048
|
+
/** Preview image width. */
|
|
3049
|
+
width?: number;
|
|
3050
|
+
/** Preview image height. */
|
|
3051
|
+
height?: number;
|
|
3052
|
+
/** Preview image file format. */
|
|
3053
|
+
fileFormat?: ProductPreviewFormat | null;
|
|
3054
|
+
}
|
|
3036
3055
|
/** Design print area parameters. */
|
|
3037
3056
|
export interface DesignPrintAreaDto {
|
|
3038
3057
|
/** Print area identifier. */
|
|
@@ -3069,6 +3088,28 @@ export interface DesignPrintAreaParams {
|
|
|
3069
3088
|
/** Print area shape. Usually content of svg path that describes print area shape is provided. */
|
|
3070
3089
|
shape?: string | null;
|
|
3071
3090
|
}
|
|
3091
|
+
export interface DesignProofRenderingConfig {
|
|
3092
|
+
/** Surface to render. */
|
|
3093
|
+
surfaceIndex?: number | null;
|
|
3094
|
+
/** Desired proof image width. */
|
|
3095
|
+
width?: number;
|
|
3096
|
+
/** Desired proof image height. */
|
|
3097
|
+
height?: number;
|
|
3098
|
+
/** Desired proof image format. */
|
|
3099
|
+
format?: ProductProofFormat | null;
|
|
3100
|
+
/** Desired proof image interpolation. */
|
|
3101
|
+
interpolationMode?: ProductProofInterpolationMode | null;
|
|
3102
|
+
/** Defines whether safety lines should be visualized. */
|
|
3103
|
+
safetyLinesEnabled?: boolean | null;
|
|
3104
|
+
/** Defines whether print areas borders should be visualized. */
|
|
3105
|
+
visualizePrintAreas?: boolean | null;
|
|
3106
|
+
/** Defines whether watermark should be included. */
|
|
3107
|
+
watermarkEnabled?: boolean | null;
|
|
3108
|
+
/** Defines watermark opacity (in range 0 .. 1.0). */
|
|
3109
|
+
watermarkOpacity?: number | null;
|
|
3110
|
+
/** Defines whether watermark should be repeated. */
|
|
3111
|
+
watermarkRepeat?: boolean | null;
|
|
3112
|
+
}
|
|
3072
3113
|
/** Print-product container description. */
|
|
3073
3114
|
export interface DesignSurfaceContainerDto {
|
|
3074
3115
|
/** Container identifier. */
|
|
@@ -3415,20 +3456,6 @@ export declare enum ProductPreviewFormat {
|
|
|
3415
3456
|
Jpeg = "Jpeg",
|
|
3416
3457
|
Png = "Png"
|
|
3417
3458
|
}
|
|
3418
|
-
export interface ProductPreviewRenderingConfig {
|
|
3419
|
-
/** Surface index. */
|
|
3420
|
-
surfaceIndex?: number | null;
|
|
3421
|
-
/** Indicates whether to show stub content for preview image. */
|
|
3422
|
-
stub?: boolean | null;
|
|
3423
|
-
/** Indicates whether print areas borders should be visualized. */
|
|
3424
|
-
visualizePrintAreas?: boolean | null;
|
|
3425
|
-
/** Preview image width. */
|
|
3426
|
-
width?: number;
|
|
3427
|
-
/** Preview image height. */
|
|
3428
|
-
height?: number;
|
|
3429
|
-
/** Preview image file format. */
|
|
3430
|
-
fileFormat?: ProductPreviewFormat | null;
|
|
3431
|
-
}
|
|
3432
3459
|
export declare enum ProductProofFormat {
|
|
3433
3460
|
Jpeg = "Jpeg",
|
|
3434
3461
|
Png = "Png",
|
|
@@ -3487,17 +3514,18 @@ export interface RenderDesignPreviewModel {
|
|
|
3487
3514
|
/** Design identifier.
|
|
3488
3515
|
Used to get design file from public or private storage. */
|
|
3489
3516
|
designId?: string | null;
|
|
3517
|
+
/** Identifier of the design owner. */
|
|
3518
|
+
ownerId?: string | null;
|
|
3519
|
+
mockupStrategy?: DesignPreviewMockupStrategy;
|
|
3490
3520
|
/** Mockup identifier.
|
|
3491
3521
|
Used to get mockup file from public storage. */
|
|
3492
3522
|
mockupId?: string | null;
|
|
3493
|
-
/** Identifier of the design owner. */
|
|
3494
|
-
ownerId?: string | null;
|
|
3495
3523
|
/** Identifier of the mockup owner. */
|
|
3496
3524
|
mockupOwnerId?: string | null;
|
|
3497
3525
|
/** Rendering configuration for getting a preview of design. */
|
|
3498
|
-
renderingConfig?:
|
|
3526
|
+
renderingConfig?: DesignPreviewRenderingConfig | null;
|
|
3499
3527
|
/** Variable (user) data for design variable fields in the preview image. */
|
|
3500
|
-
variableData?:
|
|
3528
|
+
variableData?: VariableData[] | null;
|
|
3501
3529
|
}
|
|
3502
3530
|
export interface RenderDesignPreviewToResourceModel {
|
|
3503
3531
|
/** Parameters of resource that should be created for a preview rendering result. */
|
|
@@ -3507,17 +3535,18 @@ export interface RenderDesignPreviewToResourceModel {
|
|
|
3507
3535
|
/** Design identifier.
|
|
3508
3536
|
Used to get design file from public or private storage. */
|
|
3509
3537
|
designId?: string | null;
|
|
3538
|
+
/** Identifier of the design owner. */
|
|
3539
|
+
ownerId?: string | null;
|
|
3540
|
+
mockupStrategy?: DesignPreviewMockupStrategy;
|
|
3510
3541
|
/** Mockup identifier.
|
|
3511
3542
|
Used to get mockup file from public storage. */
|
|
3512
3543
|
mockupId?: string | null;
|
|
3513
|
-
/** Identifier of the design owner. */
|
|
3514
|
-
ownerId?: string | null;
|
|
3515
3544
|
/** Identifier of the mockup owner. */
|
|
3516
3545
|
mockupOwnerId?: string | null;
|
|
3517
3546
|
/** Rendering configuration for getting a preview of design. */
|
|
3518
|
-
renderingConfig?:
|
|
3547
|
+
renderingConfig?: DesignPreviewRenderingConfig | null;
|
|
3519
3548
|
/** Variable (user) data for design variable fields in the preview image. */
|
|
3520
|
-
variableData?:
|
|
3549
|
+
variableData?: VariableData[] | null;
|
|
3521
3550
|
}
|
|
3522
3551
|
export interface RenderDesignProofModel {
|
|
3523
3552
|
/** Design identifier.
|
|
@@ -3526,9 +3555,9 @@ Used to get design file from public or private storage. */
|
|
|
3526
3555
|
/** Identifier of the design owner. */
|
|
3527
3556
|
ownerId?: string | null;
|
|
3528
3557
|
/** Rendering configuration for getting a proof image of design. */
|
|
3529
|
-
renderingConfig?:
|
|
3558
|
+
renderingConfig?: DesignProofRenderingConfig | null;
|
|
3530
3559
|
/** Variable (user) data for design variable fields in the proof image. */
|
|
3531
|
-
variableData?:
|
|
3560
|
+
variableData?: VariableData[] | null;
|
|
3532
3561
|
}
|
|
3533
3562
|
export interface RenderDesignProofToResourceModel {
|
|
3534
3563
|
/** Parameters of resource that should be created for a preview rendering result. */
|
|
@@ -3541,9 +3570,9 @@ Used to get design file from public or private storage. */
|
|
|
3541
3570
|
/** Identifier of the design owner. */
|
|
3542
3571
|
ownerId?: string | null;
|
|
3543
3572
|
/** Rendering configuration for getting a proof image of design. */
|
|
3544
|
-
renderingConfig?:
|
|
3573
|
+
renderingConfig?: DesignProofRenderingConfig | null;
|
|
3545
3574
|
/** Variable (user) data for design variable fields in the proof image. */
|
|
3546
|
-
variableData?:
|
|
3575
|
+
variableData?: VariableData[] | null;
|
|
3547
3576
|
}
|
|
3548
3577
|
/** Web image preview rendering parameters. */
|
|
3549
3578
|
export interface RenderImagePreviewFromUrlModel {
|
|
@@ -3651,6 +3680,11 @@ export interface SetEditorMockupsModel {
|
|
|
3651
3680
|
/** List of editor mockup binding instructions. */
|
|
3652
3681
|
editorMockupBindings?: EditorMockupBindingModel[] | null;
|
|
3653
3682
|
}
|
|
3683
|
+
/** Variables information. */
|
|
3684
|
+
export interface SetVariablesModel {
|
|
3685
|
+
/** List of variables. */
|
|
3686
|
+
items?: VariableData[] | null;
|
|
3687
|
+
}
|
|
3654
3688
|
/** Size of the print-product element. */
|
|
3655
3689
|
export interface SizeDto {
|
|
3656
3690
|
/** Print-product element width. */
|
|
@@ -3700,6 +3734,12 @@ export interface UpdateImageHandlerRequest {
|
|
|
3700
3734
|
itemData?: any | null;
|
|
3701
3735
|
colorSettings?: PreviewColorSettings | null;
|
|
3702
3736
|
}
|
|
3737
|
+
export interface VariableData {
|
|
3738
|
+
/** Variable name. */
|
|
3739
|
+
name?: string | null;
|
|
3740
|
+
/** Variable value. */
|
|
3741
|
+
value?: string | null;
|
|
3742
|
+
}
|
|
3703
3743
|
/** Variable information. */
|
|
3704
3744
|
export interface VariableInfo {
|
|
3705
3745
|
/** Variable name. */
|
|
@@ -3708,6 +3748,10 @@ export interface VariableInfo {
|
|
|
3708
3748
|
value?: string | null;
|
|
3709
3749
|
/** Variable type. */
|
|
3710
3750
|
type?: string | null;
|
|
3751
|
+
/** Variable constraints. */
|
|
3752
|
+
constraints?: {
|
|
3753
|
+
[key: string]: string;
|
|
3754
|
+
} | null;
|
|
3711
3755
|
}
|
|
3712
3756
|
/** Variables information. */
|
|
3713
3757
|
export interface VariablesModel {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aurigma/ng-design-atoms-api-client",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.83.1",
|
|
4
4
|
"license": "SEE LICENSE IN License.md",
|
|
5
5
|
"description": "Angular API Client for Design Atoms API service of Customer's Canvas web-to-print system.",
|
|
6
6
|
"author": "Aurigma Inc <info@aurigma.com> (https://customerscanvas.com)",
|