@aurigma/axios-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/dist/cjs/design-atoms-api-client.d.ts +49 -3
- package/dist/cjs/design-atoms-api-client.js +234 -9
- package/dist/cjs/design-atoms-api-client.js.map +1 -1
- package/dist/esm/design-atoms-api-client.d.ts +49 -3
- package/dist/esm/design-atoms-api-client.js +233 -8
- package/dist/esm/design-atoms-api-client.js.map +1 -1
- package/package.json +1 -1
|
@@ -58,6 +58,10 @@ export interface IDesignAtomsCompatibilityApiClient {
|
|
|
58
58
|
* @return Success
|
|
59
59
|
*/
|
|
60
60
|
getCssFont(tenantId: number, fontKey?: string | null | undefined): Promise<FileResponse>;
|
|
61
|
+
/**
|
|
62
|
+
* @return Success
|
|
63
|
+
*/
|
|
64
|
+
getFallbackFonts(tenantId: number): Promise<FileResponse>;
|
|
61
65
|
/**
|
|
62
66
|
* @param body (optional)
|
|
63
67
|
* @return Success
|
|
@@ -195,6 +199,11 @@ export declare class DesignAtomsCompatibilityApiClient extends ApiClientBase imp
|
|
|
195
199
|
*/
|
|
196
200
|
getCssFont(tenantId: number, fontKey?: string | null | undefined, cancelToken?: CancelToken | undefined): Promise<FileResponse>;
|
|
197
201
|
protected processGetCssFont(response: AxiosResponse): Promise<FileResponse>;
|
|
202
|
+
/**
|
|
203
|
+
* @return Success
|
|
204
|
+
*/
|
|
205
|
+
getFallbackFonts(tenantId: number, cancelToken?: CancelToken | undefined): Promise<FileResponse>;
|
|
206
|
+
protected processGetFallbackFonts(response: AxiosResponse): Promise<FileResponse>;
|
|
198
207
|
/**
|
|
199
208
|
* @param body (optional)
|
|
200
209
|
* @return Success
|
|
@@ -535,6 +544,15 @@ export interface IDesignAtomsServiceApiClient {
|
|
|
535
544
|
* @return Success
|
|
536
545
|
*/
|
|
537
546
|
renderProduct(attachment?: boolean | null | undefined, tenantId?: number | undefined, body?: RenderProductModel | null | undefined): Promise<FileResponse>;
|
|
547
|
+
/**
|
|
548
|
+
* Loads product (design model) from resource file taken from storage
|
|
549
|
+
* @param id Resource identifier
|
|
550
|
+
* @param privateStorage (optional) If set to 'true' resource will be taken from private storage
|
|
551
|
+
* @param privateStorageOwner (optional) Private storage owner identifier
|
|
552
|
+
* @param tenantId (optional) Tenant identifier
|
|
553
|
+
* @return Success
|
|
554
|
+
*/
|
|
555
|
+
loadProductFromResource(id: string | null, privateStorage?: boolean | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Promise<any>;
|
|
538
556
|
}
|
|
539
557
|
export declare class DesignAtomsServiceApiClient extends ApiClientBase implements IDesignAtomsServiceApiClient {
|
|
540
558
|
private instance;
|
|
@@ -737,6 +755,16 @@ export declare class DesignAtomsServiceApiClient extends ApiClientBase implement
|
|
|
737
755
|
*/
|
|
738
756
|
renderProduct(attachment?: boolean | null | undefined, tenantId?: number | undefined, body?: RenderProductModel | null | undefined, cancelToken?: CancelToken | undefined): Promise<FileResponse>;
|
|
739
757
|
protected processRenderProduct(response: AxiosResponse): Promise<FileResponse>;
|
|
758
|
+
/**
|
|
759
|
+
* Loads product (design model) from resource file taken from storage
|
|
760
|
+
* @param id Resource identifier
|
|
761
|
+
* @param privateStorage (optional) If set to 'true' resource will be taken from private storage
|
|
762
|
+
* @param privateStorageOwner (optional) Private storage owner identifier
|
|
763
|
+
* @param tenantId (optional) Tenant identifier
|
|
764
|
+
* @return Success
|
|
765
|
+
*/
|
|
766
|
+
loadProductFromResource(id: string | null, privateStorage?: boolean | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, cancelToken?: CancelToken | undefined): Promise<any>;
|
|
767
|
+
protected processLoadProductFromResource(response: AxiosResponse): Promise<any>;
|
|
740
768
|
}
|
|
741
769
|
export interface IDesignAtomsViewerApiClient {
|
|
742
770
|
/**
|
|
@@ -756,6 +784,11 @@ export interface IDesignAtomsViewerApiClient {
|
|
|
756
784
|
* @return Success
|
|
757
785
|
*/
|
|
758
786
|
getCssFont(fontKey?: string | null | undefined, tenantId?: number | undefined): Promise<FileResponse>;
|
|
787
|
+
/**
|
|
788
|
+
* @param tenantId (optional) Tenant identifier
|
|
789
|
+
* @return Success
|
|
790
|
+
*/
|
|
791
|
+
getFallbackFonts(tenantId?: number | undefined): Promise<FileResponse>;
|
|
759
792
|
/**
|
|
760
793
|
* @param tenantId (optional) Tenant identifier
|
|
761
794
|
* @param body (optional)
|
|
@@ -916,6 +949,12 @@ export declare class DesignAtomsViewerApiClient extends ApiClientBase implements
|
|
|
916
949
|
*/
|
|
917
950
|
getCssFont(fontKey?: string | null | undefined, tenantId?: number | undefined, cancelToken?: CancelToken | undefined): Promise<FileResponse>;
|
|
918
951
|
protected processGetCssFont(response: AxiosResponse): Promise<FileResponse>;
|
|
952
|
+
/**
|
|
953
|
+
* @param tenantId (optional) Tenant identifier
|
|
954
|
+
* @return Success
|
|
955
|
+
*/
|
|
956
|
+
getFallbackFonts(tenantId?: number | undefined, cancelToken?: CancelToken | undefined): Promise<FileResponse>;
|
|
957
|
+
protected processGetFallbackFonts(response: AxiosResponse): Promise<FileResponse>;
|
|
919
958
|
/**
|
|
920
959
|
* @param tenantId (optional) Tenant identifier
|
|
921
960
|
* @param body (optional)
|
|
@@ -1155,8 +1194,8 @@ export interface UpdateImageHandlerRequest {
|
|
|
1155
1194
|
itemHandlerData?: string | null;
|
|
1156
1195
|
itemData?: any | null;
|
|
1157
1196
|
}
|
|
1158
|
-
/**
|
|
1159
|
-
export declare enum
|
|
1197
|
+
/** Image preview file format. */
|
|
1198
|
+
export declare enum ImagePreviewFormat {
|
|
1160
1199
|
Jpeg = "Jpeg",
|
|
1161
1200
|
Png = "Png",
|
|
1162
1201
|
Tiff = "Tiff",
|
|
@@ -1170,7 +1209,7 @@ export interface RenderImagePreviewModel {
|
|
|
1170
1209
|
/** Width of preview image. */
|
|
1171
1210
|
width?: number;
|
|
1172
1211
|
/** Output image format. PNG by default. */
|
|
1173
|
-
fileFormat?:
|
|
1212
|
+
fileFormat?: ImagePreviewFormat | null;
|
|
1174
1213
|
}
|
|
1175
1214
|
/** Convert colors operation parameters */
|
|
1176
1215
|
export interface ConvertColorsModel {
|
|
@@ -1263,6 +1302,13 @@ export declare enum ItemSourceType {
|
|
|
1263
1302
|
ImageStorage = "ImageStorage",
|
|
1264
1303
|
PrivateImageStorage = "PrivateImageStorage"
|
|
1265
1304
|
}
|
|
1305
|
+
/** Product preview file format. */
|
|
1306
|
+
export declare enum ProductPreviewFormat {
|
|
1307
|
+
Jpeg = "Jpeg",
|
|
1308
|
+
Png = "Png",
|
|
1309
|
+
Tiff = "Tiff",
|
|
1310
|
+
Pdf = "Pdf"
|
|
1311
|
+
}
|
|
1266
1312
|
export interface ProductPreviewRenderingConfig {
|
|
1267
1313
|
surfaceIndex?: number | null;
|
|
1268
1314
|
width?: number;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
//----------------------
|
|
9
9
|
// ReSharper disable InconsistentNaming
|
|
10
10
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
-
exports.ApiException = exports.ProductProofInterpolationMode = exports.ProductProofFormat = exports.ItemSourceType = exports.ItemType = exports.PlaceholderItemContentType = exports.ProductPatchType = exports.DesignElementType = exports.
|
|
11
|
+
exports.ApiException = exports.ProductProofInterpolationMode = exports.ProductProofFormat = exports.ProductPreviewFormat = exports.ItemSourceType = exports.ItemType = exports.PlaceholderItemContentType = exports.ProductPatchType = exports.DesignElementType = exports.ImagePreviewFormat = exports.DesignAtomsViewerApiClient = exports.DesignAtomsServiceApiClient = exports.DesignAtomsImagesApiClient = exports.DesignAtomsCompatibilityApiClient = exports.BuildInfoApiClient = exports.ApiClientBase = exports.ApiClientConfiguration = void 0;
|
|
12
12
|
const axios_1 = require("axios");
|
|
13
13
|
class ApiClientConfiguration {
|
|
14
14
|
apiUrl;
|
|
@@ -388,6 +388,66 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
388
388
|
}
|
|
389
389
|
return Promise.resolve(null);
|
|
390
390
|
}
|
|
391
|
+
/**
|
|
392
|
+
* @return Success
|
|
393
|
+
*/
|
|
394
|
+
getFallbackFonts(tenantId, cancelToken) {
|
|
395
|
+
let url_ = this.baseUrl + "/api/atoms/v1/tenants/{tenantId}/api/ccviewer/GetFallbackFonts";
|
|
396
|
+
if (tenantId === undefined || tenantId === null)
|
|
397
|
+
throw new Error("The parameter 'tenantId' must be defined.");
|
|
398
|
+
url_ = url_.replace("{tenantId}", encodeURIComponent("" + tenantId));
|
|
399
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
400
|
+
let options_ = {
|
|
401
|
+
responseType: "blob",
|
|
402
|
+
method: "GET",
|
|
403
|
+
url: url_,
|
|
404
|
+
headers: {
|
|
405
|
+
"Accept": "application/json"
|
|
406
|
+
},
|
|
407
|
+
cancelToken
|
|
408
|
+
};
|
|
409
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
410
|
+
return this.instance.request(transformedOptions_);
|
|
411
|
+
}).catch((_error) => {
|
|
412
|
+
if (isAxiosError(_error) && _error.response) {
|
|
413
|
+
return _error.response;
|
|
414
|
+
}
|
|
415
|
+
else {
|
|
416
|
+
throw _error;
|
|
417
|
+
}
|
|
418
|
+
}).then((_response) => {
|
|
419
|
+
return this.transformResult(url_, _response, (_response) => this.processGetFallbackFonts(_response));
|
|
420
|
+
});
|
|
421
|
+
}
|
|
422
|
+
processGetFallbackFonts(response) {
|
|
423
|
+
const status = response.status;
|
|
424
|
+
let _headers = {};
|
|
425
|
+
if (response.headers && typeof response.headers === "object") {
|
|
426
|
+
for (let k in response.headers) {
|
|
427
|
+
if (response.headers.hasOwnProperty(k)) {
|
|
428
|
+
_headers[k] = response.headers[k];
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
}
|
|
432
|
+
if (status === 200 || status === 206) {
|
|
433
|
+
const contentDisposition = response.headers ? response.headers["content-disposition"] : undefined;
|
|
434
|
+
const fileNameMatch = contentDisposition ? /filename="?([^"]*?)"?(;|$)/g.exec(contentDisposition) : undefined;
|
|
435
|
+
const fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[1] : undefined;
|
|
436
|
+
return Promise.resolve({ fileName: fileName, status: status, data: new Blob([response.data]), headers: _headers });
|
|
437
|
+
}
|
|
438
|
+
else if (status === 500) {
|
|
439
|
+
const _responseText = response.data;
|
|
440
|
+
let result500 = null;
|
|
441
|
+
let resultData500 = _responseText;
|
|
442
|
+
result500 = JSON.parse(resultData500);
|
|
443
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
444
|
+
}
|
|
445
|
+
else if (status !== 200 && status !== 204) {
|
|
446
|
+
const _responseText = response.data;
|
|
447
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
448
|
+
}
|
|
449
|
+
return Promise.resolve(null);
|
|
450
|
+
}
|
|
391
451
|
/**
|
|
392
452
|
* @param body (optional)
|
|
393
453
|
* @return Success
|
|
@@ -3497,6 +3557,101 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
3497
3557
|
}
|
|
3498
3558
|
return Promise.resolve(null);
|
|
3499
3559
|
}
|
|
3560
|
+
/**
|
|
3561
|
+
* Loads product (design model) from resource file taken from storage
|
|
3562
|
+
* @param id Resource identifier
|
|
3563
|
+
* @param privateStorage (optional) If set to 'true' resource will be taken from private storage
|
|
3564
|
+
* @param privateStorageOwner (optional) Private storage owner identifier
|
|
3565
|
+
* @param tenantId (optional) Tenant identifier
|
|
3566
|
+
* @return Success
|
|
3567
|
+
*/
|
|
3568
|
+
loadProductFromResource(id, privateStorage, privateStorageOwner, tenantId, cancelToken) {
|
|
3569
|
+
let url_ = this.baseUrl + "/api/atoms/v1/resources/{id}/as-design/model?";
|
|
3570
|
+
if (id === undefined || id === null)
|
|
3571
|
+
throw new Error("The parameter 'id' must be defined.");
|
|
3572
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
3573
|
+
if (privateStorage !== undefined && privateStorage !== null)
|
|
3574
|
+
url_ += "privateStorage=" + encodeURIComponent("" + privateStorage) + "&";
|
|
3575
|
+
if (privateStorageOwner !== undefined && privateStorageOwner !== null)
|
|
3576
|
+
url_ += "privateStorageOwner=" + encodeURIComponent("" + privateStorageOwner) + "&";
|
|
3577
|
+
if (tenantId === null)
|
|
3578
|
+
throw new Error("The parameter 'tenantId' cannot be null.");
|
|
3579
|
+
else if (tenantId !== undefined)
|
|
3580
|
+
url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
|
|
3581
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
3582
|
+
let options_ = {
|
|
3583
|
+
method: "GET",
|
|
3584
|
+
url: url_,
|
|
3585
|
+
headers: {
|
|
3586
|
+
"Accept": "application/json"
|
|
3587
|
+
},
|
|
3588
|
+
cancelToken
|
|
3589
|
+
};
|
|
3590
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
3591
|
+
return this.instance.request(transformedOptions_);
|
|
3592
|
+
}).catch((_error) => {
|
|
3593
|
+
if (isAxiosError(_error) && _error.response) {
|
|
3594
|
+
return _error.response;
|
|
3595
|
+
}
|
|
3596
|
+
else {
|
|
3597
|
+
throw _error;
|
|
3598
|
+
}
|
|
3599
|
+
}).then((_response) => {
|
|
3600
|
+
return this.transformResult(url_, _response, (_response) => this.processLoadProductFromResource(_response));
|
|
3601
|
+
});
|
|
3602
|
+
}
|
|
3603
|
+
processLoadProductFromResource(response) {
|
|
3604
|
+
const status = response.status;
|
|
3605
|
+
let _headers = {};
|
|
3606
|
+
if (response.headers && typeof response.headers === "object") {
|
|
3607
|
+
for (let k in response.headers) {
|
|
3608
|
+
if (response.headers.hasOwnProperty(k)) {
|
|
3609
|
+
_headers[k] = response.headers[k];
|
|
3610
|
+
}
|
|
3611
|
+
}
|
|
3612
|
+
}
|
|
3613
|
+
if (status === 200) {
|
|
3614
|
+
const _responseText = response.data;
|
|
3615
|
+
let result200 = null;
|
|
3616
|
+
let resultData200 = _responseText;
|
|
3617
|
+
result200 = JSON.parse(resultData200);
|
|
3618
|
+
return Promise.resolve(result200);
|
|
3619
|
+
}
|
|
3620
|
+
else if (status === 404) {
|
|
3621
|
+
const _responseText = response.data;
|
|
3622
|
+
let result404 = null;
|
|
3623
|
+
let resultData404 = _responseText;
|
|
3624
|
+
result404 = JSON.parse(resultData404);
|
|
3625
|
+
return throwException("Not Found", status, _responseText, _headers, result404);
|
|
3626
|
+
}
|
|
3627
|
+
else if (status === 422) {
|
|
3628
|
+
const _responseText = response.data;
|
|
3629
|
+
let result422 = null;
|
|
3630
|
+
let resultData422 = _responseText;
|
|
3631
|
+
result422 = JSON.parse(resultData422);
|
|
3632
|
+
return throwException("Client Error", status, _responseText, _headers, result422);
|
|
3633
|
+
}
|
|
3634
|
+
else if (status === 401) {
|
|
3635
|
+
const _responseText = response.data;
|
|
3636
|
+
return throwException("Unauthorized", status, _responseText, _headers);
|
|
3637
|
+
}
|
|
3638
|
+
else if (status === 403) {
|
|
3639
|
+
const _responseText = response.data;
|
|
3640
|
+
return throwException("Forbidden", status, _responseText, _headers);
|
|
3641
|
+
}
|
|
3642
|
+
else if (status === 500) {
|
|
3643
|
+
const _responseText = response.data;
|
|
3644
|
+
let result500 = null;
|
|
3645
|
+
let resultData500 = _responseText;
|
|
3646
|
+
result500 = JSON.parse(resultData500);
|
|
3647
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
3648
|
+
}
|
|
3649
|
+
else if (status !== 200 && status !== 204) {
|
|
3650
|
+
const _responseText = response.data;
|
|
3651
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
3652
|
+
}
|
|
3653
|
+
return Promise.resolve(null);
|
|
3654
|
+
}
|
|
3500
3655
|
}
|
|
3501
3656
|
exports.DesignAtomsServiceApiClient = DesignAtomsServiceApiClient;
|
|
3502
3657
|
class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
@@ -3718,6 +3873,68 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
3718
3873
|
}
|
|
3719
3874
|
return Promise.resolve(null);
|
|
3720
3875
|
}
|
|
3876
|
+
/**
|
|
3877
|
+
* @param tenantId (optional) Tenant identifier
|
|
3878
|
+
* @return Success
|
|
3879
|
+
*/
|
|
3880
|
+
getFallbackFonts(tenantId, cancelToken) {
|
|
3881
|
+
let url_ = this.baseUrl + "/api/atoms/v1/ccviewer/GetFallbackFonts?";
|
|
3882
|
+
if (tenantId === null)
|
|
3883
|
+
throw new Error("The parameter 'tenantId' cannot be null.");
|
|
3884
|
+
else if (tenantId !== undefined)
|
|
3885
|
+
url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
|
|
3886
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
3887
|
+
let options_ = {
|
|
3888
|
+
responseType: "blob",
|
|
3889
|
+
method: "GET",
|
|
3890
|
+
url: url_,
|
|
3891
|
+
headers: {
|
|
3892
|
+
"Accept": "application/json"
|
|
3893
|
+
},
|
|
3894
|
+
cancelToken
|
|
3895
|
+
};
|
|
3896
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
3897
|
+
return this.instance.request(transformedOptions_);
|
|
3898
|
+
}).catch((_error) => {
|
|
3899
|
+
if (isAxiosError(_error) && _error.response) {
|
|
3900
|
+
return _error.response;
|
|
3901
|
+
}
|
|
3902
|
+
else {
|
|
3903
|
+
throw _error;
|
|
3904
|
+
}
|
|
3905
|
+
}).then((_response) => {
|
|
3906
|
+
return this.transformResult(url_, _response, (_response) => this.processGetFallbackFonts(_response));
|
|
3907
|
+
});
|
|
3908
|
+
}
|
|
3909
|
+
processGetFallbackFonts(response) {
|
|
3910
|
+
const status = response.status;
|
|
3911
|
+
let _headers = {};
|
|
3912
|
+
if (response.headers && typeof response.headers === "object") {
|
|
3913
|
+
for (let k in response.headers) {
|
|
3914
|
+
if (response.headers.hasOwnProperty(k)) {
|
|
3915
|
+
_headers[k] = response.headers[k];
|
|
3916
|
+
}
|
|
3917
|
+
}
|
|
3918
|
+
}
|
|
3919
|
+
if (status === 200 || status === 206) {
|
|
3920
|
+
const contentDisposition = response.headers ? response.headers["content-disposition"] : undefined;
|
|
3921
|
+
const fileNameMatch = contentDisposition ? /filename="?([^"]*?)"?(;|$)/g.exec(contentDisposition) : undefined;
|
|
3922
|
+
const fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[1] : undefined;
|
|
3923
|
+
return Promise.resolve({ fileName: fileName, status: status, data: new Blob([response.data]), headers: _headers });
|
|
3924
|
+
}
|
|
3925
|
+
else if (status === 500) {
|
|
3926
|
+
const _responseText = response.data;
|
|
3927
|
+
let result500 = null;
|
|
3928
|
+
let resultData500 = _responseText;
|
|
3929
|
+
result500 = JSON.parse(resultData500);
|
|
3930
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
3931
|
+
}
|
|
3932
|
+
else if (status !== 200 && status !== 204) {
|
|
3933
|
+
const _responseText = response.data;
|
|
3934
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
3935
|
+
}
|
|
3936
|
+
return Promise.resolve(null);
|
|
3937
|
+
}
|
|
3721
3938
|
/**
|
|
3722
3939
|
* @param tenantId (optional) Tenant identifier
|
|
3723
3940
|
* @param body (optional)
|
|
@@ -5127,14 +5344,14 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
5127
5344
|
}
|
|
5128
5345
|
}
|
|
5129
5346
|
exports.DesignAtomsViewerApiClient = DesignAtomsViewerApiClient;
|
|
5130
|
-
/**
|
|
5131
|
-
var
|
|
5132
|
-
(function (
|
|
5133
|
-
|
|
5134
|
-
|
|
5135
|
-
|
|
5136
|
-
|
|
5137
|
-
})(
|
|
5347
|
+
/** Image preview file format. */
|
|
5348
|
+
var ImagePreviewFormat;
|
|
5349
|
+
(function (ImagePreviewFormat) {
|
|
5350
|
+
ImagePreviewFormat["Jpeg"] = "Jpeg";
|
|
5351
|
+
ImagePreviewFormat["Png"] = "Png";
|
|
5352
|
+
ImagePreviewFormat["Tiff"] = "Tiff";
|
|
5353
|
+
ImagePreviewFormat["Pdf"] = "Pdf";
|
|
5354
|
+
})(ImagePreviewFormat = exports.ImagePreviewFormat || (exports.ImagePreviewFormat = {}));
|
|
5138
5355
|
var DesignElementType;
|
|
5139
5356
|
(function (DesignElementType) {
|
|
5140
5357
|
DesignElementType["Product"] = "Product";
|
|
@@ -5170,6 +5387,14 @@ var ItemSourceType;
|
|
|
5170
5387
|
ItemSourceType["ImageStorage"] = "ImageStorage";
|
|
5171
5388
|
ItemSourceType["PrivateImageStorage"] = "PrivateImageStorage";
|
|
5172
5389
|
})(ItemSourceType = exports.ItemSourceType || (exports.ItemSourceType = {}));
|
|
5390
|
+
/** Product preview file format. */
|
|
5391
|
+
var ProductPreviewFormat;
|
|
5392
|
+
(function (ProductPreviewFormat) {
|
|
5393
|
+
ProductPreviewFormat["Jpeg"] = "Jpeg";
|
|
5394
|
+
ProductPreviewFormat["Png"] = "Png";
|
|
5395
|
+
ProductPreviewFormat["Tiff"] = "Tiff";
|
|
5396
|
+
ProductPreviewFormat["Pdf"] = "Pdf";
|
|
5397
|
+
})(ProductPreviewFormat = exports.ProductPreviewFormat || (exports.ProductPreviewFormat = {}));
|
|
5173
5398
|
var ProductProofFormat;
|
|
5174
5399
|
(function (ProductProofFormat) {
|
|
5175
5400
|
ProductProofFormat["Jpeg"] = "Jpeg";
|