@aurigma/ng-design-atoms-api-client 2.21.1 → 2.26.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 +346 -81
- 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/aurigma-ng-design-atoms-api-client.js +1 -1
- package/esm2015/lib/design-atoms-api-client.js +241 -10
- package/esm2015/lib/design-atoms-api.module.js +1 -1
- package/esm2015/public-api.js +1 -1
- package/fesm2015/aurigma-ng-design-atoms-api-client.js +241 -10
- package/fesm2015/aurigma-ng-design-atoms-api-client.js.map +1 -1
- package/lib/design-atoms-api-client.d.ts +97 -15
- package/package.json +1 -1
|
@@ -408,7 +408,7 @@ export interface IDesignAtomsServiceApiClient {
|
|
|
408
408
|
* @param body (optional) Design variable values
|
|
409
409
|
* @return Success
|
|
410
410
|
*/
|
|
411
|
-
setVariables(id: string | null, privateStorage?: boolean | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: VariablesModel | null | undefined): Observable<
|
|
411
|
+
setVariables(id: string | null, privateStorage?: boolean | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: VariablesModel | null | undefined): Observable<void>;
|
|
412
412
|
/**
|
|
413
413
|
* Loads variable data printing information from design file taken from storage
|
|
414
414
|
* @param id Design identifier
|
|
@@ -438,9 +438,9 @@ export interface IDesignAtomsServiceApiClient {
|
|
|
438
438
|
*/
|
|
439
439
|
deleteVdpData(id: string | null, privateStorage?: boolean | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<void>;
|
|
440
440
|
/**
|
|
441
|
-
* Flatten items
|
|
441
|
+
* Flatten items.
|
|
442
442
|
* @param tenantId (optional) Tenant identifier
|
|
443
|
-
* @param body (optional) Items to flatten
|
|
443
|
+
* @param body (optional) Items to flatten.
|
|
444
444
|
* @return Success
|
|
445
445
|
*/
|
|
446
446
|
flattenItems(tenantId?: number | undefined, body?: any[] | null | undefined): Observable<any>;
|
|
@@ -455,11 +455,37 @@ export interface IDesignAtomsServiceApiClient {
|
|
|
455
455
|
* @return Success
|
|
456
456
|
*/
|
|
457
457
|
createItem(itemType?: ItemType | null | undefined, tenantId?: number | undefined, sourceType?: ItemSourceType | null | undefined, sourceId?: string | null | undefined, sourceOwnerId?: string | null | undefined, sourceFile?: FileParameter | null | undefined): Observable<any>;
|
|
458
|
+
/**
|
|
459
|
+
* Creates a private design from a public design.
|
|
460
|
+
* @param designId (optional) Public design ID.
|
|
461
|
+
* @param privateDesignId (optional) Private design ID.
|
|
462
|
+
* @param privateStorageOwner (optional) Private storage owner ID.
|
|
463
|
+
* @param tenantId (optional) Tenant identifier
|
|
464
|
+
* @return Success
|
|
465
|
+
*/
|
|
466
|
+
createPrivateDesignFromDesign(designId?: string | null | undefined, privateDesignId?: string | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<void>;
|
|
467
|
+
/**
|
|
468
|
+
* Creates a private design from a public resource.
|
|
469
|
+
* @param resourceId (optional) Resource ID.
|
|
470
|
+
* @param privateDesignId (optional) Private design ID.
|
|
471
|
+
* @param privateStorageOwner (optional) Private storage owner ID.
|
|
472
|
+
* @param tenantId (optional) Tenant identifier
|
|
473
|
+
* @return Success
|
|
474
|
+
*/
|
|
475
|
+
createPrivateDesignFromResource(resourceId?: string | null | undefined, privateDesignId?: string | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<void>;
|
|
476
|
+
/**
|
|
477
|
+
* Renders a design with the specified parameters.
|
|
478
|
+
* @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied (default value is 'false').
|
|
479
|
+
* @param tenantId (optional) Tenant identifier
|
|
480
|
+
* @param body (optional) Render model with preview parameters.
|
|
481
|
+
* @return Success
|
|
482
|
+
*/
|
|
483
|
+
renderDesign(attachment?: boolean | null | undefined, tenantId?: number | undefined, body?: RenderDesignModel | null | undefined): Observable<FileResponse>;
|
|
458
484
|
/**
|
|
459
485
|
* Render product proof image with specified parameters.
|
|
460
|
-
* @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied (default value is 'false')
|
|
486
|
+
* @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied (default value is 'false').
|
|
461
487
|
* @param tenantId (optional) Tenant identifier
|
|
462
|
-
* @param body (optional) Preview parameters
|
|
488
|
+
* @param body (optional) Preview parameters.
|
|
463
489
|
* @return Success
|
|
464
490
|
*/
|
|
465
491
|
renderProduct(attachment?: boolean | null | undefined, tenantId?: number | undefined, body?: RenderProductModel | null | undefined): Observable<FileResponse>;
|
|
@@ -550,8 +576,8 @@ export declare class DesignAtomsServiceApiClient extends ApiClientBase implement
|
|
|
550
576
|
* @param body (optional) Design variable values
|
|
551
577
|
* @return Success
|
|
552
578
|
*/
|
|
553
|
-
setVariables(id: string | null, privateStorage?: boolean | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: VariablesModel | null | undefined): Observable<
|
|
554
|
-
protected processSetVariables(response: HttpResponseBase): Observable<
|
|
579
|
+
setVariables(id: string | null, privateStorage?: boolean | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: VariablesModel | null | undefined): Observable<void>;
|
|
580
|
+
protected processSetVariables(response: HttpResponseBase): Observable<void>;
|
|
555
581
|
/**
|
|
556
582
|
* Loads variable data printing information from design file taken from storage
|
|
557
583
|
* @param id Design identifier
|
|
@@ -584,9 +610,9 @@ export declare class DesignAtomsServiceApiClient extends ApiClientBase implement
|
|
|
584
610
|
deleteVdpData(id: string | null, privateStorage?: boolean | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<void>;
|
|
585
611
|
protected processDeleteVdpData(response: HttpResponseBase): Observable<void>;
|
|
586
612
|
/**
|
|
587
|
-
* Flatten items
|
|
613
|
+
* Flatten items.
|
|
588
614
|
* @param tenantId (optional) Tenant identifier
|
|
589
|
-
* @param body (optional) Items to flatten
|
|
615
|
+
* @param body (optional) Items to flatten.
|
|
590
616
|
* @return Success
|
|
591
617
|
*/
|
|
592
618
|
flattenItems(tenantId?: number | undefined, body?: any[] | null | undefined): Observable<any>;
|
|
@@ -603,11 +629,40 @@ export declare class DesignAtomsServiceApiClient extends ApiClientBase implement
|
|
|
603
629
|
*/
|
|
604
630
|
createItem(itemType?: ItemType | null | undefined, tenantId?: number | undefined, sourceType?: ItemSourceType | null | undefined, sourceId?: string | null | undefined, sourceOwnerId?: string | null | undefined, sourceFile?: FileParameter | null | undefined): Observable<any>;
|
|
605
631
|
protected processCreateItem(response: HttpResponseBase): Observable<any>;
|
|
632
|
+
/**
|
|
633
|
+
* Creates a private design from a public design.
|
|
634
|
+
* @param designId (optional) Public design ID.
|
|
635
|
+
* @param privateDesignId (optional) Private design ID.
|
|
636
|
+
* @param privateStorageOwner (optional) Private storage owner ID.
|
|
637
|
+
* @param tenantId (optional) Tenant identifier
|
|
638
|
+
* @return Success
|
|
639
|
+
*/
|
|
640
|
+
createPrivateDesignFromDesign(designId?: string | null | undefined, privateDesignId?: string | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<void>;
|
|
641
|
+
protected processCreatePrivateDesignFromDesign(response: HttpResponseBase): Observable<void>;
|
|
642
|
+
/**
|
|
643
|
+
* Creates a private design from a public resource.
|
|
644
|
+
* @param resourceId (optional) Resource ID.
|
|
645
|
+
* @param privateDesignId (optional) Private design ID.
|
|
646
|
+
* @param privateStorageOwner (optional) Private storage owner ID.
|
|
647
|
+
* @param tenantId (optional) Tenant identifier
|
|
648
|
+
* @return Success
|
|
649
|
+
*/
|
|
650
|
+
createPrivateDesignFromResource(resourceId?: string | null | undefined, privateDesignId?: string | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<void>;
|
|
651
|
+
protected processCreatePrivateDesignFromResource(response: HttpResponseBase): Observable<void>;
|
|
652
|
+
/**
|
|
653
|
+
* Renders a design with the specified parameters.
|
|
654
|
+
* @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied (default value is 'false').
|
|
655
|
+
* @param tenantId (optional) Tenant identifier
|
|
656
|
+
* @param body (optional) Render model with preview parameters.
|
|
657
|
+
* @return Success
|
|
658
|
+
*/
|
|
659
|
+
renderDesign(attachment?: boolean | null | undefined, tenantId?: number | undefined, body?: RenderDesignModel | null | undefined): Observable<FileResponse>;
|
|
660
|
+
protected processRenderDesign(response: HttpResponseBase): Observable<FileResponse>;
|
|
606
661
|
/**
|
|
607
662
|
* Render product proof image with specified parameters.
|
|
608
|
-
* @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied (default value is 'false')
|
|
663
|
+
* @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied (default value is 'false').
|
|
609
664
|
* @param tenantId (optional) Tenant identifier
|
|
610
|
-
* @param body (optional) Preview parameters
|
|
665
|
+
* @param body (optional) Preview parameters.
|
|
611
666
|
* @return Success
|
|
612
667
|
*/
|
|
613
668
|
renderProduct(attachment?: boolean | null | undefined, tenantId?: number | undefined, body?: RenderProductModel | null | undefined): Observable<FileResponse>;
|
|
@@ -1063,13 +1118,13 @@ export declare enum ProductPatchType {
|
|
|
1063
1118
|
Undefined = "Undefined",
|
|
1064
1119
|
ReplaceImageItemFile = "ReplaceImageItemFile"
|
|
1065
1120
|
}
|
|
1066
|
-
/** Variable information */
|
|
1121
|
+
/** Variable information. */
|
|
1067
1122
|
export interface VariableInfo {
|
|
1068
|
-
/** Variable name */
|
|
1123
|
+
/** Variable name. */
|
|
1069
1124
|
name?: string | null;
|
|
1070
|
-
/** Variable value */
|
|
1125
|
+
/** Variable value. */
|
|
1071
1126
|
value?: string | null;
|
|
1072
|
-
/** Variable type */
|
|
1127
|
+
/** Variable type. */
|
|
1073
1128
|
type?: string | null;
|
|
1074
1129
|
}
|
|
1075
1130
|
/** Variables information */
|
|
@@ -1096,6 +1151,33 @@ export declare enum ItemSourceType {
|
|
|
1096
1151
|
ImageStorage = "ImageStorage",
|
|
1097
1152
|
PrivateImageStorage = "PrivateImageStorage"
|
|
1098
1153
|
}
|
|
1154
|
+
/** Product preview file format. */
|
|
1155
|
+
export declare enum ProductPreviewFormat {
|
|
1156
|
+
Jpeg = "Jpeg",
|
|
1157
|
+
Png = "Png",
|
|
1158
|
+
Tiff = "Tiff",
|
|
1159
|
+
Pdf = "Pdf"
|
|
1160
|
+
}
|
|
1161
|
+
export interface ProductPreviewRenderingConfig {
|
|
1162
|
+
surfaceIndex?: number | null;
|
|
1163
|
+
width?: number;
|
|
1164
|
+
height?: number;
|
|
1165
|
+
fileFormat?: ProductPreviewFormat | null;
|
|
1166
|
+
}
|
|
1167
|
+
export interface RenderDesignModel {
|
|
1168
|
+
/** Design ID.
|
|
1169
|
+
Used to get design file from public or private storage. */
|
|
1170
|
+
designId?: string | null;
|
|
1171
|
+
/** Mockup ID.
|
|
1172
|
+
Used to get mockup file from public storage. */
|
|
1173
|
+
mockupId?: string | null;
|
|
1174
|
+
/** ID of the design owner. */
|
|
1175
|
+
ownerId?: string | null;
|
|
1176
|
+
/** Rendering configuration for getting a preview of design. */
|
|
1177
|
+
renderingConfig?: ProductPreviewRenderingConfig | null;
|
|
1178
|
+
/** Variable (user) data of design. */
|
|
1179
|
+
variableData?: VariableInfo[] | null;
|
|
1180
|
+
}
|
|
1099
1181
|
export declare enum ProductProofFormat {
|
|
1100
1182
|
Jpeg = "Jpeg",
|
|
1101
1183
|
Png = "Png",
|
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.26.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)",
|