@aurigma/ng-design-atoms-api-client 2.12.5 → 2.15.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
@@ -413,6 +423,13 @@ export interface IDesignAtomsServiceApiClient {
413
423
  * @return Success
414
424
  */
415
425
  deleteVdpData(id: string | null, tenantId?: number | undefined): Observable<void>;
426
+ /**
427
+ * Flatten items
428
+ * @param tenantId (optional) Tenant identifier
429
+ * @param body (optional) Items to flatten
430
+ * @return Success
431
+ */
432
+ flattenItems(tenantId?: number | undefined, body?: any[] | null | undefined): Observable<any>;
416
433
  /**
417
434
  * Creates product item
418
435
  * @param itemType (optional) Desired item type
@@ -457,7 +474,7 @@ export declare class DesignAtomsServiceApiClient extends ApiClientBase implement
457
474
  createDesign(privateStorage?: boolean | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: CreateDesignModel | null | undefined): Observable<DesignInfo>;
458
475
  protected processCreateDesign(response: HttpResponseBase): Observable<DesignInfo>;
459
476
  /**
460
- * Loads product from design file taken from storage
477
+ * Loads product (design model) from design file taken from storage
461
478
  * @param id Design identifier
462
479
  * @param privateStorage (optional) If set to 'true' design will be taken from private storage
463
480
  * @param privateStorageOwner (optional) Private storage owner identifier
@@ -467,7 +484,7 @@ export declare class DesignAtomsServiceApiClient extends ApiClientBase implement
467
484
  loadProduct(id: string | null, privateStorage?: boolean | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<any>;
468
485
  protected processLoadProduct(response: HttpResponseBase): Observable<any>;
469
486
  /**
470
- * Saves product to design file and updates design in storage.
487
+ * Saves product (design model) to design file and updates design in storage.
471
488
  * @param id Design identifier
472
489
  * @param privateStorage (optional) If set to 'true' design will be saved to private storage
473
490
  * @param privateStorageOwner (optional) Private storage owner identifier
@@ -477,6 +494,17 @@ export declare class DesignAtomsServiceApiClient extends ApiClientBase implement
477
494
  */
478
495
  saveProduct(id: string | null, privateStorage?: boolean | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | null | undefined): Observable<void>;
479
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>;
480
508
  /**
481
509
  * Loads data schema from design file taken from storage
482
510
  * @param id Design identifier
@@ -527,6 +555,14 @@ export declare class DesignAtomsServiceApiClient extends ApiClientBase implement
527
555
  */
528
556
  deleteVdpData(id: string | null, tenantId?: number | undefined): Observable<void>;
529
557
  protected processDeleteVdpData(response: HttpResponseBase): Observable<void>;
558
+ /**
559
+ * Flatten items
560
+ * @param tenantId (optional) Tenant identifier
561
+ * @param body (optional) Items to flatten
562
+ * @return Success
563
+ */
564
+ flattenItems(tenantId?: number | undefined, body?: any[] | null | undefined): Observable<any>;
565
+ protected processFlattenItems(response: HttpResponseBase): Observable<any>;
530
566
  /**
531
567
  * Creates product item
532
568
  * @param itemType (optional) Desired item type
@@ -550,12 +586,6 @@ export declare class DesignAtomsServiceApiClient extends ApiClientBase implement
550
586
  protected processRenderProduct(response: HttpResponseBase): Observable<FileResponse>;
551
587
  }
552
588
  export interface IDesignAtomsViewerApiClient {
553
- /**
554
- * @param tenantId (optional) Tenant identifier
555
- * @param body (optional)
556
- * @return Success
557
- */
558
- updateArchedTextItemHandler(tenantId?: number | undefined, body?: UpdateHandlerRequest | null | undefined): Observable<any>;
559
589
  /**
560
590
  * @param tenantId (optional) Tenant identifier
561
591
  * @param body (optional)
@@ -641,6 +671,12 @@ export interface IDesignAtomsViewerApiClient {
641
671
  * @return Success
642
672
  */
643
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>;
644
680
  /**
645
681
  * @param tenantId (optional) Tenant identifier
646
682
  * @param body (optional)
@@ -707,13 +743,6 @@ export declare class DesignAtomsViewerApiClient extends ApiClientBase implements
707
743
  private baseUrl;
708
744
  protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
709
745
  constructor(configuration: ApiClientConfiguration, http: HttpClient, baseUrl?: string);
710
- /**
711
- * @param tenantId (optional) Tenant identifier
712
- * @param body (optional)
713
- * @return Success
714
- */
715
- updateArchedTextItemHandler(tenantId?: number | undefined, body?: UpdateHandlerRequest | null | undefined): Observable<any>;
716
- protected processUpdateArchedTextItemHandler(response: HttpResponseBase): Observable<any>;
717
746
  /**
718
747
  * @param tenantId (optional) Tenant identifier
719
748
  * @param body (optional)
@@ -811,6 +840,13 @@ export declare class DesignAtomsViewerApiClient extends ApiClientBase implements
811
840
  */
812
841
  txt(f?: string | null | undefined, tenantId?: number | undefined): Observable<FileResponse>;
813
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>;
814
850
  /**
815
851
  * @param tenantId (optional) Tenant identifier
816
852
  * @param body (optional)
@@ -893,14 +929,10 @@ export interface BuildInfoModel {
893
929
  /** Service name */
894
930
  appName?: string | null;
895
931
  }
896
- export interface UpdateHandlerRequest {
897
- canvasData?: string | null;
898
- itemHandlerData?: string | null;
899
- itemData?: any | null;
900
- }
901
932
  export interface FontsMethodData {
902
933
  requestedFontsByPsName?: string[] | null;
903
934
  advancedMode?: boolean;
935
+ baseUrl?: string | null;
904
936
  }
905
937
  export interface ProblemDetails {
906
938
  type?: string | null;
@@ -938,6 +970,11 @@ export interface RectangleF {
938
970
  readonly bottom?: number;
939
971
  readonly isEmpty?: boolean;
940
972
  }
973
+ export interface UpdateHandlerRequest {
974
+ canvasData?: string | null;
975
+ itemHandlerData?: string | null;
976
+ itemData?: any | null;
977
+ }
941
978
  export interface UpdateColorsRequest {
942
979
  canvasData?: string | null;
943
980
  colorData?: string | null;
@@ -993,6 +1030,11 @@ export interface DesignInfo {
993
1030
  name?: string | null;
994
1031
  private?: boolean;
995
1032
  }
1033
+ /** Available patch type */
1034
+ export declare enum ProductPatchType {
1035
+ Undefined = "Undefined",
1036
+ ReplaceImageItemFile = "ReplaceImageItemFile"
1037
+ }
996
1038
  /** Variable information */
997
1039
  export interface VariableInfo {
998
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.12.5",
3
+ "version": "2.15.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)",