@aurigma/ng-design-atoms-api-client 2.33.1 → 2.34.4
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 +469 -195
- 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 +246 -9
- 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 +246 -9
- package/fesm2015/aurigma-ng-design-atoms-api-client.js.map +1 -1
- package/lib/design-atoms-api-client.d.ts +49 -3
- package/package.json +1 -1
|
@@ -61,6 +61,10 @@ export interface IDesignAtomsCompatibilityApiClient {
|
|
|
61
61
|
* @return Success
|
|
62
62
|
*/
|
|
63
63
|
getCssFont(tenantId: number, fontKey?: string | null | undefined): Observable<FileResponse>;
|
|
64
|
+
/**
|
|
65
|
+
* @return Success
|
|
66
|
+
*/
|
|
67
|
+
getFallbackFonts(tenantId: number): Observable<FileResponse>;
|
|
64
68
|
/**
|
|
65
69
|
* @param body (optional)
|
|
66
70
|
* @return Success
|
|
@@ -198,6 +202,11 @@ export declare class DesignAtomsCompatibilityApiClient extends ApiClientBase imp
|
|
|
198
202
|
*/
|
|
199
203
|
getCssFont(tenantId: number, fontKey?: string | null | undefined): Observable<FileResponse>;
|
|
200
204
|
protected processGetCssFont(response: HttpResponseBase): Observable<FileResponse>;
|
|
205
|
+
/**
|
|
206
|
+
* @return Success
|
|
207
|
+
*/
|
|
208
|
+
getFallbackFonts(tenantId: number): Observable<FileResponse>;
|
|
209
|
+
protected processGetFallbackFonts(response: HttpResponseBase): Observable<FileResponse>;
|
|
201
210
|
/**
|
|
202
211
|
* @param body (optional)
|
|
203
212
|
* @return Success
|
|
@@ -538,6 +547,15 @@ export interface IDesignAtomsServiceApiClient {
|
|
|
538
547
|
* @return Success
|
|
539
548
|
*/
|
|
540
549
|
renderProduct(attachment?: boolean | null | undefined, tenantId?: number | undefined, body?: RenderProductModel | null | undefined): Observable<FileResponse>;
|
|
550
|
+
/**
|
|
551
|
+
* Loads product (design model) from resource file taken from storage
|
|
552
|
+
* @param id Resource identifier
|
|
553
|
+
* @param privateStorage (optional) If set to 'true' resource will be taken from private storage
|
|
554
|
+
* @param privateStorageOwner (optional) Private storage owner identifier
|
|
555
|
+
* @param tenantId (optional) Tenant identifier
|
|
556
|
+
* @return Success
|
|
557
|
+
*/
|
|
558
|
+
loadProductFromResource(id: string | null, privateStorage?: boolean | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<any>;
|
|
541
559
|
}
|
|
542
560
|
export declare class DesignAtomsServiceApiClient extends ApiClientBase implements IDesignAtomsServiceApiClient {
|
|
543
561
|
private http;
|
|
@@ -740,6 +758,16 @@ export declare class DesignAtomsServiceApiClient extends ApiClientBase implement
|
|
|
740
758
|
*/
|
|
741
759
|
renderProduct(attachment?: boolean | null | undefined, tenantId?: number | undefined, body?: RenderProductModel | null | undefined): Observable<FileResponse>;
|
|
742
760
|
protected processRenderProduct(response: HttpResponseBase): Observable<FileResponse>;
|
|
761
|
+
/**
|
|
762
|
+
* Loads product (design model) from resource file taken from storage
|
|
763
|
+
* @param id Resource identifier
|
|
764
|
+
* @param privateStorage (optional) If set to 'true' resource will be taken from private storage
|
|
765
|
+
* @param privateStorageOwner (optional) Private storage owner identifier
|
|
766
|
+
* @param tenantId (optional) Tenant identifier
|
|
767
|
+
* @return Success
|
|
768
|
+
*/
|
|
769
|
+
loadProductFromResource(id: string | null, privateStorage?: boolean | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<any>;
|
|
770
|
+
protected processLoadProductFromResource(response: HttpResponseBase): Observable<any>;
|
|
743
771
|
}
|
|
744
772
|
export interface IDesignAtomsViewerApiClient {
|
|
745
773
|
/**
|
|
@@ -759,6 +787,11 @@ export interface IDesignAtomsViewerApiClient {
|
|
|
759
787
|
* @return Success
|
|
760
788
|
*/
|
|
761
789
|
getCssFont(fontKey?: string | null | undefined, tenantId?: number | undefined): Observable<FileResponse>;
|
|
790
|
+
/**
|
|
791
|
+
* @param tenantId (optional) Tenant identifier
|
|
792
|
+
* @return Success
|
|
793
|
+
*/
|
|
794
|
+
getFallbackFonts(tenantId?: number | undefined): Observable<FileResponse>;
|
|
762
795
|
/**
|
|
763
796
|
* @param tenantId (optional) Tenant identifier
|
|
764
797
|
* @param body (optional)
|
|
@@ -919,6 +952,12 @@ export declare class DesignAtomsViewerApiClient extends ApiClientBase implements
|
|
|
919
952
|
*/
|
|
920
953
|
getCssFont(fontKey?: string | null | undefined, tenantId?: number | undefined): Observable<FileResponse>;
|
|
921
954
|
protected processGetCssFont(response: HttpResponseBase): Observable<FileResponse>;
|
|
955
|
+
/**
|
|
956
|
+
* @param tenantId (optional) Tenant identifier
|
|
957
|
+
* @return Success
|
|
958
|
+
*/
|
|
959
|
+
getFallbackFonts(tenantId?: number | undefined): Observable<FileResponse>;
|
|
960
|
+
protected processGetFallbackFonts(response: HttpResponseBase): Observable<FileResponse>;
|
|
922
961
|
/**
|
|
923
962
|
* @param tenantId (optional) Tenant identifier
|
|
924
963
|
* @param body (optional)
|
|
@@ -1158,8 +1197,8 @@ export interface UpdateImageHandlerRequest {
|
|
|
1158
1197
|
itemHandlerData?: string | null;
|
|
1159
1198
|
itemData?: any | null;
|
|
1160
1199
|
}
|
|
1161
|
-
/**
|
|
1162
|
-
export declare enum
|
|
1200
|
+
/** Image preview file format. */
|
|
1201
|
+
export declare enum ImagePreviewFormat {
|
|
1163
1202
|
Jpeg = "Jpeg",
|
|
1164
1203
|
Png = "Png",
|
|
1165
1204
|
Tiff = "Tiff",
|
|
@@ -1173,7 +1212,7 @@ export interface RenderImagePreviewModel {
|
|
|
1173
1212
|
/** Width of preview image. */
|
|
1174
1213
|
width?: number;
|
|
1175
1214
|
/** Output image format. PNG by default. */
|
|
1176
|
-
fileFormat?:
|
|
1215
|
+
fileFormat?: ImagePreviewFormat | null;
|
|
1177
1216
|
}
|
|
1178
1217
|
/** Convert colors operation parameters */
|
|
1179
1218
|
export interface ConvertColorsModel {
|
|
@@ -1266,6 +1305,13 @@ export declare enum ItemSourceType {
|
|
|
1266
1305
|
ImageStorage = "ImageStorage",
|
|
1267
1306
|
PrivateImageStorage = "PrivateImageStorage"
|
|
1268
1307
|
}
|
|
1308
|
+
/** Product preview file format. */
|
|
1309
|
+
export declare enum ProductPreviewFormat {
|
|
1310
|
+
Jpeg = "Jpeg",
|
|
1311
|
+
Png = "Png",
|
|
1312
|
+
Tiff = "Tiff",
|
|
1313
|
+
Pdf = "Pdf"
|
|
1314
|
+
}
|
|
1269
1315
|
export interface ProductPreviewRenderingConfig {
|
|
1270
1316
|
surfaceIndex?: number | null;
|
|
1271
1317
|
width?: number;
|
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.34.4",
|
|
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)",
|