@aurigma/ng-design-atoms-api-client 2.54.3 → 2.56.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/aurigma-ng-design-atoms-api-client.metadata.json +1 -1
- package/bundles/aurigma-ng-design-atoms-api-client.umd.js +264 -295
- package/bundles/aurigma-ng-design-atoms-api-client.umd.js.map +1 -1
- package/bundles/aurigma-ng-design-atoms-api-client.umd.min.js +1 -1
- package/bundles/aurigma-ng-design-atoms-api-client.umd.min.js.map +1 -1
- package/esm2015/lib/design-atoms-api-client.js +219 -250
- package/fesm2015/aurigma-ng-design-atoms-api-client.js +218 -249
- package/fesm2015/aurigma-ng-design-atoms-api-client.js.map +1 -1
- package/lib/design-atoms-api-client.d.ts +166 -176
- package/package.json +1 -1
|
@@ -504,22 +504,14 @@ export declare class DesignAtomsMockups3dApiClient extends ApiClientBase impleme
|
|
|
504
504
|
protected processGetGeometryFile(response: HttpResponseBase): Observable<FileResponse>;
|
|
505
505
|
}
|
|
506
506
|
export interface IDesignAtomsServiceApiClient {
|
|
507
|
-
/**
|
|
508
|
-
* Converts colors
|
|
509
|
-
* @param tenantId (optional) Tenant identifier
|
|
510
|
-
* @param body (optional) Convert colors operation parameters
|
|
511
|
-
* @return Success
|
|
512
|
-
*/
|
|
513
|
-
convertColors(tenantId?: number | undefined, body?: ConvertColorsModel | null | undefined): Observable<any>;
|
|
514
507
|
/**
|
|
515
508
|
* Creates new design file with specified parameters and saves it in storage.
|
|
516
|
-
* @param privateStorage (optional) If set to 'true' design will be saved to private storage
|
|
517
509
|
* @param privateStorageOwner (optional) Private storage owner identifier
|
|
518
510
|
* @param tenantId (optional) Tenant identifier
|
|
519
511
|
* @param body (optional) Design creation parameters
|
|
520
512
|
* @return Success
|
|
521
513
|
*/
|
|
522
|
-
createDesign(
|
|
514
|
+
createDesign(privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: CreateDesignModel | null | undefined): Observable<DesignInfo>;
|
|
523
515
|
/**
|
|
524
516
|
* Returns content of the background.
|
|
525
517
|
* @param id Design identifier.
|
|
@@ -532,26 +524,23 @@ export interface IDesignAtomsServiceApiClient {
|
|
|
532
524
|
/**
|
|
533
525
|
* Loads product (design model) from design file taken from storage
|
|
534
526
|
* @param id Design identifier
|
|
535
|
-
* @param privateStorage (optional) If set to 'true' design will be taken from private storage
|
|
536
527
|
* @param privateStorageOwner (optional) Private storage owner identifier
|
|
537
528
|
* @param tenantId (optional) Tenant identifier
|
|
538
529
|
* @return Success
|
|
539
530
|
*/
|
|
540
|
-
loadProduct(id: string | null,
|
|
531
|
+
loadProduct(id: string | null, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<any>;
|
|
541
532
|
/**
|
|
542
533
|
* Saves product (design model) to design file and updates design in storage.
|
|
543
534
|
* @param id Design identifier
|
|
544
|
-
* @param privateStorage (optional) If set to 'true' design will be saved to private storage
|
|
545
535
|
* @param privateStorageOwner (optional) Private storage owner identifier
|
|
546
536
|
* @param tenantId (optional) Tenant identifier
|
|
547
537
|
* @param body (optional) Serialized product description
|
|
548
538
|
* @return Success
|
|
549
539
|
*/
|
|
550
|
-
saveProduct(id: string | null,
|
|
540
|
+
saveProduct(id: string | null, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | null | undefined): Observable<void>;
|
|
551
541
|
/**
|
|
552
542
|
* Patches product (design model) in design file.
|
|
553
543
|
* @param id Design identifier.
|
|
554
|
-
* @param privateStorage (optional) If set to 'true' design will be taken from private storage.
|
|
555
544
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
556
545
|
* @param tenantId (optional) Tenant identifier
|
|
557
546
|
* @param patchType (optional)
|
|
@@ -562,7 +551,7 @@ export interface IDesignAtomsServiceApiClient {
|
|
|
562
551
|
* @param replacePlaceholderItemContentInfo_sourceFile (optional)
|
|
563
552
|
* @return Success
|
|
564
553
|
*/
|
|
565
|
-
patchProduct(id: string | null,
|
|
554
|
+
patchProduct(id: string | null, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, patchType?: ProductPatchType | undefined, replaceImageItemFileInfo_itemName?: string | null | undefined, replaceImageItemFileInfo_sourceFile?: FileParameter | null | undefined, replacePlaceholderItemContentInfo_placeholderItemName?: string | null | undefined, replacePlaceholderItemContentInfo_newContentType?: PlaceholderItemContentType | undefined, replacePlaceholderItemContentInfo_sourceFile?: FileParameter | null | undefined): Observable<void>;
|
|
566
555
|
/**
|
|
567
556
|
* Returns design parameters stored in product model.
|
|
568
557
|
* @param id Design identifier.
|
|
@@ -574,66 +563,68 @@ export interface IDesignAtomsServiceApiClient {
|
|
|
574
563
|
/**
|
|
575
564
|
* Loads data schema from design file taken from storage
|
|
576
565
|
* @param id Design identifier
|
|
577
|
-
* @param privateStorage (optional) If set to 'true' design will be taken from private storage
|
|
578
566
|
* @param privateStorageOwner (optional) Private storage owner identifier
|
|
579
567
|
* @param tenantId (optional) Tenant identifier
|
|
580
568
|
* @return Success
|
|
581
569
|
*/
|
|
582
|
-
loadDataSchema(id: string | null,
|
|
570
|
+
loadDataSchema(id: string | null, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<FileResponse>;
|
|
583
571
|
/**
|
|
584
572
|
* Gets variable items information for design file taken from storage
|
|
585
573
|
* @param id Design identifier
|
|
586
|
-
* @param privateStorage (optional) If set to 'true' design will be taken from private storage
|
|
587
574
|
* @param privateStorageOwner (optional) Private storage owner identifier
|
|
588
575
|
* @param tenantId (optional) Tenant identifier
|
|
589
576
|
* @return Success
|
|
590
577
|
*/
|
|
591
|
-
getVariables(id: string | null,
|
|
578
|
+
getVariables(id: string | null, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<VariablesModel>;
|
|
592
579
|
/**
|
|
593
580
|
* Sets variable items values for design file taken from storage
|
|
594
581
|
* @param id Design identifier
|
|
595
|
-
* @param privateStorage (optional) If set to 'true' design will be taken from private storage
|
|
596
582
|
* @param privateStorageOwner (optional) Private storage owner identifier
|
|
597
583
|
* @param tenantId (optional) Tenant identifier
|
|
598
584
|
* @param body (optional) Design variable values
|
|
599
585
|
* @return Success
|
|
600
586
|
*/
|
|
601
|
-
setVariables(id: string | null,
|
|
587
|
+
setVariables(id: string | null, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: VariablesModel | null | undefined): Observable<void>;
|
|
602
588
|
/**
|
|
603
589
|
* Loads variable data printing information from design file taken from storage
|
|
604
590
|
* @param id Design identifier
|
|
605
|
-
* @param privateStorage (optional) If set to 'true' design will be taken from private storage
|
|
606
591
|
* @param privateStorageOwner (optional) Private storage owner identifier
|
|
607
592
|
* @param tenantId (optional) Tenant identifier
|
|
608
593
|
* @return Success
|
|
609
594
|
*/
|
|
610
|
-
loadVdpData(id: string | null,
|
|
595
|
+
loadVdpData(id: string | null, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<VdpDataModel>;
|
|
611
596
|
/**
|
|
612
597
|
* Saves variable data printing information to design file and updates design in storage.
|
|
613
598
|
* @param id Design identifier
|
|
614
|
-
* @param privateStorage (optional) If set to 'true' design will be taken from private storage
|
|
615
599
|
* @param privateStorageOwner (optional) Private storage owner identifier
|
|
616
600
|
* @param tenantId (optional) Tenant identifier
|
|
617
601
|
* @param body (optional) Serialized vdp data
|
|
618
602
|
* @return Success
|
|
619
603
|
*/
|
|
620
|
-
saveVdpData(id: string | null,
|
|
604
|
+
saveVdpData(id: string | null, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: VdpDataModel | null | undefined): Observable<void>;
|
|
621
605
|
/**
|
|
622
|
-
* Deletes variable data printing
|
|
606
|
+
* Deletes variable data printing information from design file and updates design in storage.
|
|
623
607
|
* @param id Design identifier
|
|
624
|
-
* @param privateStorage (optional) If set to 'true' design will be taken from private storage
|
|
625
608
|
* @param privateStorageOwner (optional) Private storage owner identifier
|
|
626
609
|
* @param tenantId (optional) Tenant identifier
|
|
627
610
|
* @return Success
|
|
628
611
|
*/
|
|
629
|
-
deleteVdpData(id: string | null,
|
|
612
|
+
deleteVdpData(id: string | null, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<void>;
|
|
630
613
|
/**
|
|
631
|
-
*
|
|
614
|
+
* Loads product (design model) from resource file taken from storage
|
|
615
|
+
* @param id Resource identifier
|
|
616
|
+
* @param privateStorageOwner (optional) Private storage owner identifier
|
|
632
617
|
* @param tenantId (optional) Tenant identifier
|
|
633
|
-
* @param body (optional) Items to flatten.
|
|
634
618
|
* @return Success
|
|
635
619
|
*/
|
|
636
|
-
|
|
620
|
+
loadProductFromResource(id: string | null, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<any>;
|
|
621
|
+
/**
|
|
622
|
+
* Converts colors
|
|
623
|
+
* @param tenantId (optional) Tenant identifier
|
|
624
|
+
* @param body (optional) Convert colors operation parameters
|
|
625
|
+
* @return Success
|
|
626
|
+
*/
|
|
627
|
+
convertColors(tenantId?: number | undefined, body?: ConvertColorsModel | null | undefined): Observable<any>;
|
|
637
628
|
/**
|
|
638
629
|
* Creates product item
|
|
639
630
|
* @param itemType (optional) Desired item type
|
|
@@ -653,23 +644,20 @@ export interface IDesignAtomsServiceApiClient {
|
|
|
653
644
|
*/
|
|
654
645
|
extractItemImage(tenantId?: number | undefined, body?: ExtractItemImageModel | null | undefined): Observable<FileResponse>;
|
|
655
646
|
/**
|
|
656
|
-
*
|
|
657
|
-
* @param designId (optional) Public design ID.
|
|
658
|
-
* @param privateDesignId (optional) Private design ID.
|
|
659
|
-
* @param privateStorageOwner (optional) Private storage owner ID.
|
|
647
|
+
* Flatten items.
|
|
660
648
|
* @param tenantId (optional) Tenant identifier
|
|
649
|
+
* @param body (optional) Items to flatten.
|
|
661
650
|
* @return Success
|
|
662
651
|
*/
|
|
663
|
-
|
|
652
|
+
flattenItems(tenantId?: number | undefined, body?: any[] | null | undefined): Observable<any>;
|
|
664
653
|
/**
|
|
665
|
-
*
|
|
666
|
-
* @param
|
|
667
|
-
* @param privateDesignId (optional) Private design ID.
|
|
668
|
-
* @param privateStorageOwner (optional) Private storage owner ID.
|
|
654
|
+
* Render product proof image with specified parameters.
|
|
655
|
+
* @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied (default value is 'false').
|
|
669
656
|
* @param tenantId (optional) Tenant identifier
|
|
657
|
+
* @param body (optional) Preview parameters.
|
|
670
658
|
* @return Success
|
|
671
659
|
*/
|
|
672
|
-
|
|
660
|
+
renderProduct(attachment?: boolean | null | undefined, tenantId?: number | undefined, body?: RenderProductModel | null | undefined): Observable<FileResponse>;
|
|
673
661
|
/**
|
|
674
662
|
* Renders a design preview with the specified parameters.
|
|
675
663
|
* @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
|
|
@@ -703,45 +691,39 @@ export interface IDesignAtomsServiceApiClient {
|
|
|
703
691
|
*/
|
|
704
692
|
renderDesignProofToResource(tenantId?: number | undefined, body?: RenderDesignProofToResourceModel | null | undefined): Observable<ResourceInfoDto>;
|
|
705
693
|
/**
|
|
706
|
-
*
|
|
707
|
-
* @param
|
|
694
|
+
* Creates a private design from a public design.
|
|
695
|
+
* @param designId (optional) Public design ID.
|
|
696
|
+
* @param privateDesignId (optional) Private design ID.
|
|
697
|
+
* @param privateStorageOwner (optional) Private storage owner ID.
|
|
708
698
|
* @param tenantId (optional) Tenant identifier
|
|
709
|
-
* @param body (optional) Preview parameters.
|
|
710
699
|
* @return Success
|
|
700
|
+
* @deprecated
|
|
711
701
|
*/
|
|
712
|
-
|
|
702
|
+
createPrivateDesignFromDesign(designId?: string | null | undefined, privateDesignId?: string | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<void>;
|
|
713
703
|
/**
|
|
714
|
-
*
|
|
715
|
-
* @param
|
|
716
|
-
* @param
|
|
717
|
-
* @param privateStorageOwner (optional) Private storage owner
|
|
704
|
+
* Creates a private design from a public resource.
|
|
705
|
+
* @param resourceId (optional) Resource ID.
|
|
706
|
+
* @param privateDesignId (optional) Private design ID.
|
|
707
|
+
* @param privateStorageOwner (optional) Private storage owner ID.
|
|
718
708
|
* @param tenantId (optional) Tenant identifier
|
|
719
709
|
* @return Success
|
|
710
|
+
* @deprecated
|
|
720
711
|
*/
|
|
721
|
-
|
|
712
|
+
createPrivateDesignFromResource(resourceId?: string | null | undefined, privateDesignId?: string | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<void>;
|
|
722
713
|
}
|
|
723
714
|
export declare class DesignAtomsServiceApiClient extends ApiClientBase implements IDesignAtomsServiceApiClient {
|
|
724
715
|
private http;
|
|
725
716
|
private baseUrl;
|
|
726
717
|
protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
|
|
727
718
|
constructor(configuration: ApiClientConfiguration, http: HttpClient, baseUrl?: string);
|
|
728
|
-
/**
|
|
729
|
-
* Converts colors
|
|
730
|
-
* @param tenantId (optional) Tenant identifier
|
|
731
|
-
* @param body (optional) Convert colors operation parameters
|
|
732
|
-
* @return Success
|
|
733
|
-
*/
|
|
734
|
-
convertColors(tenantId?: number | undefined, body?: ConvertColorsModel | null | undefined): Observable<any>;
|
|
735
|
-
protected processConvertColors(response: HttpResponseBase): Observable<any>;
|
|
736
719
|
/**
|
|
737
720
|
* Creates new design file with specified parameters and saves it in storage.
|
|
738
|
-
* @param privateStorage (optional) If set to 'true' design will be saved to private storage
|
|
739
721
|
* @param privateStorageOwner (optional) Private storage owner identifier
|
|
740
722
|
* @param tenantId (optional) Tenant identifier
|
|
741
723
|
* @param body (optional) Design creation parameters
|
|
742
724
|
* @return Success
|
|
743
725
|
*/
|
|
744
|
-
createDesign(
|
|
726
|
+
createDesign(privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: CreateDesignModel | null | undefined): Observable<DesignInfo>;
|
|
745
727
|
protected processCreateDesign(response: HttpResponseBase): Observable<DesignInfo>;
|
|
746
728
|
/**
|
|
747
729
|
* Returns content of the background.
|
|
@@ -756,28 +738,25 @@ export declare class DesignAtomsServiceApiClient extends ApiClientBase implement
|
|
|
756
738
|
/**
|
|
757
739
|
* Loads product (design model) from design file taken from storage
|
|
758
740
|
* @param id Design identifier
|
|
759
|
-
* @param privateStorage (optional) If set to 'true' design will be taken from private storage
|
|
760
741
|
* @param privateStorageOwner (optional) Private storage owner identifier
|
|
761
742
|
* @param tenantId (optional) Tenant identifier
|
|
762
743
|
* @return Success
|
|
763
744
|
*/
|
|
764
|
-
loadProduct(id: string | null,
|
|
745
|
+
loadProduct(id: string | null, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<any>;
|
|
765
746
|
protected processLoadProduct(response: HttpResponseBase): Observable<any>;
|
|
766
747
|
/**
|
|
767
748
|
* Saves product (design model) to design file and updates design in storage.
|
|
768
749
|
* @param id Design identifier
|
|
769
|
-
* @param privateStorage (optional) If set to 'true' design will be saved to private storage
|
|
770
750
|
* @param privateStorageOwner (optional) Private storage owner identifier
|
|
771
751
|
* @param tenantId (optional) Tenant identifier
|
|
772
752
|
* @param body (optional) Serialized product description
|
|
773
753
|
* @return Success
|
|
774
754
|
*/
|
|
775
|
-
saveProduct(id: string | null,
|
|
755
|
+
saveProduct(id: string | null, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | null | undefined): Observable<void>;
|
|
776
756
|
protected processSaveProduct(response: HttpResponseBase): Observable<void>;
|
|
777
757
|
/**
|
|
778
758
|
* Patches product (design model) in design file.
|
|
779
759
|
* @param id Design identifier.
|
|
780
|
-
* @param privateStorage (optional) If set to 'true' design will be taken from private storage.
|
|
781
760
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
782
761
|
* @param tenantId (optional) Tenant identifier
|
|
783
762
|
* @param patchType (optional)
|
|
@@ -788,7 +767,7 @@ export declare class DesignAtomsServiceApiClient extends ApiClientBase implement
|
|
|
788
767
|
* @param replacePlaceholderItemContentInfo_sourceFile (optional)
|
|
789
768
|
* @return Success
|
|
790
769
|
*/
|
|
791
|
-
patchProduct(id: string | null,
|
|
770
|
+
patchProduct(id: string | null, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, patchType?: ProductPatchType | undefined, replaceImageItemFileInfo_itemName?: string | null | undefined, replaceImageItemFileInfo_sourceFile?: FileParameter | null | undefined, replacePlaceholderItemContentInfo_placeholderItemName?: string | null | undefined, replacePlaceholderItemContentInfo_newContentType?: PlaceholderItemContentType | undefined, replacePlaceholderItemContentInfo_sourceFile?: FileParameter | null | undefined): Observable<void>;
|
|
792
771
|
protected processPatchProduct(response: HttpResponseBase): Observable<void>;
|
|
793
772
|
/**
|
|
794
773
|
* Returns design parameters stored in product model.
|
|
@@ -802,73 +781,76 @@ export declare class DesignAtomsServiceApiClient extends ApiClientBase implement
|
|
|
802
781
|
/**
|
|
803
782
|
* Loads data schema from design file taken from storage
|
|
804
783
|
* @param id Design identifier
|
|
805
|
-
* @param privateStorage (optional) If set to 'true' design will be taken from private storage
|
|
806
784
|
* @param privateStorageOwner (optional) Private storage owner identifier
|
|
807
785
|
* @param tenantId (optional) Tenant identifier
|
|
808
786
|
* @return Success
|
|
809
787
|
*/
|
|
810
|
-
loadDataSchema(id: string | null,
|
|
788
|
+
loadDataSchema(id: string | null, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<FileResponse>;
|
|
811
789
|
protected processLoadDataSchema(response: HttpResponseBase): Observable<FileResponse>;
|
|
812
790
|
/**
|
|
813
791
|
* Gets variable items information for design file taken from storage
|
|
814
792
|
* @param id Design identifier
|
|
815
|
-
* @param privateStorage (optional) If set to 'true' design will be taken from private storage
|
|
816
793
|
* @param privateStorageOwner (optional) Private storage owner identifier
|
|
817
794
|
* @param tenantId (optional) Tenant identifier
|
|
818
795
|
* @return Success
|
|
819
796
|
*/
|
|
820
|
-
getVariables(id: string | null,
|
|
797
|
+
getVariables(id: string | null, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<VariablesModel>;
|
|
821
798
|
protected processGetVariables(response: HttpResponseBase): Observable<VariablesModel>;
|
|
822
799
|
/**
|
|
823
800
|
* Sets variable items values for design file taken from storage
|
|
824
801
|
* @param id Design identifier
|
|
825
|
-
* @param privateStorage (optional) If set to 'true' design will be taken from private storage
|
|
826
802
|
* @param privateStorageOwner (optional) Private storage owner identifier
|
|
827
803
|
* @param tenantId (optional) Tenant identifier
|
|
828
804
|
* @param body (optional) Design variable values
|
|
829
805
|
* @return Success
|
|
830
806
|
*/
|
|
831
|
-
setVariables(id: string | null,
|
|
807
|
+
setVariables(id: string | null, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: VariablesModel | null | undefined): Observable<void>;
|
|
832
808
|
protected processSetVariables(response: HttpResponseBase): Observable<void>;
|
|
833
809
|
/**
|
|
834
810
|
* Loads variable data printing information from design file taken from storage
|
|
835
811
|
* @param id Design identifier
|
|
836
|
-
* @param privateStorage (optional) If set to 'true' design will be taken from private storage
|
|
837
812
|
* @param privateStorageOwner (optional) Private storage owner identifier
|
|
838
813
|
* @param tenantId (optional) Tenant identifier
|
|
839
814
|
* @return Success
|
|
840
815
|
*/
|
|
841
|
-
loadVdpData(id: string | null,
|
|
816
|
+
loadVdpData(id: string | null, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<VdpDataModel>;
|
|
842
817
|
protected processLoadVdpData(response: HttpResponseBase): Observable<VdpDataModel>;
|
|
843
818
|
/**
|
|
844
819
|
* Saves variable data printing information to design file and updates design in storage.
|
|
845
820
|
* @param id Design identifier
|
|
846
|
-
* @param privateStorage (optional) If set to 'true' design will be taken from private storage
|
|
847
821
|
* @param privateStorageOwner (optional) Private storage owner identifier
|
|
848
822
|
* @param tenantId (optional) Tenant identifier
|
|
849
823
|
* @param body (optional) Serialized vdp data
|
|
850
824
|
* @return Success
|
|
851
825
|
*/
|
|
852
|
-
saveVdpData(id: string | null,
|
|
826
|
+
saveVdpData(id: string | null, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: VdpDataModel | null | undefined): Observable<void>;
|
|
853
827
|
protected processSaveVdpData(response: HttpResponseBase): Observable<void>;
|
|
854
828
|
/**
|
|
855
|
-
* Deletes variable data printing
|
|
829
|
+
* Deletes variable data printing information from design file and updates design in storage.
|
|
856
830
|
* @param id Design identifier
|
|
857
|
-
* @param privateStorage (optional) If set to 'true' design will be taken from private storage
|
|
858
831
|
* @param privateStorageOwner (optional) Private storage owner identifier
|
|
859
832
|
* @param tenantId (optional) Tenant identifier
|
|
860
833
|
* @return Success
|
|
861
834
|
*/
|
|
862
|
-
deleteVdpData(id: string | null,
|
|
835
|
+
deleteVdpData(id: string | null, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<void>;
|
|
863
836
|
protected processDeleteVdpData(response: HttpResponseBase): Observable<void>;
|
|
864
837
|
/**
|
|
865
|
-
*
|
|
838
|
+
* Loads product (design model) from resource file taken from storage
|
|
839
|
+
* @param id Resource identifier
|
|
840
|
+
* @param privateStorageOwner (optional) Private storage owner identifier
|
|
866
841
|
* @param tenantId (optional) Tenant identifier
|
|
867
|
-
* @param body (optional) Items to flatten.
|
|
868
842
|
* @return Success
|
|
869
843
|
*/
|
|
870
|
-
|
|
871
|
-
protected
|
|
844
|
+
loadProductFromResource(id: string | null, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<any>;
|
|
845
|
+
protected processLoadProductFromResource(response: HttpResponseBase): Observable<any>;
|
|
846
|
+
/**
|
|
847
|
+
* Converts colors
|
|
848
|
+
* @param tenantId (optional) Tenant identifier
|
|
849
|
+
* @param body (optional) Convert colors operation parameters
|
|
850
|
+
* @return Success
|
|
851
|
+
*/
|
|
852
|
+
convertColors(tenantId?: number | undefined, body?: ConvertColorsModel | null | undefined): Observable<any>;
|
|
853
|
+
protected processConvertColors(response: HttpResponseBase): Observable<any>;
|
|
872
854
|
/**
|
|
873
855
|
* Creates product item
|
|
874
856
|
* @param itemType (optional) Desired item type
|
|
@@ -890,25 +872,22 @@ export declare class DesignAtomsServiceApiClient extends ApiClientBase implement
|
|
|
890
872
|
extractItemImage(tenantId?: number | undefined, body?: ExtractItemImageModel | null | undefined): Observable<FileResponse>;
|
|
891
873
|
protected processExtractItemImage(response: HttpResponseBase): Observable<FileResponse>;
|
|
892
874
|
/**
|
|
893
|
-
*
|
|
894
|
-
* @param designId (optional) Public design ID.
|
|
895
|
-
* @param privateDesignId (optional) Private design ID.
|
|
896
|
-
* @param privateStorageOwner (optional) Private storage owner ID.
|
|
875
|
+
* Flatten items.
|
|
897
876
|
* @param tenantId (optional) Tenant identifier
|
|
877
|
+
* @param body (optional) Items to flatten.
|
|
898
878
|
* @return Success
|
|
899
879
|
*/
|
|
900
|
-
|
|
901
|
-
protected
|
|
880
|
+
flattenItems(tenantId?: number | undefined, body?: any[] | null | undefined): Observable<any>;
|
|
881
|
+
protected processFlattenItems(response: HttpResponseBase): Observable<any>;
|
|
902
882
|
/**
|
|
903
|
-
*
|
|
904
|
-
* @param
|
|
905
|
-
* @param privateDesignId (optional) Private design ID.
|
|
906
|
-
* @param privateStorageOwner (optional) Private storage owner ID.
|
|
883
|
+
* Render product proof image with specified parameters.
|
|
884
|
+
* @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied (default value is 'false').
|
|
907
885
|
* @param tenantId (optional) Tenant identifier
|
|
886
|
+
* @param body (optional) Preview parameters.
|
|
908
887
|
* @return Success
|
|
909
888
|
*/
|
|
910
|
-
|
|
911
|
-
protected
|
|
889
|
+
renderProduct(attachment?: boolean | null | undefined, tenantId?: number | undefined, body?: RenderProductModel | null | undefined): Observable<FileResponse>;
|
|
890
|
+
protected processRenderProduct(response: HttpResponseBase): Observable<FileResponse>;
|
|
912
891
|
/**
|
|
913
892
|
* Renders a design preview with the specified parameters.
|
|
914
893
|
* @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
|
|
@@ -946,24 +925,27 @@ export declare class DesignAtomsServiceApiClient extends ApiClientBase implement
|
|
|
946
925
|
renderDesignProofToResource(tenantId?: number | undefined, body?: RenderDesignProofToResourceModel | null | undefined): Observable<ResourceInfoDto>;
|
|
947
926
|
protected processRenderDesignProofToResource(response: HttpResponseBase): Observable<ResourceInfoDto>;
|
|
948
927
|
/**
|
|
949
|
-
*
|
|
950
|
-
* @param
|
|
928
|
+
* Creates a private design from a public design.
|
|
929
|
+
* @param designId (optional) Public design ID.
|
|
930
|
+
* @param privateDesignId (optional) Private design ID.
|
|
931
|
+
* @param privateStorageOwner (optional) Private storage owner ID.
|
|
951
932
|
* @param tenantId (optional) Tenant identifier
|
|
952
|
-
* @param body (optional) Preview parameters.
|
|
953
933
|
* @return Success
|
|
934
|
+
* @deprecated
|
|
954
935
|
*/
|
|
955
|
-
|
|
956
|
-
protected
|
|
936
|
+
createPrivateDesignFromDesign(designId?: string | null | undefined, privateDesignId?: string | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<void>;
|
|
937
|
+
protected processCreatePrivateDesignFromDesign(response: HttpResponseBase): Observable<void>;
|
|
957
938
|
/**
|
|
958
|
-
*
|
|
959
|
-
* @param
|
|
960
|
-
* @param
|
|
961
|
-
* @param privateStorageOwner (optional) Private storage owner
|
|
939
|
+
* Creates a private design from a public resource.
|
|
940
|
+
* @param resourceId (optional) Resource ID.
|
|
941
|
+
* @param privateDesignId (optional) Private design ID.
|
|
942
|
+
* @param privateStorageOwner (optional) Private storage owner ID.
|
|
962
943
|
* @param tenantId (optional) Tenant identifier
|
|
963
944
|
* @return Success
|
|
945
|
+
* @deprecated
|
|
964
946
|
*/
|
|
965
|
-
|
|
966
|
-
protected
|
|
947
|
+
createPrivateDesignFromResource(resourceId?: string | null | undefined, privateDesignId?: string | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<void>;
|
|
948
|
+
protected processCreatePrivateDesignFromResource(response: HttpResponseBase): Observable<void>;
|
|
967
949
|
}
|
|
968
950
|
export interface IDesignAtomsViewerApiClient {
|
|
969
951
|
/**
|
|
@@ -1525,6 +1507,8 @@ export interface RenderImagePreviewModel {
|
|
|
1525
1507
|
imageId?: string | null;
|
|
1526
1508
|
/** Storage image owner identifier. */
|
|
1527
1509
|
ownerId?: string | null;
|
|
1510
|
+
/** Mockup owner identifier. */
|
|
1511
|
+
mockupOwnerId?: string | null;
|
|
1528
1512
|
/** Mockup identifier. */
|
|
1529
1513
|
mockupId?: string | null;
|
|
1530
1514
|
/** Image preview configuration. */
|
|
@@ -1547,6 +1531,8 @@ export interface RenderImagePreviewToResourceModel {
|
|
|
1547
1531
|
imageId?: string | null;
|
|
1548
1532
|
/** Storage image owner identifier. */
|
|
1549
1533
|
ownerId?: string | null;
|
|
1534
|
+
/** Mockup owner identifier. */
|
|
1535
|
+
mockupOwnerId?: string | null;
|
|
1550
1536
|
/** Mockup identifier. */
|
|
1551
1537
|
mockupId?: string | null;
|
|
1552
1538
|
/** Image preview configuration. */
|
|
@@ -1565,26 +1551,15 @@ export interface Mockup3dAttributesDto {
|
|
|
1565
1551
|
[key: string]: string;
|
|
1566
1552
|
} | null;
|
|
1567
1553
|
}
|
|
1568
|
-
/**
|
|
1569
|
-
export interface ConvertColorsModel {
|
|
1570
|
-
/** Serialized color description */
|
|
1571
|
-
colors: any[];
|
|
1572
|
-
/** Source color profile description */
|
|
1573
|
-
sourceColorProfile?: string | null;
|
|
1574
|
-
/** Destination color profile description */
|
|
1575
|
-
destinationColorProfile?: string | null;
|
|
1576
|
-
/** Targent color profile description */
|
|
1577
|
-
targetDeviceColorProfile?: string | null;
|
|
1578
|
-
}
|
|
1579
|
-
/** Design creation parameters */
|
|
1554
|
+
/** Design creation parameters. */
|
|
1580
1555
|
export interface CreateDesignModel {
|
|
1581
|
-
/** Serialized product description */
|
|
1556
|
+
/** Serialized product description. */
|
|
1582
1557
|
product?: any | null;
|
|
1583
|
-
/** Serialized product data schema (base64 file stream) */
|
|
1558
|
+
/** Serialized product data schema (base64 file stream). */
|
|
1584
1559
|
dataSchema?: string | null;
|
|
1585
|
-
/** Design name */
|
|
1560
|
+
/** Design name. */
|
|
1586
1561
|
name?: string | null;
|
|
1587
|
-
/** Design location (folder path) */
|
|
1562
|
+
/** Design location (folder path). */
|
|
1588
1563
|
path?: string | null;
|
|
1589
1564
|
}
|
|
1590
1565
|
export interface DesignInfo {
|
|
@@ -1648,35 +1623,92 @@ export interface VariableInfo {
|
|
|
1648
1623
|
/** Variable type. */
|
|
1649
1624
|
type?: string | null;
|
|
1650
1625
|
}
|
|
1651
|
-
/** Variables information */
|
|
1626
|
+
/** Variables information. */
|
|
1652
1627
|
export interface VariablesModel {
|
|
1653
|
-
/** List of variables */
|
|
1628
|
+
/** List of variables. */
|
|
1654
1629
|
items?: VariableInfo[] | null;
|
|
1655
1630
|
}
|
|
1656
|
-
/** Variable data printing information */
|
|
1631
|
+
/** Variable data printing information. */
|
|
1657
1632
|
export interface VdpDataModel {
|
|
1658
|
-
/** Serialized vdp dataset */
|
|
1633
|
+
/** Serialized vdp dataset. */
|
|
1659
1634
|
vdpDataSet?: any | null;
|
|
1660
|
-
/** Serialized vdp items data */
|
|
1635
|
+
/** Serialized vdp items data. */
|
|
1661
1636
|
vdpItemsData?: any | null;
|
|
1662
1637
|
}
|
|
1638
|
+
/** Convert colors operation parameters. */
|
|
1639
|
+
export interface ConvertColorsModel {
|
|
1640
|
+
/** Serialized color description. */
|
|
1641
|
+
colors: any[];
|
|
1642
|
+
/** Source color profile description. */
|
|
1643
|
+
sourceColorProfile?: string | null;
|
|
1644
|
+
/** Destination color profile description. */
|
|
1645
|
+
destinationColorProfile?: string | null;
|
|
1646
|
+
/** Targent color profile description. */
|
|
1647
|
+
targetDeviceColorProfile?: string | null;
|
|
1648
|
+
}
|
|
1663
1649
|
export declare enum ItemType {
|
|
1664
1650
|
Image = "Image",
|
|
1665
1651
|
Shape = "Shape",
|
|
1666
1652
|
Clipart = "Clipart",
|
|
1667
1653
|
Group = "Group"
|
|
1668
1654
|
}
|
|
1669
|
-
/** Item souce types */
|
|
1655
|
+
/** Item souce types. */
|
|
1670
1656
|
export declare enum ItemSourceType {
|
|
1671
1657
|
File = "File",
|
|
1672
1658
|
ImageStorage = "ImageStorage",
|
|
1673
1659
|
PrivateImageStorage = "PrivateImageStorage"
|
|
1674
1660
|
}
|
|
1675
|
-
/** Render product parameters */
|
|
1661
|
+
/** Render product parameters. */
|
|
1676
1662
|
export interface ExtractItemImageModel {
|
|
1677
|
-
/** Serialized item description */
|
|
1663
|
+
/** Serialized item description. */
|
|
1678
1664
|
item: any;
|
|
1679
1665
|
}
|
|
1666
|
+
export declare enum ProductProofFormat {
|
|
1667
|
+
Jpeg = "Jpeg",
|
|
1668
|
+
Png = "Png",
|
|
1669
|
+
Tiff = "Tiff",
|
|
1670
|
+
Pdf = "Pdf"
|
|
1671
|
+
}
|
|
1672
|
+
export declare enum ProductProofInterpolationMode {
|
|
1673
|
+
High = "High",
|
|
1674
|
+
Medium = "Medium",
|
|
1675
|
+
Low = "Low",
|
|
1676
|
+
NearestNeighbour = "NearestNeighbour",
|
|
1677
|
+
Linear = "Linear",
|
|
1678
|
+
Cubic = "Cubic",
|
|
1679
|
+
Supersampling = "Supersampling",
|
|
1680
|
+
Lanczos = "Lanczos",
|
|
1681
|
+
Anisotropic4 = "Anisotropic4",
|
|
1682
|
+
Anisotropic9 = "Anisotropic9",
|
|
1683
|
+
Lanczos3 = "Lanczos3"
|
|
1684
|
+
}
|
|
1685
|
+
export interface ProductProofRenderingConfig {
|
|
1686
|
+
/** Surface to render */
|
|
1687
|
+
surfaceIndex?: number | null;
|
|
1688
|
+
/** Desired proof image width */
|
|
1689
|
+
width?: number;
|
|
1690
|
+
/** Desired proof image height */
|
|
1691
|
+
height?: number;
|
|
1692
|
+
/** Desired proof image format */
|
|
1693
|
+
format?: ProductProofFormat | null;
|
|
1694
|
+
/** Desired proof image interpolation */
|
|
1695
|
+
interpolationMode?: ProductProofInterpolationMode | null;
|
|
1696
|
+
/** Defines whether safety lines should be visualized */
|
|
1697
|
+
safetyLinesEnabled?: boolean | null;
|
|
1698
|
+
/** Defines whether watermark should be included */
|
|
1699
|
+
watermarkEnabled?: boolean | null;
|
|
1700
|
+
/** Defines watermark opacity (in range 0 .. 1.0) */
|
|
1701
|
+
watermarkOpacity?: number | null;
|
|
1702
|
+
/** Defines whether watermark should be repeated */
|
|
1703
|
+
watermarkRepeat?: boolean | null;
|
|
1704
|
+
}
|
|
1705
|
+
/** Render product parameters. */
|
|
1706
|
+
export interface RenderProductModel {
|
|
1707
|
+
/** Serialized product description. */
|
|
1708
|
+
product: any;
|
|
1709
|
+
/** Proof Image rendering config. */
|
|
1710
|
+
renderingConfig?: ProductProofRenderingConfig | null;
|
|
1711
|
+
}
|
|
1680
1712
|
/** Product preview file format. */
|
|
1681
1713
|
export declare enum ProductPreviewFormat {
|
|
1682
1714
|
Jpeg = "Jpeg",
|
|
@@ -1697,6 +1729,8 @@ Used to get mockup file from public storage. */
|
|
|
1697
1729
|
mockupId?: string | null;
|
|
1698
1730
|
/** ID of the design owner. */
|
|
1699
1731
|
ownerId?: string | null;
|
|
1732
|
+
/** ID of the mockup owner. */
|
|
1733
|
+
mockupOwnerId?: string | null;
|
|
1700
1734
|
/** Rendering configuration for getting a preview of design. */
|
|
1701
1735
|
renderingConfig?: ProductPreviewRenderingConfig | null;
|
|
1702
1736
|
/** Variable (user) data for design variable fields in the preview image. */
|
|
@@ -1713,50 +1747,13 @@ Used to get mockup file from public storage. */
|
|
|
1713
1747
|
mockupId?: string | null;
|
|
1714
1748
|
/** ID of the design owner. */
|
|
1715
1749
|
ownerId?: string | null;
|
|
1750
|
+
/** ID of the mockup owner. */
|
|
1751
|
+
mockupOwnerId?: string | null;
|
|
1716
1752
|
/** Rendering configuration for getting a preview of design. */
|
|
1717
1753
|
renderingConfig?: ProductPreviewRenderingConfig | null;
|
|
1718
1754
|
/** Variable (user) data for design variable fields in the preview image. */
|
|
1719
1755
|
variableData?: VariableInfo[] | null;
|
|
1720
1756
|
}
|
|
1721
|
-
export declare enum ProductProofFormat {
|
|
1722
|
-
Jpeg = "Jpeg",
|
|
1723
|
-
Png = "Png",
|
|
1724
|
-
Tiff = "Tiff",
|
|
1725
|
-
Pdf = "Pdf"
|
|
1726
|
-
}
|
|
1727
|
-
export declare enum ProductProofInterpolationMode {
|
|
1728
|
-
High = "High",
|
|
1729
|
-
Medium = "Medium",
|
|
1730
|
-
Low = "Low",
|
|
1731
|
-
NearestNeighbour = "NearestNeighbour",
|
|
1732
|
-
Linear = "Linear",
|
|
1733
|
-
Cubic = "Cubic",
|
|
1734
|
-
Supersampling = "Supersampling",
|
|
1735
|
-
Lanczos = "Lanczos",
|
|
1736
|
-
Anisotropic4 = "Anisotropic4",
|
|
1737
|
-
Anisotropic9 = "Anisotropic9",
|
|
1738
|
-
Lanczos3 = "Lanczos3"
|
|
1739
|
-
}
|
|
1740
|
-
export interface ProductProofRenderingConfig {
|
|
1741
|
-
/** Surface to render */
|
|
1742
|
-
surfaceIndex?: number | null;
|
|
1743
|
-
/** Desired proof image width */
|
|
1744
|
-
width?: number;
|
|
1745
|
-
/** Desired proof image height */
|
|
1746
|
-
height?: number;
|
|
1747
|
-
/** Desired proof image format */
|
|
1748
|
-
format?: ProductProofFormat | null;
|
|
1749
|
-
/** Desired proof image interpolation */
|
|
1750
|
-
interpolationMode?: ProductProofInterpolationMode | null;
|
|
1751
|
-
/** Defines whether safety lines should be visualized */
|
|
1752
|
-
safetyLinesEnabled?: boolean | null;
|
|
1753
|
-
/** Defines whether watermark should be included */
|
|
1754
|
-
watermarkEnabled?: boolean | null;
|
|
1755
|
-
/** Defines watermark opacity (in range 0 .. 1.0) */
|
|
1756
|
-
watermarkOpacity?: number | null;
|
|
1757
|
-
/** Defines whether watermark should be repeated */
|
|
1758
|
-
watermarkRepeat?: boolean | null;
|
|
1759
|
-
}
|
|
1760
1757
|
export interface RenderDesignProofModel {
|
|
1761
1758
|
/** Design ID.
|
|
1762
1759
|
Used to get design file from public or private storage. */
|
|
@@ -1781,13 +1778,6 @@ Used to get design file from public or private storage. */
|
|
|
1781
1778
|
/** Variable (user) data for design variable fields in the proof image. */
|
|
1782
1779
|
variableData?: VariableInfo[] | null;
|
|
1783
1780
|
}
|
|
1784
|
-
/** Render product parameters */
|
|
1785
|
-
export interface RenderProductModel {
|
|
1786
|
-
/** Serialized product description */
|
|
1787
|
-
product: any;
|
|
1788
|
-
/** Proof Image rendering config */
|
|
1789
|
-
renderingConfig?: ProductProofRenderingConfig | null;
|
|
1790
|
-
}
|
|
1791
1781
|
export interface FileParameter {
|
|
1792
1782
|
data: any;
|
|
1793
1783
|
fileName: string;
|