@aurigma/axios-design-atoms-api-client 2.29.1 → 2.31.5
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/dist/cjs/design-atoms-api-client.d.ts +70 -22
- package/dist/cjs/design-atoms-api-client.js +122 -15
- package/dist/cjs/design-atoms-api-client.js.map +1 -1
- package/dist/esm/design-atoms-api-client.d.ts +70 -22
- package/dist/esm/design-atoms-api-client.js +120 -14
- package/dist/esm/design-atoms-api-client.js.map +1 -1
- package/package.json +1 -1
|
@@ -330,6 +330,33 @@ export declare class DesignAtomsCompatibilityApiClient extends ApiClientBase imp
|
|
|
330
330
|
updateShapeItemHandler(tenantId: number, body?: UpdateHandlerRequest | null | undefined, cancelToken?: CancelToken | undefined): Promise<any>;
|
|
331
331
|
protected processUpdateShapeItemHandler(response: AxiosResponse): Promise<any>;
|
|
332
332
|
}
|
|
333
|
+
export interface IDesignAtomsImagesApiClient {
|
|
334
|
+
/**
|
|
335
|
+
* Renders a web image preview with the specified parameters.
|
|
336
|
+
* @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
|
|
337
|
+
(default value is 'false').
|
|
338
|
+
* @param tenantId (optional) Tenant identifier
|
|
339
|
+
* @param body (optional) Render model with preview parameters.
|
|
340
|
+
* @return Success
|
|
341
|
+
*/
|
|
342
|
+
renderImagePreview(attachment?: boolean | null | undefined, tenantId?: number | undefined, body?: RenderImagePreviewModel | null | undefined): Promise<FileResponse>;
|
|
343
|
+
}
|
|
344
|
+
export declare class DesignAtomsImagesApiClient extends ApiClientBase implements IDesignAtomsImagesApiClient {
|
|
345
|
+
private instance;
|
|
346
|
+
private baseUrl;
|
|
347
|
+
protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
|
|
348
|
+
constructor(configuration: ApiClientConfiguration, baseUrl?: string, instance?: AxiosInstance);
|
|
349
|
+
/**
|
|
350
|
+
* Renders a web image preview with the specified parameters.
|
|
351
|
+
* @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
|
|
352
|
+
(default value is 'false').
|
|
353
|
+
* @param tenantId (optional) Tenant identifier
|
|
354
|
+
* @param body (optional) Render model with preview parameters.
|
|
355
|
+
* @return Success
|
|
356
|
+
*/
|
|
357
|
+
renderImagePreview(attachment?: boolean | null | undefined, tenantId?: number | undefined, body?: RenderImagePreviewModel | null | undefined, cancelToken?: CancelToken | undefined): Promise<FileResponse>;
|
|
358
|
+
protected processRenderImagePreview(response: AxiosResponse): Promise<FileResponse>;
|
|
359
|
+
}
|
|
333
360
|
export interface IDesignAtomsServiceApiClient {
|
|
334
361
|
/**
|
|
335
362
|
* Converts colors
|
|
@@ -376,17 +403,20 @@ export interface IDesignAtomsServiceApiClient {
|
|
|
376
403
|
*/
|
|
377
404
|
saveProduct(id: string | null, privateStorage?: boolean | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | null | undefined): Promise<void>;
|
|
378
405
|
/**
|
|
379
|
-
* Patches product (design model) in design file
|
|
380
|
-
* @param id Design identifier
|
|
381
|
-
* @param privateStorage (optional) If set to 'true' design will be taken from private storage
|
|
382
|
-
* @param privateStorageOwner (optional) Private storage owner identifier
|
|
406
|
+
* Patches product (design model) in design file.
|
|
407
|
+
* @param id Design identifier.
|
|
408
|
+
* @param privateStorage (optional) If set to 'true' design will be taken from private storage.
|
|
409
|
+
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
383
410
|
* @param tenantId (optional) Tenant identifier
|
|
384
411
|
* @param patchType (optional)
|
|
385
412
|
* @param replaceImageItemFileInfo_itemName (optional)
|
|
386
413
|
* @param replaceImageItemFileInfo_sourceFile (optional)
|
|
414
|
+
* @param replacePlaceholderItemContentInfo_placeholderItemName (optional)
|
|
415
|
+
* @param replacePlaceholderItemContentInfo_newContentType (optional)
|
|
416
|
+
* @param replacePlaceholderItemContentInfo_sourceFile (optional)
|
|
387
417
|
* @return Success
|
|
388
418
|
*/
|
|
389
|
-
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): Promise<void>;
|
|
419
|
+
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): Promise<void>;
|
|
390
420
|
/**
|
|
391
421
|
* Loads data schema from design file taken from storage
|
|
392
422
|
* @param id Design identifier
|
|
@@ -561,17 +591,20 @@ export declare class DesignAtomsServiceApiClient extends ApiClientBase implement
|
|
|
561
591
|
saveProduct(id: string | null, privateStorage?: boolean | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | null | undefined, cancelToken?: CancelToken | undefined): Promise<void>;
|
|
562
592
|
protected processSaveProduct(response: AxiosResponse): Promise<void>;
|
|
563
593
|
/**
|
|
564
|
-
* Patches product (design model) in design file
|
|
565
|
-
* @param id Design identifier
|
|
566
|
-
* @param privateStorage (optional) If set to 'true' design will be taken from private storage
|
|
567
|
-
* @param privateStorageOwner (optional) Private storage owner identifier
|
|
594
|
+
* Patches product (design model) in design file.
|
|
595
|
+
* @param id Design identifier.
|
|
596
|
+
* @param privateStorage (optional) If set to 'true' design will be taken from private storage.
|
|
597
|
+
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
568
598
|
* @param tenantId (optional) Tenant identifier
|
|
569
599
|
* @param patchType (optional)
|
|
570
600
|
* @param replaceImageItemFileInfo_itemName (optional)
|
|
571
601
|
* @param replaceImageItemFileInfo_sourceFile (optional)
|
|
602
|
+
* @param replacePlaceholderItemContentInfo_placeholderItemName (optional)
|
|
603
|
+
* @param replacePlaceholderItemContentInfo_newContentType (optional)
|
|
604
|
+
* @param replacePlaceholderItemContentInfo_sourceFile (optional)
|
|
572
605
|
* @return Success
|
|
573
606
|
*/
|
|
574
|
-
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, cancelToken?: CancelToken | undefined): Promise<void>;
|
|
607
|
+
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, cancelToken?: CancelToken | undefined): Promise<void>;
|
|
575
608
|
protected processPatchProduct(response: AxiosResponse): Promise<void>;
|
|
576
609
|
/**
|
|
577
610
|
* Loads data schema from design file taken from storage
|
|
@@ -1122,6 +1155,23 @@ export interface UpdateImageHandlerRequest {
|
|
|
1122
1155
|
itemHandlerData?: string | null;
|
|
1123
1156
|
itemData?: any | null;
|
|
1124
1157
|
}
|
|
1158
|
+
/** Product preview file format. */
|
|
1159
|
+
export declare enum ProductPreviewFormat {
|
|
1160
|
+
Jpeg = "Jpeg",
|
|
1161
|
+
Png = "Png",
|
|
1162
|
+
Tiff = "Tiff",
|
|
1163
|
+
Pdf = "Pdf"
|
|
1164
|
+
}
|
|
1165
|
+
export interface RenderImagePreviewModel {
|
|
1166
|
+
/** External image URL. */
|
|
1167
|
+
imageUrl?: string | null;
|
|
1168
|
+
/** Height of preview image. */
|
|
1169
|
+
height?: number;
|
|
1170
|
+
/** Width of preview image. */
|
|
1171
|
+
width?: number;
|
|
1172
|
+
/** Output image format. PNG by default. */
|
|
1173
|
+
fileFormat?: ProductPreviewFormat | null;
|
|
1174
|
+
}
|
|
1125
1175
|
/** Convert colors operation parameters */
|
|
1126
1176
|
export interface ConvertColorsModel {
|
|
1127
1177
|
/** Serialized color description */
|
|
@@ -1170,10 +1220,15 @@ export interface UnprocessableDesignElementDto {
|
|
|
1170
1220
|
/** Missing element type. */
|
|
1171
1221
|
readonly missingElementType?: DesignElementType;
|
|
1172
1222
|
}
|
|
1173
|
-
/** Available patch type */
|
|
1223
|
+
/** Available patch type. */
|
|
1174
1224
|
export declare enum ProductPatchType {
|
|
1175
1225
|
Undefined = "Undefined",
|
|
1176
|
-
ReplaceImageItemFile = "ReplaceImageItemFile"
|
|
1226
|
+
ReplaceImageItemFile = "ReplaceImageItemFile",
|
|
1227
|
+
ReplacePlaceholderItemContent = "ReplacePlaceholderItemContent"
|
|
1228
|
+
}
|
|
1229
|
+
/** Placeholder item content type. */
|
|
1230
|
+
export declare enum PlaceholderItemContentType {
|
|
1231
|
+
Image = "Image"
|
|
1177
1232
|
}
|
|
1178
1233
|
/** Variable information. */
|
|
1179
1234
|
export interface VariableInfo {
|
|
@@ -1208,13 +1263,6 @@ export declare enum ItemSourceType {
|
|
|
1208
1263
|
ImageStorage = "ImageStorage",
|
|
1209
1264
|
PrivateImageStorage = "PrivateImageStorage"
|
|
1210
1265
|
}
|
|
1211
|
-
/** Product preview file format. */
|
|
1212
|
-
export declare enum ProductPreviewFormat {
|
|
1213
|
-
Jpeg = "Jpeg",
|
|
1214
|
-
Png = "Png",
|
|
1215
|
-
Tiff = "Tiff",
|
|
1216
|
-
Pdf = "Pdf"
|
|
1217
|
-
}
|
|
1218
1266
|
export interface ProductPreviewRenderingConfig {
|
|
1219
1267
|
surfaceIndex?: number | null;
|
|
1220
1268
|
width?: number;
|
|
@@ -1232,7 +1280,7 @@ Used to get mockup file from public storage. */
|
|
|
1232
1280
|
ownerId?: string | null;
|
|
1233
1281
|
/** Rendering configuration for getting a preview of design. */
|
|
1234
1282
|
renderingConfig?: ProductPreviewRenderingConfig | null;
|
|
1235
|
-
/** Variable (user) data
|
|
1283
|
+
/** Variable (user) data for design variable fields in the preview image. */
|
|
1236
1284
|
variableData?: VariableInfo[] | null;
|
|
1237
1285
|
}
|
|
1238
1286
|
export declare enum ProductProofFormat {
|
|
@@ -1280,9 +1328,9 @@ Used to get design file from public or private storage. */
|
|
|
1280
1328
|
designId?: string | null;
|
|
1281
1329
|
/** ID of the design owner. */
|
|
1282
1330
|
ownerId?: string | null;
|
|
1283
|
-
/** Rendering configuration for getting a
|
|
1331
|
+
/** Rendering configuration for getting a proof image of design. */
|
|
1284
1332
|
renderingConfig?: ProductProofRenderingConfig | null;
|
|
1285
|
-
/** Variable (user) data
|
|
1333
|
+
/** Variable (user) data for design variable fields in the proof image. */
|
|
1286
1334
|
variableData?: VariableInfo[] | null;
|
|
1287
1335
|
}
|
|
1288
1336
|
/** Render product parameters */
|
|
@@ -1741,6 +1741,95 @@ export class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
1741
1741
|
return Promise.resolve(null);
|
|
1742
1742
|
}
|
|
1743
1743
|
}
|
|
1744
|
+
export class DesignAtomsImagesApiClient extends ApiClientBase {
|
|
1745
|
+
instance;
|
|
1746
|
+
baseUrl;
|
|
1747
|
+
jsonParseReviver = undefined;
|
|
1748
|
+
constructor(configuration, baseUrl, instance) {
|
|
1749
|
+
super(configuration);
|
|
1750
|
+
this.instance = instance ? instance : axios.create();
|
|
1751
|
+
this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : this.getBaseUrl("");
|
|
1752
|
+
}
|
|
1753
|
+
/**
|
|
1754
|
+
* Renders a web image preview with the specified parameters.
|
|
1755
|
+
* @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
|
|
1756
|
+
(default value is 'false').
|
|
1757
|
+
* @param tenantId (optional) Tenant identifier
|
|
1758
|
+
* @param body (optional) Render model with preview parameters.
|
|
1759
|
+
* @return Success
|
|
1760
|
+
*/
|
|
1761
|
+
renderImagePreview(attachment, tenantId, body, cancelToken) {
|
|
1762
|
+
let url_ = this.baseUrl + "/api/atoms/v1/images/render-image-preview?";
|
|
1763
|
+
if (attachment !== undefined && attachment !== null)
|
|
1764
|
+
url_ += "attachment=" + encodeURIComponent("" + attachment) + "&";
|
|
1765
|
+
if (tenantId === null)
|
|
1766
|
+
throw new Error("The parameter 'tenantId' cannot be null.");
|
|
1767
|
+
else if (tenantId !== undefined)
|
|
1768
|
+
url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
|
|
1769
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
1770
|
+
const content_ = JSON.stringify(body);
|
|
1771
|
+
let options_ = {
|
|
1772
|
+
data: content_,
|
|
1773
|
+
responseType: "blob",
|
|
1774
|
+
method: "POST",
|
|
1775
|
+
url: url_,
|
|
1776
|
+
headers: {
|
|
1777
|
+
"Content-Type": "application/json",
|
|
1778
|
+
"Accept": "application/octet-stream"
|
|
1779
|
+
},
|
|
1780
|
+
cancelToken
|
|
1781
|
+
};
|
|
1782
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
1783
|
+
return this.instance.request(transformedOptions_);
|
|
1784
|
+
}).catch((_error) => {
|
|
1785
|
+
if (isAxiosError(_error) && _error.response) {
|
|
1786
|
+
return _error.response;
|
|
1787
|
+
}
|
|
1788
|
+
else {
|
|
1789
|
+
throw _error;
|
|
1790
|
+
}
|
|
1791
|
+
}).then((_response) => {
|
|
1792
|
+
return this.transformResult(url_, _response, (_response) => this.processRenderImagePreview(_response));
|
|
1793
|
+
});
|
|
1794
|
+
}
|
|
1795
|
+
processRenderImagePreview(response) {
|
|
1796
|
+
const status = response.status;
|
|
1797
|
+
let _headers = {};
|
|
1798
|
+
if (response.headers && typeof response.headers === "object") {
|
|
1799
|
+
for (let k in response.headers) {
|
|
1800
|
+
if (response.headers.hasOwnProperty(k)) {
|
|
1801
|
+
_headers[k] = response.headers[k];
|
|
1802
|
+
}
|
|
1803
|
+
}
|
|
1804
|
+
}
|
|
1805
|
+
if (status === 200 || status === 206) {
|
|
1806
|
+
const contentDisposition = response.headers ? response.headers["content-disposition"] : undefined;
|
|
1807
|
+
const fileNameMatch = contentDisposition ? /filename="?([^"]*?)"?(;|$)/g.exec(contentDisposition) : undefined;
|
|
1808
|
+
const fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[1] : undefined;
|
|
1809
|
+
return Promise.resolve({ fileName: fileName, status: status, data: new Blob([response.data]), headers: _headers });
|
|
1810
|
+
}
|
|
1811
|
+
else if (status === 401) {
|
|
1812
|
+
const _responseText = response.data;
|
|
1813
|
+
return throwException("Unauthorized", status, _responseText, _headers);
|
|
1814
|
+
}
|
|
1815
|
+
else if (status === 403) {
|
|
1816
|
+
const _responseText = response.data;
|
|
1817
|
+
return throwException("Forbidden", status, _responseText, _headers);
|
|
1818
|
+
}
|
|
1819
|
+
else if (status === 500) {
|
|
1820
|
+
const _responseText = response.data;
|
|
1821
|
+
let result500 = null;
|
|
1822
|
+
let resultData500 = _responseText;
|
|
1823
|
+
result500 = JSON.parse(resultData500);
|
|
1824
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
1825
|
+
}
|
|
1826
|
+
else if (status !== 200 && status !== 204) {
|
|
1827
|
+
const _responseText = response.data;
|
|
1828
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
1829
|
+
}
|
|
1830
|
+
return Promise.resolve(null);
|
|
1831
|
+
}
|
|
1832
|
+
}
|
|
1744
1833
|
export class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
1745
1834
|
instance;
|
|
1746
1835
|
baseUrl;
|
|
@@ -2185,17 +2274,20 @@ export class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
2185
2274
|
return Promise.resolve(null);
|
|
2186
2275
|
}
|
|
2187
2276
|
/**
|
|
2188
|
-
* Patches product (design model) in design file
|
|
2189
|
-
* @param id Design identifier
|
|
2190
|
-
* @param privateStorage (optional) If set to 'true' design will be taken from private storage
|
|
2191
|
-
* @param privateStorageOwner (optional) Private storage owner identifier
|
|
2277
|
+
* Patches product (design model) in design file.
|
|
2278
|
+
* @param id Design identifier.
|
|
2279
|
+
* @param privateStorage (optional) If set to 'true' design will be taken from private storage.
|
|
2280
|
+
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
2192
2281
|
* @param tenantId (optional) Tenant identifier
|
|
2193
2282
|
* @param patchType (optional)
|
|
2194
2283
|
* @param replaceImageItemFileInfo_itemName (optional)
|
|
2195
2284
|
* @param replaceImageItemFileInfo_sourceFile (optional)
|
|
2285
|
+
* @param replacePlaceholderItemContentInfo_placeholderItemName (optional)
|
|
2286
|
+
* @param replacePlaceholderItemContentInfo_newContentType (optional)
|
|
2287
|
+
* @param replacePlaceholderItemContentInfo_sourceFile (optional)
|
|
2196
2288
|
* @return Success
|
|
2197
2289
|
*/
|
|
2198
|
-
patchProduct(id, privateStorage, privateStorageOwner, tenantId, patchType, replaceImageItemFileInfo_itemName, replaceImageItemFileInfo_sourceFile, cancelToken) {
|
|
2290
|
+
patchProduct(id, privateStorage, privateStorageOwner, tenantId, patchType, replaceImageItemFileInfo_itemName, replaceImageItemFileInfo_sourceFile, replacePlaceholderItemContentInfo_placeholderItemName, replacePlaceholderItemContentInfo_newContentType, replacePlaceholderItemContentInfo_sourceFile, cancelToken) {
|
|
2199
2291
|
let url_ = this.baseUrl + "/api/atoms/v1/designs/{id}/model?";
|
|
2200
2292
|
if (id === undefined || id === null)
|
|
2201
2293
|
throw new Error("The parameter 'id' must be defined.");
|
|
@@ -2218,6 +2310,14 @@ export class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
2218
2310
|
content_.append("replaceImageItemFileInfo.itemName", replaceImageItemFileInfo_itemName.toString());
|
|
2219
2311
|
if (replaceImageItemFileInfo_sourceFile !== null && replaceImageItemFileInfo_sourceFile !== undefined)
|
|
2220
2312
|
content_.append("replaceImageItemFileInfo.sourceFile", replaceImageItemFileInfo_sourceFile.data, replaceImageItemFileInfo_sourceFile.fileName ? replaceImageItemFileInfo_sourceFile.fileName : "replaceImageItemFileInfo.sourceFile");
|
|
2313
|
+
if (replacePlaceholderItemContentInfo_placeholderItemName !== null && replacePlaceholderItemContentInfo_placeholderItemName !== undefined)
|
|
2314
|
+
content_.append("replacePlaceholderItemContentInfo.placeholderItemName", replacePlaceholderItemContentInfo_placeholderItemName.toString());
|
|
2315
|
+
if (replacePlaceholderItemContentInfo_newContentType === null || replacePlaceholderItemContentInfo_newContentType === undefined)
|
|
2316
|
+
throw new Error("The parameter 'replacePlaceholderItemContentInfo_newContentType' cannot be null.");
|
|
2317
|
+
else
|
|
2318
|
+
content_.append("replacePlaceholderItemContentInfo.newContentType", replacePlaceholderItemContentInfo_newContentType.toString());
|
|
2319
|
+
if (replacePlaceholderItemContentInfo_sourceFile !== null && replacePlaceholderItemContentInfo_sourceFile !== undefined)
|
|
2320
|
+
content_.append("replacePlaceholderItemContentInfo.sourceFile", replacePlaceholderItemContentInfo_sourceFile.data, replacePlaceholderItemContentInfo_sourceFile.fileName ? replacePlaceholderItemContentInfo_sourceFile.fileName : "replacePlaceholderItemContentInfo.sourceFile");
|
|
2221
2321
|
let options_ = {
|
|
2222
2322
|
data: content_,
|
|
2223
2323
|
method: "PATCH",
|
|
@@ -5008,6 +5108,14 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
5008
5108
|
return Promise.resolve(null);
|
|
5009
5109
|
}
|
|
5010
5110
|
}
|
|
5111
|
+
/** Product preview file format. */
|
|
5112
|
+
export var ProductPreviewFormat;
|
|
5113
|
+
(function (ProductPreviewFormat) {
|
|
5114
|
+
ProductPreviewFormat["Jpeg"] = "Jpeg";
|
|
5115
|
+
ProductPreviewFormat["Png"] = "Png";
|
|
5116
|
+
ProductPreviewFormat["Tiff"] = "Tiff";
|
|
5117
|
+
ProductPreviewFormat["Pdf"] = "Pdf";
|
|
5118
|
+
})(ProductPreviewFormat || (ProductPreviewFormat = {}));
|
|
5011
5119
|
export var DesignElementType;
|
|
5012
5120
|
(function (DesignElementType) {
|
|
5013
5121
|
DesignElementType["Product"] = "Product";
|
|
@@ -5017,12 +5125,18 @@ export var DesignElementType;
|
|
|
5017
5125
|
DesignElementType["PrintArea"] = "PrintArea";
|
|
5018
5126
|
DesignElementType["Item"] = "Item";
|
|
5019
5127
|
})(DesignElementType || (DesignElementType = {}));
|
|
5020
|
-
/** Available patch type */
|
|
5128
|
+
/** Available patch type. */
|
|
5021
5129
|
export var ProductPatchType;
|
|
5022
5130
|
(function (ProductPatchType) {
|
|
5023
5131
|
ProductPatchType["Undefined"] = "Undefined";
|
|
5024
5132
|
ProductPatchType["ReplaceImageItemFile"] = "ReplaceImageItemFile";
|
|
5133
|
+
ProductPatchType["ReplacePlaceholderItemContent"] = "ReplacePlaceholderItemContent";
|
|
5025
5134
|
})(ProductPatchType || (ProductPatchType = {}));
|
|
5135
|
+
/** Placeholder item content type. */
|
|
5136
|
+
export var PlaceholderItemContentType;
|
|
5137
|
+
(function (PlaceholderItemContentType) {
|
|
5138
|
+
PlaceholderItemContentType["Image"] = "Image";
|
|
5139
|
+
})(PlaceholderItemContentType || (PlaceholderItemContentType = {}));
|
|
5026
5140
|
export var ItemType;
|
|
5027
5141
|
(function (ItemType) {
|
|
5028
5142
|
ItemType["Image"] = "Image";
|
|
@@ -5037,14 +5151,6 @@ export var ItemSourceType;
|
|
|
5037
5151
|
ItemSourceType["ImageStorage"] = "ImageStorage";
|
|
5038
5152
|
ItemSourceType["PrivateImageStorage"] = "PrivateImageStorage";
|
|
5039
5153
|
})(ItemSourceType || (ItemSourceType = {}));
|
|
5040
|
-
/** Product preview file format. */
|
|
5041
|
-
export var ProductPreviewFormat;
|
|
5042
|
-
(function (ProductPreviewFormat) {
|
|
5043
|
-
ProductPreviewFormat["Jpeg"] = "Jpeg";
|
|
5044
|
-
ProductPreviewFormat["Png"] = "Png";
|
|
5045
|
-
ProductPreviewFormat["Tiff"] = "Tiff";
|
|
5046
|
-
ProductPreviewFormat["Pdf"] = "Pdf";
|
|
5047
|
-
})(ProductPreviewFormat || (ProductPreviewFormat = {}));
|
|
5048
5154
|
export var ProductProofFormat;
|
|
5049
5155
|
(function (ProductProofFormat) {
|
|
5050
5156
|
ProductProofFormat["Jpeg"] = "Jpeg";
|