@aurigma/axios-design-atoms-api-client 2.74.1 → 2.77.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.
@@ -8,7 +8,7 @@
8
8
  //----------------------
9
9
  // ReSharper disable InconsistentNaming
10
10
  Object.defineProperty(exports, "__esModule", { value: true });
11
- exports.ApiException = exports.TextVerticalAlignment = exports.TextAlignment = exports.ProductProofInterpolationMode = exports.ProductProofFormat = exports.ProductPreviewFormat = exports.ProductPatchType = exports.PlaceholderItemContentType = exports.ItemType = exports.ItemSourceType = exports.ImagePreviewFormat = exports.ImagePreviewFitMode = exports.ImageExtractionFormat = exports.DesignElementType = exports.ConflictType = exports.DesignAtomsViewerApiClient = exports.DesignAtomsServiceApiClient = exports.DesignAtomsPrintProductItemsApiClient = exports.DesignAtomsPrintProductApiClient = exports.DesignAtomsPalettesApiClient = exports.DesignAtomsMockups3dApiClient = exports.DesignAtomsImagesApiClient = exports.DesignAtomsCompatibilityApiClient = exports.BuildInfoApiClient = exports.ApiClientBase = exports.ApiClientConfiguration = void 0;
11
+ exports.ApiException = exports.TextVerticalAlignment = exports.TextAlignment = exports.ProductProofInterpolationMode = exports.ProductProofFormat = exports.ProductPreviewFormat = exports.ProductPatchType = exports.PlaceholderItemContentType = exports.MockupPreviewFormat = exports.MockupPreviewFitMode = exports.ItemType = exports.ItemSourceType = exports.ImagePreviewFormat = exports.ImagePreviewFitMode = exports.ImageExtractionFormat = exports.DesignElementType = exports.ContainerPrintingMode = exports.ContainerColorSpace = exports.ConflictType = exports.ColorlessContainerFormat = exports.ColorlessContainerDitherType = exports.ColorlessContainerDisplayType = exports.ArtworkShapeType = exports.DesignAtomsViewerApiClient = exports.DesignAtomsServiceApiClient = exports.DesignAtomsPrintProductItemsApiClient = exports.DesignAtomsPrintProductApiClient = exports.DesignAtomsPalettesApiClient = exports.DesignAtomsMockups3dApiClient = exports.DesignAtomsMockups2dApiClient = 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;
@@ -2545,6 +2545,103 @@ class DesignAtomsImagesApiClient extends ApiClientBase {
2545
2545
  }
2546
2546
  }
2547
2547
  exports.DesignAtomsImagesApiClient = DesignAtomsImagesApiClient;
