@veloceapps/api 7.0.2-5 → 7.0.2-51

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/index.d.ts CHANGED
@@ -26,5 +26,6 @@ export { RulesApiService } from './lib/services/rules-api.service';
26
26
  export { SalesforceApiService } from './lib/services/salesforce-api.service';
27
27
  export { ScriptsApiService } from './lib/services/scripts-api.service';
28
28
  export { ShoppingCartSettingsApiService } from './lib/services/shopping-cart-settings-api.service';
29
+ export { UIDefinitionsApiService } from './lib/services/ui-definitions-api.service';
29
30
  export { UITemplatesApiService } from './lib/services/ui-templates-api.service';
30
31
  export * from './lib/types';
@@ -18,7 +18,7 @@ export declare class CatalogAdminApiService {
18
18
  removeCatalog$: (id: string) => Observable<void>;
19
19
  restoreCatalog$: (id: string) => Observable<void>;
20
20
  createNewCategory$: (categoryData: NewCategory) => Observable<Category>;
21
- updateCategory$: (category: Category) => Observable<void>;
21
+ updateCategory$: (category: Category) => Observable<Category>;
22
22
  duplicateCategory$: (catalogId: string, cloneRequest: CloneRequest) => Observable<string>;
23
23
  removeCategory$: (id: string, catalogId: string) => Observable<void>;
24
24
  restoreCategory$: (id: string, catalogId: string) => Observable<void>;
@@ -30,6 +30,10 @@ export declare class CatalogAdminApiService {
30
30
  addProduct$: (product: Product, catalogId: string, categoryId: string) => Observable<any>;
31
31
  updateProduct$: (product: Partial<Product>, catalogId: string, categoryId: string) => Observable<any>;
32
32
  removeProduct$: ({ catalogId, categoryId, data, }: CategoryRequestPayloadWithData<Product>) => Observable<string>;
33
+ attachImage$(catalogId: string, categoryId: string, file: File): Observable<void>;
34
+ removeImage$(catalogId: string, categoryId: string): Observable<void>;
35
+ fetchImage$(catalogId: string, categoryId: string): Observable<File>;
36
+ getImageUrl(catalogId: string, categoryId: string): string;
33
37
  static ɵfac: i0.ɵɵFactoryDeclaration<CatalogAdminApiService, never>;
34
38
  static ɵprov: i0.ɵɵInjectableDeclaration<CatalogAdminApiService>;
35
39
  }
@@ -16,6 +16,7 @@ export declare class ProceduresApiService {
16
16
  restoreProcedure$: (id: string) => Observable<string>;
17
17
  fetchProcedure$(id: string): Observable<Procedure>;
18
18
  execute$(body: ProcedureExecuteRequest): Observable<string[]>;
19
+ catalogExecute$(body: ProcedureExecuteRequest): Observable<string[]>;
19
20
  /**
20
21
  * Run active procedure against QuoteDraft
21
22
  * @param body
@@ -13,6 +13,11 @@ export declare class ProductModelApiService {
13
13
  getModel(id: string, version?: string): Observable<ProductModel>;
14
14
  getModels(skipCount: number, searchText: string): Observable<ProductModel[]>;
15
15
  getLinkedModels(id: string, version?: string): Observable<ProductModel[]>;
16
+ /**
17
+ *
18
+ * @deprecated
19
+ * Will be removed in next major release
20
+ */
16
21
  load(id: string, version?: string): Observable<ProductModelsContainer>;
17
22
  getPML(modelId: string, version?: string): Observable<any>;
18
23
  savePML(modelId: string, pml: string, comment: string): Observable<any>;
@@ -0,0 +1,15 @@
1
+ import { BaseHttpService, NewUIDefinitionContainer, UIDefinitionContainer } from '@veloceapps/core';
2
+ import { Observable } from 'rxjs';
3
+ import * as i0 from "@angular/core";
4
+ export declare class UIDefinitionsApiService {
5
+ private baseHttpService;
6
+ constructor(baseHttpService: BaseHttpService);
7
+ fetch$(modelId: string, version?: number): Observable<UIDefinitionContainer[]>;
8
+ create$(modelId: string, uiDefinitionContainer: NewUIDefinitionContainer): Observable<UIDefinitionContainer>;
9
+ get$(modelId: string, uiDefinitionId: string): Observable<UIDefinitionContainer | null>;
10
+ update$(uiDefinitionContainer: UIDefinitionContainer): Observable<UIDefinitionContainer>;
11
+ delete$(uiDefinitionContainer: UIDefinitionContainer): Observable<void>;
12
+ private getServiceUrl;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<UIDefinitionsApiService, never>;
14
+ static ɵprov: i0.ɵɵInjectableDeclaration<UIDefinitionsApiService>;
15
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veloceapps/api",
3
- "version": "7.0.2-5",
3
+ "version": "7.0.2-51",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/common": "~15.2.0",