@aurigma/ng-design-atoms-api-client 2.13.1 → 2.16.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.
@@ -47,11 +47,6 @@ export declare class BuildInfoApiClient extends ApiClientBase implements IBuildI
47
47
  protected processGetInfo(response: HttpResponseBase): Observable<BuildInfoModel>;
48
48
  }
49
49
  export interface IDesignAtomsCompatibilityApiClient {
50
- /**
51
- * @param body (optional)
52
- * @return Success
53
- */
54
- updateArchedTextItemHandler(tenantId: number, body?: UpdateHandlerRequest | null | undefined): Observable<any>;
55
50
  /**
56
51
  * @param body (optional)
57
52
  * @return Success
@@ -125,6 +120,11 @@ export interface IDesignAtomsCompatibilityApiClient {
125
120
  * @return Success
126
121
  */
127
122
  txt(tenantId: number, f?: string | null | undefined): Observable<FileResponse>;
123
+ /**
124
+ * @param body (optional)
125
+ * @return Success
126
+ */
127
+ updateArchedTextItemHandler(tenantId: number, body?: UpdateHandlerRequest | null | undefined): Observable<any>;
128
128
  /**
129
129
  * @param body (optional)
130
130
  * @return Success
@@ -181,12 +181,6 @@ export declare class DesignAtomsCompatibilityApiClient extends ApiClientBase imp
181
181
  private baseUrl;
182
182
  protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
183
183
  constructor(configuration: ApiClientConfiguration, http: HttpClient, baseUrl?: string);
184
- /**
185
- * @param body (optional)
186
- * @return Success
187
- */
188
- updateArchedTextItemHandler(tenantId: number, body?: UpdateHandlerRequest | null | undefined): Observable<any>;
189
- protected processUpdateArchedTextItemHandler(response: HttpResponseBase): Observable<any>;
190
184
  /**
191
185
  * @param body (optional)
192
186
  * @return Success
@@ -272,6 +266,12 @@ export declare class DesignAtomsCompatibilityApiClient extends ApiClientBase imp
272
266
  */
273
267
  txt(tenantId: number, f?: string | null | undefined): Observable<FileResponse>;
274
268
  protected processTxt(response: HttpResponseBase): Observable<FileResponse>;
269
+ /**
270
+ * @param body (optional)
271
+ * @return Success
272
+ */
273
+ updateArchedTextItemHandler(tenantId: number, body?: UpdateHandlerRequest | null | undefined): Observable<any>;
274
+ protected processUpdateArchedTextItemHandler(response: HttpResponseBase): Observable<any>;
275
275
  /**
276
276
  * @param body (optional)
277
277
  * @return Success
@@ -351,7 +351,7 @@ export interface IDesignAtomsServiceApiClient {
351
351
  */
352
352
  createDesign(privateStorage?: boolean | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: CreateDesignModel | null | undefined): Observable<DesignInfo>;
353
353
  /**
354
- * Loads product from design file taken from storage
354
+ * Loads product (design model) from design file taken from storage
355
355
  * @param id Design identifier
356
356
  * @param privateStorage (optional) If set to 'true' design will be taken from private storage
357
357
  * @param privateStorageOwner (optional) Private storage owner identifier
@@ -360,7 +360,7 @@ export interface IDesignAtomsServiceApiClient {
360
360
  */
361
361
  loadProduct(id: string | null, privateStorage?: boolean | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<any>;
362
362
  /**
363
- * Saves product to design file and updates design in storage.
363
+ * Saves product (design model) to design file and updates design in storage.
364
364
  * @param id Design identifier
365
365
  * @param privateStorage (optional) If set to 'true' design will be saved to private storage
366
366
  * @param privateStorageOwner (optional) Private storage owner identifier
@@ -369,6 +369,16 @@ export interface IDesignAtomsServiceApiClient {
369
369
  * @return Success
370
370
  */
371
371
  saveProduct(id: string | null, privateStorage?: boolean | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | null | undefined): Observable<void>;
372
+ /**
373
+ * Patches product (design model) in design file
374
+ * @param id Design identifier
375
+ * @param tenantId (optional) Tenant identifier
376
+ * @param patchType (optional)
377
+ * @param replaceImageItemFileInfo_itemName (optional)
378
+ * @param replaceImageItemFileInfo_sourceFile (optional)
379
+ * @return Success
380
+ */
381
+ patchProduct(id: string | null, tenantId?: number | undefined, patchType?: ProductPatchType | undefined, replaceImageItemFileInfo_itemName?: string | null | undefined, replaceImageItemFileInfo_sourceFile?: FileParameter | null | undefined): Observable<void>;
372
382
  /**
373
383
  * Loads data schema from design file taken from storage
374
384
  * @param id Design identifier
@@ -464,7 +474,7 @@ export declare class DesignAtomsServiceApiClient extends ApiClientBase implement
464
474
  createDesign(privateStorage?: boolean | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: CreateDesignModel | null | undefined): Observable<DesignInfo>;
465
475
  protected processCreateDesign(response: HttpResponseBase): Observable<DesignInfo>;
466
476
  /**
467
- * Loads product from design file taken from storage
477
+ * Loads product (design model) from design file taken from storage
468
478
  * @param id Design identifier
469
479
  * @param privateStorage (optional) If set to 'true' design will be taken from private storage
470
480
  * @param privateStorageOwner (optional) Private storage owner identifier
@@ -474,7 +484,7 @@ export declare class DesignAtomsServiceApiClient extends ApiClientBase implement
474
484
  loadProduct(id: string | null, privateStorage?: boolean | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<any>;
475
485
  protected processLoadProduct(response: HttpResponseBase): Observable<any>;
476
486
  /**
477
- * Saves product to design file and updates design in storage.
487
+ * Saves product (design model) to design file and updates design in storage.
478
488
  * @param id Design identifier
479
489
  * @param privateStorage (optional) If set to 'true' design will be saved to private storage
480
490
  * @param privateStorageOwner (optional) Private storage owner identifier
@@ -484,6 +494,17 @@ export declare class DesignAtomsServiceApiClient extends ApiClientBase implement
484
494
  */
485
495
  saveProduct(id: string | null, privateStorage?: boolean | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | null | undefined): Observable<void>;
486
496
  protected processSaveProduct(response: HttpResponseBase): Observable<void>;
497
+ /**
498
+ * Patches product (design model) in design file
499
+ * @param id Design identifier
500
+ * @param tenantId (optional) Tenant identifier
501
+ * @param patchType (optional)
502
+ * @param replaceImageItemFileInfo_itemName (optional)
503
+ * @param replaceImageItemFileInfo_sourceFile (optional)
504
+ * @return Success
505
+ */
506
+ patchProduct(id: string | null, tenantId?: number | undefined, patchType?: ProductPatchType | undefined, replaceImageItemFileInfo_itemName?: string | null | undefined, replaceImageItemFileInfo_sourceFile?: FileParameter | null | undefined): Observable<void>;
507
+ protected processPatchProduct(response: HttpResponseBase): Observable<void>;
487
508
  /**
488
509
  * Loads data schema from design file taken from storage
489
510
  * @param id Design identifier
@@ -565,12 +586,6 @@ export declare class DesignAtomsServiceApiClient extends ApiClientBase implement
565
586
  protected processRenderProduct(response: HttpResponseBase): Observable<FileResponse>;
566
587
  }
567
588
  export interface IDesignAtomsViewerApiClient {
568
- /**
569
- * @param tenantId (optional) Tenant identifier
570
- * @param body (optional)
571
- * @return Success
572
- */
573
- updateArchedTextItemHandler(tenantId?: number | undefined, body?: UpdateHandlerRequest | null | undefined): Observable<any>;
574
589
  /**
575
590
  * @param tenantId (optional) Tenant identifier
576
591
  * @param body (optional)
@@ -656,6 +671,12 @@ export interface IDesignAtomsViewerApiClient {
656
671
  * @return Success
657
672
  */
658
673
  txt(f?: string | null | undefined, tenantId?: number | undefined): Observable<FileResponse>;
674
+ /**
675
+ * @param tenantId (optional) Tenant identifier
676
+ * @param body (optional)
677
+ * @return Success
678
+ */
679
+ updateArchedTextItemHandler(tenantId?: number | undefined, body?: UpdateHandlerRequest | null | undefined): Observable<any>;
659
680
  /**
660
681
  * @param tenantId (optional) Tenant identifier
661
682
  * @param body (optional)
@@ -722,13 +743,6 @@ export declare class DesignAtomsViewerApiClient extends ApiClientBase implements
722
743
  private baseUrl;
723
744
  protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
724
745
  constructor(configuration: ApiClientConfiguration, http: HttpClient, baseUrl?: string);
725
- /**
726
- * @param tenantId (optional) Tenant identifier
727
- * @param body (optional)
728
- * @return Success
729
- */
730
- updateArchedTextItemHandler(tenantId?: number | undefined, body?: UpdateHandlerRequest | null | undefined): Observable<any>;
731
- protected processUpdateArchedTextItemHandler(response: HttpResponseBase): Observable<any>;
732
746
  /**
733
747
  * @param tenantId (optional) Tenant identifier
734
748
  * @param body (optional)
@@ -826,6 +840,13 @@ export declare class DesignAtomsViewerApiClient extends ApiClientBase implements
826
840
  */
827
841
  txt(f?: string | null | undefined, tenantId?: number | undefined): Observable<FileResponse>;
828
842
  protected processTxt(response: HttpResponseBase): Observable<FileResponse>;
843
+ /**
844
+ * @param tenantId (optional) Tenant identifier
845
+ * @param body (optional)
846
+ * @return Success
847
+ */
848
+ updateArchedTextItemHandler(tenantId?: number | undefined, body?: UpdateHandlerRequest | null | undefined): Observable<any>;
849
+ protected processUpdateArchedTextItemHandler(response: HttpResponseBase): Observable<any>;
829
850
  /**
830
851
  * @param tenantId (optional) Tenant identifier
831
852
  * @param body (optional)
@@ -908,11 +929,6 @@ export interface BuildInfoModel {
908
929
  /** Service name */
909
930
  appName?: string | null;
910
931
  }
911
- export interface UpdateHandlerRequest {
912
- canvasData?: string | null;
913
- itemHandlerData?: string | null;
914
- itemData?: any | null;
915
- }
916
932
  export interface FontsMethodData {
917
933
  requestedFontsByPsName?: string[] | null;
918
934
  advancedMode?: boolean;
@@ -954,6 +970,11 @@ export interface RectangleF {
954
970
  readonly bottom?: number;
955
971
  readonly isEmpty?: boolean;
956
972
  }
973
+ export interface UpdateHandlerRequest {
974
+ canvasData?: string | null;
975
+ itemHandlerData?: string | null;
976
+ itemData?: any | null;
977
+ }
957
978
  export interface UpdateColorsRequest {
958
979
  canvasData?: string | null;
959
980
  colorData?: string | null;
@@ -1009,6 +1030,11 @@ export interface DesignInfo {
1009
1030
  name?: string | null;
1010
1031
  private?: boolean;
1011
1032
  }
1033
+ /** Available patch type */
1034
+ export declare enum ProductPatchType {
1035
+ Undefined = "Undefined",
1036
+ ReplaceImageItemFile = "ReplaceImageItemFile"
1037
+ }
1012
1038
  /** Variable information */
1013
1039
  export interface VariableInfo {
1014
1040
  /** Variable name */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aurigma/ng-design-atoms-api-client",
3
- "version": "2.13.1",
3
+ "version": "2.16.1",
4
4
  "license": "SEE LICENSE IN License.md",
5
5
  "description": "Angular API Client for Design Atoms API service of Customer's Canvas web-to-print system.",
6
6
  "author": "Aurigma Inc <info@aurigma.com> (https://customerscanvas.com)",