2548
+ class DesignAtomsMockups2dApiClient extends ApiClientBase {
2549
+ instance;
2550
+ baseUrl;
2551
+ jsonParseReviver = undefined;
2552
+ constructor(configuration, baseUrl, instance) {
2553
+ super(configuration);
2554
+ this.instance = instance ? instance : axios_1.create();
2555
+ this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : this.getBaseUrl("");
2556
+ }
2557
+ /**
2558
+ * Renders a mockup preview with the specified parameters.
2559
+ * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
2560
+ (default value is 'false').
2561
+ * @param tenantId (optional) Tenant ID.
2562
+ * @param body (optional) Render model with preview parameters.
2563
+ * @return Success
2564
+ */
2565
+ renderMockupPreview(attachment, tenantId, body, cancelToken) {
2566
+ let url_ = this.baseUrl + "/api/atoms/v1/mockups-2d/render-preview?";
2567
+ if (attachment !== undefined && attachment !== null)
2568
+ url_ += "attachment=" + encodeURIComponent("" + attachment) + "&";
2569
+ if (tenantId === null)
2570
+ throw new Error("The parameter 'tenantId' cannot be null.");
2571
+ else if (tenantId !== undefined)
2572
+ url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
2573
+ url_ = url_.replace(/[?&]$/, "");
2574
+ const content_ = JSON.stringify(body);
2575
+ let options_ = {
2576
+ data: content_,
2577
+ responseType: "blob",
2578
+ method: "POST",
2579
+ url: url_,
2580
+ headers: {
2581
+ "Content-Type": "application/json",
2582
+ "Accept": "application/octet-stream"
2583
+ },
2584
+ cancelToken
2585
+ };
2586
+ return this.transformOptions(options_).then(transformedOptions_ => {
2587
+ return this.instance.request(transformedOptions_);
2588
+ }).catch((_error) => {
2589
+ if (isAxiosError(_error) && _error.response) {
2590
+ return _error.response;
2591
+ }
2592
+ else {
2593
+ throw _error;
2594
+ }
2595
+ }).then((_response) => {
2596
+ return this.transformResult(url_, _response, (_response) => this.processRenderMockupPreview(_response));
2597
+ });
2598
+ }
2599
+ processRenderMockupPreview(response) {
2600
+ const status = response.status;
2601
+ let _headers = {};
2602
+ if (response.headers && typeof response.headers === "object") {
2603
+ for (let k in response.headers) {
2604
+ if (response.headers.hasOwnProperty(k)) {
2605
+ _headers[k] = response.headers[k];
2606
+ }
2607
+ }
2608
+ }
2609
+ if (status === 200 || status === 206) {
2610
+ const contentDisposition = response.headers ? response.headers["content-disposition"] : undefined;
2611
+ const fileNameMatch = contentDisposition ? /filename="?([^"]*?)"?(;|$)/g.exec(contentDisposition) : undefined;
2612
+ const fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[1] : undefined;
2613
+ return Promise.resolve({ fileName: fileName, status: status, data: new Blob([response.data]), headers: _headers });
2614
+ }
2615
+ else if (status === 404) {
2616
+ const _responseText = response.data;
2617
+ let result404 = null;
2618
+ let resultData404 = _responseText;
2619
+ result404 = JSON.parse(resultData404);
2620
+ return throwException("Not Found", status, _responseText, _headers, result404);
2621
+ }
2622
+ else if (status === 409) {
2623
+ const _responseText = response.data;
2624
+ let result409 = null;
2625
+ let resultData409 = _responseText;
2626
+ result409 = JSON.parse(resultData409);
2627
+ return throwException("Conflict", status, _responseText, _headers, result409);
2628
+ }
2629
+ else if (status === 401) {
2630
+ const _responseText = response.data;
2631
+ return throwException("Unauthorized", status, _responseText, _headers);
2632
+ }
2633
+ else if (status === 403) {
2634
+ const _responseText = response.data;
2635
+ return throwException("Forbidden", status, _responseText, _headers);
2636
+ }
2637
+ else if (status !== 200 && status !== 204) {
2638
+ const _responseText = response.data;
2639
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
2640
+ }
2641
+ return Promise.resolve(null);
2642
+ }
2643
+ }
2644
+ exports.DesignAtomsMockups2dApiClient = DesignAtomsMockups2dApiClient;
2548
2645
  class DesignAtomsMockups3dApiClient extends ApiClientBase {
2549
2646
  instance;
2550
2647
  baseUrl;
@@ -3195,6 +3292,285 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
3195
3292
  }
3196
3293
  return Promise.resolve(null);
3197
3294
  }
