@aurigma/axios-design-atoms-api-client 2.63.1 → 2.64.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/dist/cjs/design-atoms-api-client.d.ts +297 -28
- package/dist/cjs/design-atoms-api-client.js +1242 -389
- package/dist/cjs/design-atoms-api-client.js.map +1 -1
- package/dist/esm/design-atoms-api-client.d.ts +297 -28
- package/dist/esm/design-atoms-api-client.js +1240 -387
- package/dist/esm/design-atoms-api-client.js.map +1 -1
- package/package.json +1 -1
|
@@ -401,7 +401,7 @@ export declare class DesignAtomsCompatibilityApiClient extends ApiClientBase imp
|
|
|
401
401
|
}
|
|
402
402
|
export interface IDesignAtomsImagesApiClient {
|
|
403
403
|
/**
|
|
404
|
-
* Renders a
|
|
404
|
+
* Renders a preview of an image with the specified parameters.
|
|
405
405
|
* @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
|
|
406
406
|
(default value is 'false').
|
|
407
407
|
* @param tenantId (optional) Tenant identifier
|
|
@@ -410,7 +410,58 @@ export interface IDesignAtomsImagesApiClient {
|
|
|
410
410
|
*/
|
|
411
411
|
renderImagePreview(attachment?: boolean | null | undefined, tenantId?: number | undefined, body?: RenderImagePreviewModel | undefined): Promise<FileResponse>;
|
|
412
412
|
/**
|
|
413
|
-
* Renders a
|
|
413
|
+
* Renders a preview of an uploaded image with the specified parameters.
|
|
414
|
+
* @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
|
|
415
|
+
(default value is 'false').
|
|
416
|
+
* @param tenantId (optional) Tenant identifier
|
|
417
|
+
* @param sourceFile (optional)
|
|
418
|
+
* @param mockupOwnerId (optional)
|
|
419
|
+
* @param mockupId (optional)
|
|
420
|
+
* @param width (optional)
|
|
421
|
+
* @param height (optional)
|
|
422
|
+
* @param fileFormat (optional)
|
|
423
|
+
* @param fitMode (optional)
|
|
424
|
+
* @return Success
|
|
425
|
+
*/
|
|
426
|
+
renderImagePreviewFromFile(attachment?: boolean | null | undefined, tenantId?: number | undefined, sourceFile?: FileParameter | null | undefined, mockupOwnerId?: string | null | undefined, mockupId?: string | null | undefined, width?: number | null | undefined, height?: number | null | undefined, fileFormat?: ImagePreviewFormat | null | undefined, fitMode?: ImagePreviewFitMode | null | undefined): Promise<FileResponse>;
|
|
427
|
+
/**
|
|
428
|
+
* Renders a preview of an uploaded image with the specified parameters and saves rendering result as resource.
|
|
429
|
+
* @param tenantId (optional) Tenant identifier
|
|
430
|
+
* @param resourceOwnerId (optional)
|
|
431
|
+
* @param resourceNamespace (optional)
|
|
432
|
+
* @param resourceName (optional)
|
|
433
|
+
* @param resourceSourceId (optional)
|
|
434
|
+
* @param resourceType (optional)
|
|
435
|
+
* @param anonymousAccess (optional)
|
|
436
|
+
* @param overwriteExistingResource (optional)
|
|
437
|
+
* @param sourceFile (optional)
|
|
438
|
+
* @param mockupOwnerId (optional)
|
|
439
|
+
* @param mockupId (optional)
|
|
440
|
+
* @param width (optional)
|
|
441
|
+
* @param height (optional)
|
|
442
|
+
* @param fileFormat (optional)
|
|
443
|
+
* @param fitMode (optional)
|
|
444
|
+
* @return Success
|
|
445
|
+
*/
|
|
446
|
+
renderImagePreviewFromFileToResource(tenantId?: number | undefined, resourceOwnerId?: string | null | undefined, resourceNamespace?: string | null | undefined, resourceName?: string | null | undefined, resourceSourceId?: string | null | undefined, resourceType?: string | null | undefined, anonymousAccess?: boolean | undefined, overwriteExistingResource?: boolean | undefined, sourceFile?: FileParameter | null | undefined, mockupOwnerId?: string | null | undefined, mockupId?: string | null | undefined, width?: number | null | undefined, height?: number | null | undefined, fileFormat?: ImagePreviewFormat | null | undefined, fitMode?: ImagePreviewFitMode | null | undefined): Promise<ResourceInfoDto>;
|
|
447
|
+
/**
|
|
448
|
+
* Renders a preview of a web image with the specified parameters.
|
|
449
|
+
* @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
|
|
450
|
+
(default value is 'false').
|
|
451
|
+
* @param tenantId (optional) Tenant identifier
|
|
452
|
+
* @param body (optional) Render model with preview parameters.
|
|
453
|
+
* @return Success
|
|
454
|
+
*/
|
|
455
|
+
renderImagePreviewFromUrl(attachment?: boolean | null | undefined, tenantId?: number | undefined, body?: RenderImagePreviewFromUrlModel | undefined): Promise<FileResponse>;
|
|
456
|
+
/**
|
|
457
|
+
* Renders a preview of a web image with the specified parameters and saves rendering result as resource.
|
|
458
|
+
* @param tenantId (optional) Tenant identifier
|
|
459
|
+
* @param body (optional) Render model with preview parameters.
|
|
460
|
+
* @return Success
|
|
461
|
+
*/
|
|
462
|
+
renderImagePreviewFromUrlToResource(tenantId?: number | undefined, body?: RenderImagePreviewFromUrlToResourceModel | undefined): Promise<ResourceInfoDto>;
|
|
463
|
+
/**
|
|
464
|
+
* Renders a preview of an image with the specified parameters and saves rendering result as resource.
|
|
414
465
|
* @param tenantId (optional) Tenant identifier
|
|
415
466
|
* @param body (optional) Render model with preview parameters.
|
|
416
467
|
* @return Success
|
|
@@ -423,7 +474,7 @@ export declare class DesignAtomsImagesApiClient extends ApiClientBase implements
|
|
|
423
474
|
protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
|
|
424
475
|
constructor(configuration: ApiClientConfiguration, baseUrl?: string, instance?: AxiosInstance);
|
|
425
476
|
/**
|
|
426
|
-
* Renders a
|
|
477
|
+
* Renders a preview of an image with the specified parameters.
|
|
427
478
|
* @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
|
|
428
479
|
(default value is 'false').
|
|
429
480
|
* @param tenantId (optional) Tenant identifier
|
|
@@ -433,7 +484,62 @@ export declare class DesignAtomsImagesApiClient extends ApiClientBase implements
|
|
|
433
484
|
renderImagePreview(attachment?: boolean | null | undefined, tenantId?: number | undefined, body?: RenderImagePreviewModel | undefined, cancelToken?: CancelToken | undefined): Promise<FileResponse>;
|
|
434
485
|
protected processRenderImagePreview(response: AxiosResponse): Promise<FileResponse>;
|
|
435
486
|
/**
|
|
436
|
-
* Renders a
|
|
487
|
+
* Renders a preview of an uploaded image with the specified parameters.
|
|
488
|
+
* @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
|
|
489
|
+
(default value is 'false').
|
|
490
|
+
* @param tenantId (optional) Tenant identifier
|
|
491
|
+
* @param sourceFile (optional)
|
|
492
|
+
* @param mockupOwnerId (optional)
|
|
493
|
+
* @param mockupId (optional)
|
|
494
|
+
* @param width (optional)
|
|
495
|
+
* @param height (optional)
|
|
496
|
+
* @param fileFormat (optional)
|
|
497
|
+
* @param fitMode (optional)
|
|
498
|
+
* @return Success
|
|
499
|
+
*/
|
|
500
|
+
renderImagePreviewFromFile(attachment?: boolean | null | undefined, tenantId?: number | undefined, sourceFile?: FileParameter | null | undefined, mockupOwnerId?: string | null | undefined, mockupId?: string | null | undefined, width?: number | null | undefined, height?: number | null | undefined, fileFormat?: ImagePreviewFormat | null | undefined, fitMode?: ImagePreviewFitMode | null | undefined, cancelToken?: CancelToken | undefined): Promise<FileResponse>;
|
|
501
|
+
protected processRenderImagePreviewFromFile(response: AxiosResponse): Promise<FileResponse>;
|
|
502
|
+
/**
|
|
503
|
+
* Renders a preview of an uploaded image with the specified parameters and saves rendering result as resource.
|
|
504
|
+
* @param tenantId (optional) Tenant identifier
|
|
505
|
+
* @param resourceOwnerId (optional)
|
|
506
|
+
* @param resourceNamespace (optional)
|
|
507
|
+
* @param resourceName (optional)
|
|
508
|
+
* @param resourceSourceId (optional)
|
|
509
|
+
* @param resourceType (optional)
|
|
510
|
+
* @param anonymousAccess (optional)
|
|
511
|
+
* @param overwriteExistingResource (optional)
|
|
512
|
+
* @param sourceFile (optional)
|
|
513
|
+
* @param mockupOwnerId (optional)
|
|
514
|
+
* @param mockupId (optional)
|
|
515
|
+
* @param width (optional)
|
|
516
|
+
* @param height (optional)
|
|
517
|
+
* @param fileFormat (optional)
|
|
518
|
+
* @param fitMode (optional)
|
|
519
|
+
* @return Success
|
|
520
|
+
*/
|
|
521
|
+
renderImagePreviewFromFileToResource(tenantId?: number | undefined, resourceOwnerId?: string | null | undefined, resourceNamespace?: string | null | undefined, resourceName?: string | null | undefined, resourceSourceId?: string | null | undefined, resourceType?: string | null | undefined, anonymousAccess?: boolean | undefined, overwriteExistingResource?: boolean | undefined, sourceFile?: FileParameter | null | undefined, mockupOwnerId?: string | null | undefined, mockupId?: string | null | undefined, width?: number | null | undefined, height?: number | null | undefined, fileFormat?: ImagePreviewFormat | null | undefined, fitMode?: ImagePreviewFitMode | null | undefined, cancelToken?: CancelToken | undefined): Promise<ResourceInfoDto>;
|
|
522
|
+
protected processRenderImagePreviewFromFileToResource(response: AxiosResponse): Promise<ResourceInfoDto>;
|
|
523
|
+
/**
|
|
524
|
+
* Renders a preview of a web image with the specified parameters.
|
|
525
|
+
* @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
|
|
526
|
+
(default value is 'false').
|
|
527
|
+
* @param tenantId (optional) Tenant identifier
|
|
528
|
+
* @param body (optional) Render model with preview parameters.
|
|
529
|
+
* @return Success
|
|
530
|
+
*/
|
|
531
|
+
renderImagePreviewFromUrl(attachment?: boolean | null | undefined, tenantId?: number | undefined, body?: RenderImagePreviewFromUrlModel | undefined, cancelToken?: CancelToken | undefined): Promise<FileResponse>;
|
|
532
|
+
protected processRenderImagePreviewFromUrl(response: AxiosResponse): Promise<FileResponse>;
|
|
533
|
+
/**
|
|
534
|
+
* Renders a preview of a web image with the specified parameters and saves rendering result as resource.
|
|
535
|
+
* @param tenantId (optional) Tenant identifier
|
|
536
|
+
* @param body (optional) Render model with preview parameters.
|
|
537
|
+
* @return Success
|
|
538
|
+
*/
|
|
539
|
+
renderImagePreviewFromUrlToResource(tenantId?: number | undefined, body?: RenderImagePreviewFromUrlToResourceModel | undefined, cancelToken?: CancelToken | undefined): Promise<ResourceInfoDto>;
|
|
540
|
+
protected processRenderImagePreviewFromUrlToResource(response: AxiosResponse): Promise<ResourceInfoDto>;
|
|
541
|
+
/**
|
|
542
|
+
* Renders a preview of an image with the specified parameters and saves rendering result as resource.
|
|
437
543
|
* @param tenantId (optional) Tenant identifier
|
|
438
544
|
* @param body (optional) Render model with preview parameters.
|
|
439
545
|
* @return Success
|
|
@@ -630,17 +736,6 @@ export interface IDesignAtomsServiceApiClient {
|
|
|
630
736
|
* @return Success
|
|
631
737
|
*/
|
|
632
738
|
convertColors(tenantId?: number | undefined, body?: ConvertColorsModel | undefined): Promise<any>;
|
|
633
|
-
/**
|
|
634
|
-
* Creates product item.
|
|
635
|
-
* @param itemType (optional) Desired item type.
|
|
636
|
-
* @param tenantId (optional) Tenant identifier
|
|
637
|
-
* @param sourceType (optional)
|
|
638
|
-
* @param sourceId (optional)
|
|
639
|
-
* @param sourceOwnerId (optional)
|
|
640
|
-
* @param sourceFile (optional)
|
|
641
|
-
* @return Success
|
|
642
|
-
*/
|
|
643
|
-
createItem(itemType?: ItemType | null | undefined, tenantId?: number | undefined, sourceType?: ItemSourceType | null | undefined, sourceId?: string | null | undefined, sourceOwnerId?: string | null | undefined, sourceFile?: FileParameter | null | undefined): Promise<any>;
|
|
644
739
|
/**
|
|
645
740
|
* Extracts product item image.
|
|
646
741
|
* @param tenantId (optional) Tenant identifier
|
|
@@ -655,6 +750,54 @@ export interface IDesignAtomsServiceApiClient {
|
|
|
655
750
|
* @return Success
|
|
656
751
|
*/
|
|
657
752
|
flattenItems(tenantId?: number | undefined, body?: any[] | undefined): Promise<any>;
|
|
753
|
+
/**
|
|
754
|
+
* Creates product item from input image file.
|
|
755
|
+
* @param itemType (optional) Desired item type.
|
|
756
|
+
* @param tenantId (optional) Tenant identifier
|
|
757
|
+
* @param sourceFile (optional)
|
|
758
|
+
* @return Success
|
|
759
|
+
*/
|
|
760
|
+
createItemFromFile(itemType?: ItemType | null | undefined, tenantId?: number | undefined, sourceFile?: FileParameter | null | undefined): Promise<any>;
|
|
761
|
+
/**
|
|
762
|
+
* Creates multiple product items from input image files.
|
|
763
|
+
* @param itemType (optional) Desired items type.
|
|
764
|
+
* @param tenantId (optional) Tenant identifier
|
|
765
|
+
* @param sourceFiles (optional)
|
|
766
|
+
* @return Success
|
|
767
|
+
*/
|
|
768
|
+
batchCreateItemsFromFile(itemType?: ItemType | null | undefined, tenantId?: number | undefined, sourceFiles?: FileParameter[] | null | undefined): Promise<any>;
|
|
769
|
+
/**
|
|
770
|
+
* Creates product item from image in storage.
|
|
771
|
+
* @param itemType (optional) Desired item type.
|
|
772
|
+
* @param tenantId (optional) Tenant identifier
|
|
773
|
+
* @param body (optional) Operation parameters.
|
|
774
|
+
* @return Success
|
|
775
|
+
*/
|
|
776
|
+
createItemFromStorage(itemType?: ItemType | null | undefined, tenantId?: number | undefined, body?: CreateItemFromStorageModel | undefined): Promise<any>;
|
|
777
|
+
/**
|
|
778
|
+
* Creates multiple product items from images in storage.
|
|
779
|
+
* @param itemType (optional) Desired items type.
|
|
780
|
+
* @param tenantId (optional) Tenant identifier
|
|
781
|
+
* @param body (optional) Create items operation parameters.
|
|
782
|
+
* @return Success
|
|
783
|
+
*/
|
|
784
|
+
batchCreateItemsFromStorage(itemType?: ItemType | null | undefined, tenantId?: number | undefined, body?: BatchCreateItemsFromStorageModel | undefined): Promise<any>;
|
|
785
|
+
/**
|
|
786
|
+
* Creates product item from remote web image provided by URL.
|
|
787
|
+
* @param itemType (optional) Desired item type.
|
|
788
|
+
* @param tenantId (optional) Tenant identifier
|
|
789
|
+
* @param body (optional) Operation parameters.
|
|
790
|
+
* @return Success
|
|
791
|
+
*/
|
|
792
|
+
createItemFromUrl(itemType?: ItemType | null | undefined, tenantId?: number | undefined, body?: CreateItemFromUrlModel | undefined): Promise<any>;
|
|
793
|
+
/**
|
|
794
|
+
* Creates multiple product items from remote web images provided by URLs list.
|
|
795
|
+
* @param itemType (optional) Desired items type.
|
|
796
|
+
* @param tenantId (optional) Tenant identifier
|
|
797
|
+
* @param body (optional) Operation parameters.
|
|
798
|
+
* @return Success
|
|
799
|
+
*/
|
|
800
|
+
batchCreateItemsFromUrl(itemType?: ItemType | null | undefined, tenantId?: number | undefined, body?: BatchCreateItemsFromUrlModel | undefined): Promise<any>;
|
|
658
801
|
/**
|
|
659
802
|
* Render product proof image with specified parameters.
|
|
660
803
|
* @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
|
|
@@ -696,6 +839,19 @@ export interface IDesignAtomsServiceApiClient {
|
|
|
696
839
|
* @return Success
|
|
697
840
|
*/
|
|
698
841
|
renderDesignProofToResource(tenantId?: number | undefined, body?: RenderDesignProofToResourceModel | undefined): Promise<ResourceInfoDto>;
|
|
842
|
+
/**
|
|
843
|
+
* Creates product item.
|
|
844
|
+
* @param itemType (optional) Desired item type.
|
|
845
|
+
* @param tenantId (optional) Tenant identifier
|
|
846
|
+
* @param sourceType (optional)
|
|
847
|
+
* @param sourceId (optional)
|
|
848
|
+
* @param sourceOwnerId (optional)
|
|
849
|
+
* @param url (optional)
|
|
850
|
+
* @param sourceFile (optional)
|
|
851
|
+
* @return Success
|
|
852
|
+
* @deprecated
|
|
853
|
+
*/
|
|
854
|
+
createItem(itemType?: ItemType | null | undefined, tenantId?: number | undefined, sourceType?: ItemSourceType | null | undefined, sourceId?: string | null | undefined, sourceOwnerId?: string | null | undefined, url?: string | null | undefined, sourceFile?: FileParameter | null | undefined): Promise<any>;
|
|
699
855
|
/**
|
|
700
856
|
* Creates a private design from a public design.
|
|
701
857
|
* @param designId (optional) Public design identifier.
|
|
@@ -866,18 +1022,6 @@ export declare class DesignAtomsServiceApiClient extends ApiClientBase implement
|
|
|
866
1022
|
*/
|
|
867
1023
|
convertColors(tenantId?: number | undefined, body?: ConvertColorsModel | undefined, cancelToken?: CancelToken | undefined): Promise<any>;
|
|
868
1024
|
protected processConvertColors(response: AxiosResponse): Promise<any>;
|
|
869
|
-
/**
|
|
870
|
-
* Creates product item.
|
|
871
|
-
* @param itemType (optional) Desired item type.
|
|
872
|
-
* @param tenantId (optional) Tenant identifier
|
|
873
|
-
* @param sourceType (optional)
|
|
874
|
-
* @param sourceId (optional)
|
|
875
|
-
* @param sourceOwnerId (optional)
|
|
876
|
-
* @param sourceFile (optional)
|
|
877
|
-
* @return Success
|
|
878
|
-
*/
|
|
879
|
-
createItem(itemType?: ItemType | null | undefined, tenantId?: number | undefined, sourceType?: ItemSourceType | null | undefined, sourceId?: string | null | undefined, sourceOwnerId?: string | null | undefined, sourceFile?: FileParameter | null | undefined, cancelToken?: CancelToken | undefined): Promise<any>;
|
|
880
|
-
protected processCreateItem(response: AxiosResponse): Promise<any>;
|
|
881
1025
|
/**
|
|
882
1026
|
* Extracts product item image.
|
|
883
1027
|
* @param tenantId (optional) Tenant identifier
|
|
@@ -894,6 +1038,60 @@ export declare class DesignAtomsServiceApiClient extends ApiClientBase implement
|
|
|
894
1038
|
*/
|
|
895
1039
|
flattenItems(tenantId?: number | undefined, body?: any[] | undefined, cancelToken?: CancelToken | undefined): Promise<any>;
|
|
896
1040
|
protected processFlattenItems(response: AxiosResponse): Promise<any>;
|
|
1041
|
+
/**
|
|
1042
|
+
* Creates product item from input image file.
|
|
1043
|
+
* @param itemType (optional) Desired item type.
|
|
1044
|
+
* @param tenantId (optional) Tenant identifier
|
|
1045
|
+
* @param sourceFile (optional)
|
|
1046
|
+
* @return Success
|
|
1047
|
+
*/
|
|
1048
|
+
createItemFromFile(itemType?: ItemType | null | undefined, tenantId?: number | undefined, sourceFile?: FileParameter | null | undefined, cancelToken?: CancelToken | undefined): Promise<any>;
|
|
1049
|
+
protected processCreateItemFromFile(response: AxiosResponse): Promise<any>;
|
|
1050
|
+
/**
|
|
1051
|
+
* Creates multiple product items from input image files.
|
|
1052
|
+
* @param itemType (optional) Desired items type.
|
|
1053
|
+
* @param tenantId (optional) Tenant identifier
|
|
1054
|
+
* @param sourceFiles (optional)
|
|
1055
|
+
* @return Success
|
|
1056
|
+
*/
|
|
1057
|
+
batchCreateItemsFromFile(itemType?: ItemType | null | undefined, tenantId?: number | undefined, sourceFiles?: FileParameter[] | null | undefined, cancelToken?: CancelToken | undefined): Promise<any>;
|
|
1058
|
+
protected processBatchCreateItemsFromFile(response: AxiosResponse): Promise<any>;
|
|
1059
|
+
/**
|
|
1060
|
+
* Creates product item from image in storage.
|
|
1061
|
+
* @param itemType (optional) Desired item type.
|
|
1062
|
+
* @param tenantId (optional) Tenant identifier
|
|
1063
|
+
* @param body (optional) Operation parameters.
|
|
1064
|
+
* @return Success
|
|
1065
|
+
*/
|
|
1066
|
+
createItemFromStorage(itemType?: ItemType | null | undefined, tenantId?: number | undefined, body?: CreateItemFromStorageModel | undefined, cancelToken?: CancelToken | undefined): Promise<any>;
|
|
1067
|
+
protected processCreateItemFromStorage(response: AxiosResponse): Promise<any>;
|
|
1068
|
+
/**
|
|
1069
|
+
* Creates multiple product items from images in storage.
|
|
1070
|
+
* @param itemType (optional) Desired items type.
|
|
1071
|
+
* @param tenantId (optional) Tenant identifier
|
|
1072
|
+
* @param body (optional) Create items operation parameters.
|
|
1073
|
+
* @return Success
|
|
1074
|
+
*/
|
|
1075
|
+
batchCreateItemsFromStorage(itemType?: ItemType | null | undefined, tenantId?: number | undefined, body?: BatchCreateItemsFromStorageModel | undefined, cancelToken?: CancelToken | undefined): Promise<any>;
|
|
1076
|
+
protected processBatchCreateItemsFromStorage(response: AxiosResponse): Promise<any>;
|
|
1077
|
+
/**
|
|
1078
|
+
* Creates product item from remote web image provided by URL.
|
|
1079
|
+
* @param itemType (optional) Desired item type.
|
|
1080
|
+
* @param tenantId (optional) Tenant identifier
|
|
1081
|
+
* @param body (optional) Operation parameters.
|
|
1082
|
+
* @return Success
|
|
1083
|
+
*/
|
|
1084
|
+
createItemFromUrl(itemType?: ItemType | null | undefined, tenantId?: number | undefined, body?: CreateItemFromUrlModel | undefined, cancelToken?: CancelToken | undefined): Promise<any>;
|
|
1085
|
+
protected processCreateItemFromUrl(response: AxiosResponse): Promise<any>;
|
|
1086
|
+
/**
|
|
1087
|
+
* Creates multiple product items from remote web images provided by URLs list.
|
|
1088
|
+
* @param itemType (optional) Desired items type.
|
|
1089
|
+
* @param tenantId (optional) Tenant identifier
|
|
1090
|
+
* @param body (optional) Operation parameters.
|
|
1091
|
+
* @return Success
|
|
1092
|
+
*/
|
|
1093
|
+
batchCreateItemsFromUrl(itemType?: ItemType | null | undefined, tenantId?: number | undefined, body?: BatchCreateItemsFromUrlModel | undefined, cancelToken?: CancelToken | undefined): Promise<any>;
|
|
1094
|
+
protected processBatchCreateItemsFromUrl(response: AxiosResponse): Promise<any>;
|
|
897
1095
|
/**
|
|
898
1096
|
* Render product proof image with specified parameters.
|
|
899
1097
|
* @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
|
|
@@ -940,6 +1138,20 @@ export declare class DesignAtomsServiceApiClient extends ApiClientBase implement
|
|
|
940
1138
|
*/
|
|
941
1139
|
renderDesignProofToResource(tenantId?: number | undefined, body?: RenderDesignProofToResourceModel | undefined, cancelToken?: CancelToken | undefined): Promise<ResourceInfoDto>;
|
|
942
1140
|
protected processRenderDesignProofToResource(response: AxiosResponse): Promise<ResourceInfoDto>;
|
|
1141
|
+
/**
|
|
1142
|
+
* Creates product item.
|
|
1143
|
+
* @param itemType (optional) Desired item type.
|
|
1144
|
+
* @param tenantId (optional) Tenant identifier
|
|
1145
|
+
* @param sourceType (optional)
|
|
1146
|
+
* @param sourceId (optional)
|
|
1147
|
+
* @param sourceOwnerId (optional)
|
|
1148
|
+
* @param url (optional)
|
|
1149
|
+
* @param sourceFile (optional)
|
|
1150
|
+
* @return Success
|
|
1151
|
+
* @deprecated
|
|
1152
|
+
*/
|
|
1153
|
+
createItem(itemType?: ItemType | null | undefined, tenantId?: number | undefined, sourceType?: ItemSourceType | null | undefined, sourceId?: string | null | undefined, sourceOwnerId?: string | null | undefined, url?: string | null | undefined, sourceFile?: FileParameter | null | undefined, cancelToken?: CancelToken | undefined): Promise<any>;
|
|
1154
|
+
protected processCreateItem(response: AxiosResponse): Promise<any>;
|
|
943
1155
|
/**
|
|
944
1156
|
* Creates a private design from a public design.
|
|
945
1157
|
* @param designId (optional) Public design identifier.
|
|
@@ -1371,6 +1583,18 @@ export declare class DesignAtomsViewerApiClient extends ApiClientBase implements
|
|
|
1371
1583
|
updateShapeItemHandler(tenantId?: number | undefined, body?: UpdateHandlerRequest | undefined, cancelToken?: CancelToken | undefined): Promise<any>;
|
|
1372
1584
|
protected processUpdateShapeItemHandler(response: AxiosResponse): Promise<any>;
|
|
1373
1585
|
}
|
|
1586
|
+
/** Batch create items from storage source operation parameters. */
|
|
1587
|
+
export interface BatchCreateItemsFromStorageModel {
|
|
1588
|
+
/** Source image assets owner identifier. If value is set, all images should belong to a specified user. */
|
|
1589
|
+
sourceOwnerId?: string | null;
|
|
1590
|
+
/** Source image asset identifiers. */
|
|
1591
|
+
sourceIds?: string[] | null;
|
|
1592
|
+
}
|
|
1593
|
+
/** Batch create items from web source operation parameters. */
|
|
1594
|
+
export interface BatchCreateItemsFromUrlModel {
|
|
1595
|
+
/** Source URLs. */
|
|
1596
|
+
urls?: string[] | null;
|
|
1597
|
+
}
|
|
1374
1598
|
/** Information about a service. */
|
|
1375
1599
|
export interface BuildInfoModel {
|
|
1376
1600
|
/** Version number. */
|
|
@@ -1408,6 +1632,18 @@ export interface CreateDesignModel {
|
|
|
1408
1632
|
/** Design location (folder path). */
|
|
1409
1633
|
path?: string | null;
|
|
1410
1634
|
}
|
|
1635
|
+
/** Create item from storage source operation parameters. */
|
|
1636
|
+
export interface CreateItemFromStorageModel {
|
|
1637
|
+
/** Source image asset owner identifier. If value is set, all images should belong to a specified user. */
|
|
1638
|
+
sourceOwnerId?: string | null;
|
|
1639
|
+
/** Source image asset identifier. */
|
|
1640
|
+
sourceId?: string | null;
|
|
1641
|
+
}
|
|
1642
|
+
/** Create item from web source operation parameters. */
|
|
1643
|
+
export interface CreateItemFromUrlModel {
|
|
1644
|
+
/** Source URL. */
|
|
1645
|
+
url?: string | null;
|
|
1646
|
+
}
|
|
1411
1647
|
export declare enum DesignElementType {
|
|
1412
1648
|
Product = "Product",
|
|
1413
1649
|
Design = "Design",
|
|
@@ -1481,7 +1717,8 @@ export interface ImagePreviewRenderingConfig {
|
|
|
1481
1717
|
export declare enum ItemSourceType {
|
|
1482
1718
|
File = "File",
|
|
1483
1719
|
ImageStorage = "ImageStorage",
|
|
1484
|
-
PrivateImageStorage = "PrivateImageStorage"
|
|
1720
|
+
PrivateImageStorage = "PrivateImageStorage",
|
|
1721
|
+
Url = "Url"
|
|
1485
1722
|
}
|
|
1486
1723
|
export declare enum ItemType {
|
|
1487
1724
|
Image = "Image",
|
|
@@ -1635,6 +1872,8 @@ Used to get mockup file from public storage. */
|
|
|
1635
1872
|
export interface RenderDesignPreviewToResourceModel {
|
|
1636
1873
|
/** Parameters of resource that should be created for a preview rendering result. */
|
|
1637
1874
|
previewResourceParams?: ResourceParams | null;
|
|
1875
|
+
/** Flag that indicates if an existing resource should be overwritten. */
|
|
1876
|
+
overwriteExistingResource?: boolean;
|
|
1638
1877
|
/** Design identifier.
|
|
1639
1878
|
Used to get design file from public or private storage. */
|
|
1640
1879
|
designId?: string | null;
|
|
@@ -1664,6 +1903,8 @@ Used to get design file from public or private storage. */
|
|
|
1664
1903
|
export interface RenderDesignProofToResourceModel {
|
|
1665
1904
|
/** Parameters of resource that should be created for a preview rendering result. */
|
|
1666
1905
|
proofResourceParams?: ResourceParams | null;
|
|
1906
|
+
/** Flag that indicates if an existing resource should be overwritten. */
|
|
1907
|
+
overwriteExistingResource?: boolean;
|
|
1667
1908
|
/** Design identifier.
|
|
1668
1909
|
Used to get design file from public or private storage. */
|
|
1669
1910
|
designId?: string | null;
|
|
@@ -1674,6 +1915,32 @@ Used to get design file from public or private storage. */
|
|
|
1674
1915
|
/** Variable (user) data for design variable fields in the proof image. */
|
|
1675
1916
|
variableData?: VariableInfo[] | null;
|
|
1676
1917
|
}
|
|
1918
|
+
/** Web image preview rendering parameters. */
|
|
1919
|
+
export interface RenderImagePreviewFromUrlModel {
|
|
1920
|
+
/** Web image URL. */
|
|
1921
|
+
imageUrl?: string | null;
|
|
1922
|
+
/** Mockup owner identifier. */
|
|
1923
|
+
mockupOwnerId?: string | null;
|
|
1924
|
+
/** Mockup identifier. */
|
|
1925
|
+
mockupId?: string | null;
|
|
1926
|
+
/** Image preview configuration. */
|
|
1927
|
+
renderingConfig?: ImagePreviewRenderingConfig | null;
|
|
1928
|
+
}
|
|
1929
|
+
/** Image preview rendering parameters. Result will be saved as resource with parameters set as Aurigma.DesignAtomsApi.WebApi.Models.Image.RenderImagePreviewFromUrlToResourceModel.PreviewResourceParams. */
|
|
1930
|
+
export interface RenderImagePreviewFromUrlToResourceModel {
|
|
1931
|
+
/** Parameters of resource that should be created for a preview rendering result. */
|
|
1932
|
+
previewResourceParams?: ResourceParams | null;
|
|
1933
|
+
/** Flag that indicates if an existing resource should be overwritten. */
|
|
1934
|
+
overwriteExistingResource?: boolean;
|
|
1935
|
+
/** Web image URL. */
|
|
1936
|
+
imageUrl?: string | null;
|
|
1937
|
+
/** Mockup owner identifier. */
|
|
1938
|
+
mockupOwnerId?: string | null;
|
|
1939
|
+
/** Mockup identifier. */
|
|
1940
|
+
mockupId?: string | null;
|
|
1941
|
+
/** Image preview configuration. */
|
|
1942
|
+
renderingConfig?: ImagePreviewRenderingConfig | null;
|
|
1943
|
+
}
|
|
1677
1944
|
/** Image preview rendering parameters. */
|
|
1678
1945
|
export interface RenderImagePreviewModel {
|
|
1679
1946
|
/** External image URL. */
|
|
@@ -1693,6 +1960,8 @@ export interface RenderImagePreviewModel {
|
|
|
1693
1960
|
export interface RenderImagePreviewToResourceModel {
|
|
1694
1961
|
/** Parameters of resource that should be created for a preview rendering result. */
|
|
1695
1962
|
previewResourceParams?: ResourceParams | null;
|
|
1963
|
+
/** Flag that indicates if an existing resource should be overwritten. */
|
|
1964
|
+
overwriteExistingResource?: boolean;
|
|
1696
1965
|
/** External image URL. */
|
|
1697
1966
|
imageUrl?: string | null;
|
|
1698
1967
|
/** Storage image identifier. */
|