@aurigma/ng-design-atoms-api-client 2.46.1 → 2.48.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 +232 -122
- 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 +102 -3
- package/fesm2015/aurigma-ng-design-atoms-api-client.js +102 -3
- package/fesm2015/aurigma-ng-design-atoms-api-client.js.map +1 -1
- package/lib/design-atoms-api-client.d.ts +58 -9
- package/package.json +1 -1
|
@@ -18,12 +18,12 @@ export declare class ApiClientBase {
|
|
|
18
18
|
}
|
|
19
19
|
export interface IBuildInfoApiClient {
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
21
|
+
* Get assembly build info.
|
|
22
22
|
* @return Success
|
|
23
23
|
*/
|
|
24
24
|
headInfo(): Observable<void>;
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* Get assembly build info.
|
|
27
27
|
* @return Success
|
|
28
28
|
*/
|
|
29
29
|
getInfo(): Observable<BuildInfoModel>;
|
|
@@ -34,13 +34,13 @@ export declare class BuildInfoApiClient extends ApiClientBase implements IBuildI
|
|
|
34
34
|
protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
|
|
35
35
|
constructor(configuration: ApiClientConfiguration, http: HttpClient, baseUrl?: string);
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* Get assembly build info.
|
|
38
38
|
* @return Success
|
|
39
39
|
*/
|
|
40
40
|
headInfo(): Observable<void>;
|
|
41
41
|
protected processHeadInfo(response: HttpResponseBase): Observable<void>;
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
* Get assembly build info.
|
|
44
44
|
* @return Success
|
|
45
45
|
*/
|
|
46
46
|
getInfo(): Observable<BuildInfoModel>;
|
|
@@ -548,6 +548,14 @@ export interface IDesignAtomsServiceApiClient {
|
|
|
548
548
|
* @return Success
|
|
549
549
|
*/
|
|
550
550
|
patchProduct(id: string | null, privateStorage?: boolean | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, patchType?: ProductPatchType | undefined, replaceImageItemFileInfo_itemName?: string | null | undefined, replaceImageItemFileInfo_sourceFile?: FileParameter | null | undefined, replacePlaceholderItemContentInfo_placeholderItemName?: string | null | undefined, replacePlaceholderItemContentInfo_newContentType?: PlaceholderItemContentType | undefined, replacePlaceholderItemContentInfo_sourceFile?: FileParameter | null | undefined): Observable<void>;
|
|
551
|
+
/**
|
|
552
|
+
* Returns design parameters stored in product model.
|
|
553
|
+
* @param id Design identifier.
|
|
554
|
+
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
555
|
+
* @param tenantId (optional) Tenant identifier
|
|
556
|
+
* @return Success
|
|
557
|
+
*/
|
|
558
|
+
getDesignParameters(id: string | null, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<DesignParameters>;
|
|
551
559
|
/**
|
|
552
560
|
* Loads data schema from design file taken from storage
|
|
553
561
|
* @param id Design identifier
|
|
@@ -746,6 +754,15 @@ export declare class DesignAtomsServiceApiClient extends ApiClientBase implement
|
|
|
746
754
|
*/
|
|
747
755
|
patchProduct(id: string | null, privateStorage?: boolean | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, patchType?: ProductPatchType | undefined, replaceImageItemFileInfo_itemName?: string | null | undefined, replaceImageItemFileInfo_sourceFile?: FileParameter | null | undefined, replacePlaceholderItemContentInfo_placeholderItemName?: string | null | undefined, replacePlaceholderItemContentInfo_newContentType?: PlaceholderItemContentType | undefined, replacePlaceholderItemContentInfo_sourceFile?: FileParameter | null | undefined): Observable<void>;
|
|
748
756
|
protected processPatchProduct(response: HttpResponseBase): Observable<void>;
|
|
757
|
+
/**
|
|
758
|
+
* Returns design parameters stored in product model.
|
|
759
|
+
* @param id Design identifier.
|
|
760
|
+
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
761
|
+
* @param tenantId (optional) Tenant identifier
|
|
762
|
+
* @return Success
|
|
763
|
+
*/
|
|
764
|
+
getDesignParameters(id: string | null, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<DesignParameters>;
|
|
765
|
+
protected processGetDesignParameters(response: HttpResponseBase): Observable<DesignParameters>;
|
|
749
766
|
/**
|
|
750
767
|
* Loads data schema from design file taken from storage
|
|
751
768
|
* @param id Design identifier
|
|
@@ -1303,16 +1320,20 @@ export interface ProblemDetails {
|
|
|
1303
1320
|
detail?: string | null;
|
|
1304
1321
|
instance?: string | null;
|
|
1305
1322
|
}
|
|
1306
|
-
/** Information about a service */
|
|
1323
|
+
/** Information about a service. */
|
|
1307
1324
|
export interface BuildInfoModel {
|
|
1308
|
-
/** Version number */
|
|
1325
|
+
/** Version number. */
|
|
1309
1326
|
version?: string | null;
|
|
1310
|
-
/** Build date (UTC) */
|
|
1327
|
+
/** Build date (UTC). */
|
|
1311
1328
|
buildDate?: string | null;
|
|
1312
|
-
/** Build configuration (Debug | Release) */
|
|
1329
|
+
/** Build configuration (Debug | Release). */
|
|
1313
1330
|
configuration?: string | null;
|
|
1314
|
-
/** Service name */
|
|
1331
|
+
/** Service name. */
|
|
1315
1332
|
appName?: string | null;
|
|
1333
|
+
/** Aurigma.DesignAtoms version. */
|
|
1334
|
+
designAtomsVersion?: string | null;
|
|
1335
|
+
/** Aurigma.DesignAtoms.Model version. */
|
|
1336
|
+
designAtomsModelVersion?: string | null;
|
|
1316
1337
|
}
|
|
1317
1338
|
export interface FontsMethodData {
|
|
1318
1339
|
requestedFontsByPsName?: string[] | null;
|
|
@@ -1420,10 +1441,22 @@ export declare enum ImagePreviewFormat {
|
|
|
1420
1441
|
Jpeg = "Jpeg",
|
|
1421
1442
|
Png = "Png"
|
|
1422
1443
|
}
|
|
1444
|
+
/** Image preview fit mode. */
|
|
1445
|
+
export declare enum ImagePreviewFitMode {
|
|
1446
|
+
Fit = "Fit",
|
|
1447
|
+
Shrink = "Shrink",
|
|
1448
|
+
Resize = "Resize",
|
|
1449
|
+
Fill = "Fill"
|
|
1450
|
+
}
|
|
1423
1451
|
export interface ImagePreviewRenderingConfig {
|
|
1452
|
+
/** Image preview width. */
|
|
1424
1453
|
width?: number;
|
|
1454
|
+
/** Image preview height. */
|
|
1425
1455
|
height?: number;
|
|
1456
|
+
/** Image preview file format. */
|
|
1426
1457
|
fileFormat?: ImagePreviewFormat | null;
|
|
1458
|
+
/** Image preview fit mode. */
|
|
1459
|
+
fitMode?: ImagePreviewFitMode | null;
|
|
1427
1460
|
}
|
|
1428
1461
|
export interface RenderImagePreviewModel {
|
|
1429
1462
|
/** External image URL. */
|
|
@@ -1500,6 +1533,22 @@ export declare enum ProductPatchType {
|
|
|
1500
1533
|
export declare enum PlaceholderItemContentType {
|
|
1501
1534
|
Image = "Image"
|
|
1502
1535
|
}
|
|
1536
|
+
/** Measure unit description. */
|
|
1537
|
+
export interface MeasureUnitInfo {
|
|
1538
|
+
/** Measure unit name. */
|
|
1539
|
+
name?: string | null;
|
|
1540
|
+
/** Measure unit short name. */
|
|
1541
|
+
shortName?: string | null;
|
|
1542
|
+
/** Measure unit ratio (to point). */
|
|
1543
|
+
ratio?: number;
|
|
1544
|
+
}
|
|
1545
|
+
/** Specific design parameters stored in product model. */
|
|
1546
|
+
export interface DesignParameters {
|
|
1547
|
+
/** Design measure unit description. */
|
|
1548
|
+
measureUnit?: MeasureUnitInfo | null;
|
|
1549
|
+
/** Version of DesignAtoms library that used to save design file. */
|
|
1550
|
+
designAtomsVersion?: string | null;
|
|
1551
|
+
}
|
|
1503
1552
|
/** Variable information. */
|
|
1504
1553
|
export interface VariableInfo {
|
|
1505
1554
|
/** Variable name. */
|
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.48.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)",
|