3295
+ /**
3296
+ * Returns a list of print-product container descriptions of the specified design file.
3297
+ * @param id Design identifier.
3298
+ * @param index (optional)
3299
+ * @param surfaceId (optional) Print-product surface identifier.
3300
+ * @param privateStorageOwner (optional) Private storage owner identifier.
3301
+ * @param tenantId (optional) Tenant ID.
3302
+ * @param body (optional)
3303
+ * @return Success
3304
+ */
3305
+ addDesignSurfaceContainer(id, index, surfaceId, privateStorageOwner, tenantId, body, cancelToken) {
3306
+ let url_ = this.baseUrl + "/api/atoms/v1/designs/{id}/print-product/containers?";
3307
+ if (id === undefined || id === null)
3308
+ throw new Error("The parameter 'id' must be defined.");
3309
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
3310
+ if (index !== undefined && index !== null)
3311
+ url_ += "index=" + encodeURIComponent("" + index) + "&";
3312
+ if (surfaceId !== undefined && surfaceId !== null)
3313
+ url_ += "surfaceId=" + encodeURIComponent("" + surfaceId) + "&";
3314
+ if (privateStorageOwner !== undefined && privateStorageOwner !== null)
3315
+ url_ += "privateStorageOwner=" + encodeURIComponent("" + privateStorageOwner) + "&";
3316
+ if (tenantId === null)
3317
+ throw new Error("The parameter 'tenantId' cannot be null.");
3318
+ else if (tenantId !== undefined)
3319
+ url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
3320
+ url_ = url_.replace(/[?&]$/, "");
3321
+ const content_ = JSON.stringify(body);
3322
+ let options_ = {
3323
+ data: content_,
3324
+ method: "POST",
3325
+ url: url_,
3326
+ headers: {
3327
+ "Content-Type": "application/json",
3328
+ "Accept": "application/json"
3329
+ },
3330
+ cancelToken
3331
+ };
3332
+ return this.transformOptions(options_).then(transformedOptions_ => {
3333
+ return this.instance.request(transformedOptions_);
3334
+ }).catch((_error) => {
3335
+ if (isAxiosError(_error) && _error.response) {
3336
+ return _error.response;
3337
+ }
3338
+ else {
3339
+ throw _error;
3340
+ }
3341
+ }).then((_response) => {
3342
+ return this.transformResult(url_, _response, (_response) => this.processAddDesignSurfaceContainer(_response));
3343
+ });
3344
+ }
3345
+ processAddDesignSurfaceContainer(response) {
3346
+ const status = response.status;
3347
+ let _headers = {};
3348
+ if (response.headers && typeof response.headers === "object") {
3349
+ for (let k in response.headers) {
3350
+ if (response.headers.hasOwnProperty(k)) {
3351
+ _headers[k] = response.headers[k];
3352
+ }
3353
+ }
3354
+ }
3355
+ if (status === 200) {
3356
+ const _responseText = response.data;
3357
+ let result200 = null;
3358
+ let resultData200 = _responseText;
3359
+ result200 = JSON.parse(resultData200);
3360
+ return Promise.resolve(result200);
3361
+ }
3362
+ else if (status === 404) {
3363
+ const _responseText = response.data;
3364
+ let result404 = null;
3365
+ let resultData404 = _responseText;
3366
+ result404 = JSON.parse(resultData404);
3367
+ return throwException("Not Found", status, _responseText, _headers, result404);
3368
+ }
3369
+ else if (status === 409) {
3370
+ const _responseText = response.data;
3371
+ let result409 = null;
3372
+ let resultData409 = _responseText;
3373
+ result409 = JSON.parse(resultData409);
3374
+ return throwException("Conflict", status, _responseText, _headers, result409);
3375
+ }
3376
+ else if (status === 401) {
3377
+ const _responseText = response.data;
3378
+ return throwException("Unauthorized", status, _responseText, _headers);
3379
+ }
3380
+ else if (status === 403) {
3381
+ const _responseText = response.data;
3382
+ return throwException("Forbidden", status, _responseText, _headers);
3383
+ }
3384
+ else if (status !== 200 && status !== 204) {
3385
+ const _responseText = response.data;
3386
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
3387
+ }
3388
+ return Promise.resolve(null);
3389
+ }
3390
+ /**
3391
+ * Returns a print-product container parameters of the specified design file.
3392
+ * @param id Design identifier.
3393
+ * @param containerId Print-product container identifier.
3394
+ * @param privateStorageOwner (optional) Private storage owner identifier.
3395
+ * @param tenantId (optional) Tenant ID.
3396
+ * @return Success
3397
+ */
3398
+ getDesignSurfaceContainer(id, containerId, privateStorageOwner, tenantId, cancelToken) {
3399
+ let url_ = this.baseUrl + "/api/atoms/v1/designs/{id}/print-product/containers/{containerId}?";
3400
+ if (id === undefined || id === null)
3401
+ throw new Error("The parameter 'id' must be defined.");
3402
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
3403
+ if (containerId === undefined || containerId === null)
3404
+ throw new Error("The parameter 'containerId' must be defined.");
3405
+ url_ = url_.replace("{containerId}", encodeURIComponent("" + containerId));
3406
+ if (privateStorageOwner !== undefined && privateStorageOwner !== null)
3407
+ url_ += "privateStorageOwner=" + encodeURIComponent("" + privateStorageOwner) + "&";
3408
+ if (tenantId === null)
3409
+ throw new Error("The parameter 'tenantId' cannot be null.");
3410
+ else if (tenantId !== undefined)
3411
+ url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
3412
+ url_ = url_.replace(/[?&]$/, "");
3413
+ let options_ = {
3414
+ method: "GET",
3415
+ url: url_,
3416
+ headers: {
3417
+ "Accept": "application/json"
3418
+ },
3419
+ cancelToken
3420
+ };
3421
+ return this.transformOptions(options_).then(transformedOptions_ => {
3422
+ return this.instance.request(transformedOptions_);
3423
+ }).catch((_error) => {
3424
+ if (isAxiosError(_error) && _error.response) {
3425
+ return _error.response;
3426
+ }
3427
+ else {
3428
+ throw _error;
3429
+ }
3430
+ }).then((_response) => {
3431
+ return this.transformResult(url_, _response, (_response) => this.processGetDesignSurfaceContainer(_response));
3432
+ });
3433
+ }
3434
+ processGetDesignSurfaceContainer(response) {
3435
+ const status = response.status;
3436
+ let _headers = {};
3437
+ if (response.headers && typeof response.headers === "object") {
3438
+ for (let k in response.headers) {
3439
+ if (response.headers.hasOwnProperty(k)) {
3440
+ _headers[k] = response.headers[k];
3441
+ }
3442
+ }
3443
+ }
3444
+ if (status === 200) {
3445
+ const _responseText = response.data;
3446
+ let result200 = null;
3447
+ let resultData200 = _responseText;
3448
+ result200 = JSON.parse(resultData200);
3449
+ return Promise.resolve(result200);
3450
+ }
3451
+ else if (status === 404) {
3452
+ const _responseText = response.data;
3453
+ let result404 = null;
3454
+ let resultData404 = _responseText;
3455
+ result404 = JSON.parse(resultData404);
3456
+ return throwException("Not Found", status, _responseText, _headers, result404);
3457
+ }
3458
+ else if (status === 409) {
3459
+ const _responseText = response.data;
3460
+ let result409 = null;
3461
+ let resultData409 = _responseText;
3462
+ result409 = JSON.parse(resultData409);
3463
+ return throwException("Conflict", status, _responseText, _headers, result409);
3464
+ }
3465
+ else if (status === 401) {
3466
+ const _responseText = response.data;
3467
+ return throwException("Unauthorized", status, _responseText, _headers);
3468
+ }
3469
+ else if (status === 403) {
3470
+ const _responseText = response.data;
3471
+ return throwException("Forbidden", status, _responseText, _headers);
3472
+ }
3473
+ else if (status !== 200 && status !== 204) {
3474
+ const _responseText = response.data;
3475
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
3476
+ }
3477
+ return Promise.resolve(null);
3478
+ }
3479
+ /**
3480
+ * Returns a list of print-product container descriptions of the specified design file.
3481
+ * @param id Design identifier.
3482
+ * @param surfaceId (optional) Print-product surface identifier.
3483
+ * @param privateStorageOwner (optional) Private storage owner identifier.
3484
+ * @param tenantId (optional) Tenant ID.
3485
+ * @param body (optional)
3486
+ * @return Success
3487
+ */
3488
+ updateDesignSurfaceContainer(id, containerId, surfaceId, privateStorageOwner, tenantId, body, cancelToken) {
3489
+ let url_ = this.baseUrl + "/api/atoms/v1/designs/{id}/print-product/containers/{containerId}?";
3490
+ if (id === undefined || id === null)
3491
+ throw new Error("The parameter 'id' must be defined.");
3492
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
3493
+ if (containerId === undefined || containerId === null)
3494
+ throw new Error("The parameter 'containerId' must be defined.");
3495
+ url_ = url_.replace("{containerId}", encodeURIComponent("" + containerId));
3496
+ if (surfaceId !== undefined && surfaceId !== null)
3497
+ url_ += "surfaceId=" + encodeURIComponent("" + surfaceId) + "&";
3498
+ if (privateStorageOwner !== undefined && privateStorageOwner !== null)
3499
+ url_ += "privateStorageOwner=" + encodeURIComponent("" + privateStorageOwner) + "&";
3500
+ if (tenantId === null)
3501
+ throw new Error("The parameter 'tenantId' cannot be null.");
3502
+ else if (tenantId !== undefined)
3503
+ url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
3504
+ url_ = url_.replace(/[?&]$/, "");
3505
+ const content_ = JSON.stringify(body);
3506
+ let options_ = {
3507
+ data: content_,
3508
+ method: "PUT",
3509
+ url: url_,
3510
+ headers: {
3511
+ "Content-Type": "application/json",
3512
+ "Accept": "application/json"
3513
+ },
3514
+ cancelToken
3515
+ };
3516
+ return this.transformOptions(options_).then(transformedOptions_ => {
3517
+ return this.instance.request(transformedOptions_);
3518
+ }).catch((_error) => {
3519
+ if (isAxiosError(_error) && _error.response) {
3520
+ return _error.response;
3521
+ }
3522
+ else {
3523
+ throw _error;
3524
+ }
3525
+ }).then((_response) => {
3526
+ return this.transformResult(url_, _response, (_response) => this.processUpdateDesignSurfaceContainer(_response));
3527
+ });
3528
+ }
3529
+ processUpdateDesignSurfaceContainer(response) {
3530
+ const status = response.status;
3531
+ let _headers = {};
3532
+ if (response.headers && typeof response.headers === "object") {
3533
+ for (let k in response.headers) {
3534
+ if (response.headers.hasOwnProperty(k)) {
3535
+ _headers[k] = response.headers[k];
3536
+ }
3537
+ }
3538
+ }
3539
+ if (status === 200) {
3540
+ const _responseText = response.data;
3541
+ let result200 = null;
3542
+ let resultData200 = _responseText;
3543
+ result200 = JSON.parse(resultData200);
3544
+ return Promise.resolve(result200);
3545
+ }
3546
+ else if (status === 404) {
3547
+ const _responseText = response.data;
3548
+ let result404 = null;
3549
+ let resultData404 = _responseText;
3550
+ result404 = JSON.parse(resultData404);
3551
+ return throwException("Not Found", status, _responseText, _headers, result404);
3552
+ }
3553
+ else if (status === 409) {
3554
+ const _responseText = response.data;
3555
+ let result409 = null;
3556
+ let resultData409 = _responseText;
3557
+ result409 = JSON.parse(resultData409);
3558
+ return throwException("Conflict", status, _responseText, _headers, result409);
3559
+ }
3560
+ else if (status === 401) {
3561
+ const _responseText = response.data;
3562
+ return throwException("Unauthorized", status, _responseText, _headers);
3563
+ }
3564
+ else if (status === 403) {
3565
+ const _responseText = response.data;
3566
+ return throwException("Forbidden", status, _responseText, _headers);
3567
+ }
3568
+ else if (status !== 200 && status !== 204) {
3569
+ const _responseText = response.data;
3570
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
3571
+ }
3572
+ return Promise.resolve(null);
3573
+ }
3198
3574
  /**
3199
3575
  * Deletes a specified print-product container in an existing design file.
3200
3576
  * @param id Design identifier.
@@ -8877,11 +9253,11 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
8877
9253
  * @param resourceId (optional) Resource identifier.
8878
9254
  * @param privateDesignId (optional) Private design identifier.
8879
9255
  * @param privateStorageOwner (optional) Private storage owner identifier.
8880
- * @param tenantIdQuery (optional) Tenant identifier.
9256
+ * @param tenantId (optional) Tenant ID.
8881
9257
  * @return Created
8882
9258
  * @deprecated
8883
9259
  */
8884
- createPrivateDesignFromResource(resourceId, privateDesignId, privateStorageOwner, tenantIdQuery, cancelToken) {
9260
+ createPrivateDesignFromResource(resourceId, privateDesignId, privateStorageOwner, tenantId, cancelToken) {
8885
9261
  let url_ = this.baseUrl + "/api/atoms/v1/private-designs/from-resource?";
8886
9262
  if (resourceId !== undefined && resourceId !== null)
8887
9263
  url_ += "resourceId=" + encodeURIComponent("" + resourceId) + "&";
@@ -8889,10 +9265,10 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
8889
9265
  url_ += "privateDesignId=" + encodeURIComponent("" + privateDesignId) + "&";
8890
9266
  if (privateStorageOwner !== undefined && privateStorageOwner !== null)
8891
9267
  url_ += "privateStorageOwner=" + encodeURIComponent("" + privateStorageOwner) + "&";
8892
- if (tenantIdQuery === null)
8893
- throw new Error("The parameter 'tenantIdQuery' cannot be null.");
8894
- else if (tenantIdQuery !== undefined)
8895
- url_ += "tenantId=" + encodeURIComponent("" + tenantIdQuery) + "&";
9268
+ if (tenantId === null)
9269
+ throw new Error("The parameter 'tenantId' cannot be null.");
9270
+ else if (tenantId !== undefined)
9271
+ url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
8896
9272
  url_ = url_.replace(/[?&]$/, "");
8897
9273
  let options_ = {
8898
9274
  method: "POST",
@@ -10799,6 +11175,32 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
10799
11175
  }
10800
11176
  }
10801
11177
  exports.DesignAtomsViewerApiClient = DesignAtomsViewerApiClient;
11178
+ var ArtworkShapeType;
11179
+ (function (ArtworkShapeType) {
11180
+ ArtworkShapeType["Rectangle"] = "rectangle";
11181
+ ArtworkShapeType["Ellipse"] = "ellipse";
11182
+ })(ArtworkShapeType = exports.ArtworkShapeType || (exports.ArtworkShapeType = {}));
11183
+ /** Colorless container display type. */
11184
+ var ColorlessContainerDisplayType;
11185
+ (function (ColorlessContainerDisplayType) {
11186
+ ColorlessContainerDisplayType["Color"] = "Color";
11187
+ ColorlessContainerDisplayType["Texture"] = "Texture";
11188
+ })(ColorlessContainerDisplayType = exports.ColorlessContainerDisplayType || (exports.ColorlessContainerDisplayType = {}));
11189
+ /** Colorless container dither type. */
11190
+ var ColorlessContainerDitherType;
11191
+ (function (ColorlessContainerDitherType) {
11192
+ ColorlessContainerDitherType["None"] = "None";
11193
+ ColorlessContainerDitherType["Diffusion"] = "Diffusion";
11194
+ ColorlessContainerDitherType["Pattern"] = "Pattern";
11195
+ ColorlessContainerDitherType["Noise"] = "Noise";
11196
+ })(ColorlessContainerDitherType = exports.ColorlessContainerDitherType || (exports.ColorlessContainerDitherType = {}));
11197
+ /** Colorless container format. */
11198
+ var ColorlessContainerFormat;
11199
+ (function (ColorlessContainerFormat) {
11200
+ ColorlessContainerFormat["OneBit"] = "OneBit";
11201
+ ColorlessContainerFormat["Grayscale"] = "Grayscale";
11202
+ ColorlessContainerFormat["Vector"] = "Vector";
11203
+ })(ColorlessContainerFormat = exports.ColorlessContainerFormat || (exports.ColorlessContainerFormat = {}));
10802
11204
  /** Conflict types. */
10803
11205
  var ConflictType;
10804
11206
  (function (ConflictType) {
@@ -10807,6 +11209,22 @@ var ConflictType;
10807
11209
  ConflictType["IdConflict"] = "IdConflict";
10808
11210
  ConflictType["GeneralConflict"] = "GeneralConflict";
10809
11211
  })(ConflictType = exports.ConflictType || (exports.ConflictType = {}));
11212
+ /** Full color container color space. */
11213
+ var ContainerColorSpace;
11214
+ (function (ContainerColorSpace) {
11215
+ ContainerColorSpace["Rgb"] = "Rgb";
11216
+ ContainerColorSpace["Cmyk"] = "Cmyk";
11217
+ ContainerColorSpace["Grayscale"] = "Grayscale";
11218
+ ContainerColorSpace["Lab"] = "Lab";
11219
+ ContainerColorSpace["Spot"] = "Spot";
11220
+ })(ContainerColorSpace = exports.ContainerColorSpace || (exports.ContainerColorSpace = {}));
11221
+ /** Container printing mode. */
11222
+ var ContainerPrintingMode;
11223
+ (function (ContainerPrintingMode) {
11224
+ ContainerPrintingMode["FullColor"] = "FullColor";
11225
+ ContainerPrintingMode["LimitedColor"] = "LimitedColor";
11226
+ ContainerPrintingMode["Colorless"] = "Colorless";
11227
+ })(ContainerPrintingMode = exports.ContainerPrintingMode || (exports.ContainerPrintingMode = {}));
10810
11228
  var DesignElementType;
10811
11229
  (function (DesignElementType) {
10812
11230
  DesignElementType["Product"] = "Product";
@@ -10851,6 +11269,20 @@ var ItemType;
10851
11269
  ItemType["Clipart"] = "Clipart";
10852
11270
  ItemType["Group"] = "Group";
10853
11271
  })(ItemType = exports.ItemType || (exports.ItemType = {}));
11272
+ /** Mockup preview fitting mode. */
11273
+ var MockupPreviewFitMode;
11274
+ (function (MockupPreviewFitMode) {
11275
+ MockupPreviewFitMode["Fit"] = "Fit";
11276
+ MockupPreviewFitMode["Shrink"] = "Shrink";
11277
+ MockupPreviewFitMode["Resize"] = "Resize";
11278
+ MockupPreviewFitMode["Fill"] = "Fill";
11279
+ })(MockupPreviewFitMode = exports.MockupPreviewFitMode || (exports.MockupPreviewFitMode = {}));
11280
+ /** Mockup preview file format. */
11281
+ var MockupPreviewFormat;
11282
+ (function (MockupPreviewFormat) {
11283
+ MockupPreviewFormat["Jpeg"] = "Jpeg";
11284
+ MockupPreviewFormat["Png"] = "Png";
11285
+ })(MockupPreviewFormat = exports.MockupPreviewFormat || (exports.MockupPreviewFormat = {}));
10854
11286
  /** Placeholder item content type. */
10855
11287
  var PlaceholderItemContentType;
10856
11288
  (function (PlaceholderItemContentType) {