@veloceapps/sdk 3.1.1 → 3.1.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veloceapps/sdk",
3
- "version": "3.1.1",
3
+ "version": "3.1.3",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "^12.2.0",
6
6
  "@angular/common": "^12.2.0",
@@ -1,13 +1,13 @@
1
1
  import { DocumentAttachmentApiService } from '@veloce/api';
2
- import { TemplateAttachment, TemplateAttachmentSearchRequest } from '@veloce/core';
2
+ import { Attachment, TemplateAttachmentSearchRequest } from '@veloce/core';
3
3
  import { Observable } from 'rxjs';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class VlDocumentAttachmentsDirective {
6
6
  private service;
7
7
  constructor(service: DocumentAttachmentApiService);
8
- getAttachments(searchRequest: TemplateAttachmentSearchRequest): Promise<TemplateAttachment[]>;
9
- createAttachment(attachment: TemplateAttachment, file?: File, reportProgress?: boolean): Promise<TemplateAttachment> | Observable<TemplateAttachment>;
10
- updateAttachment(id: string, attachment: TemplateAttachment): Promise<TemplateAttachment>;
8
+ getAttachments(searchRequest: TemplateAttachmentSearchRequest): Promise<Attachment[]>;
9
+ createAttachment(attachment: Attachment, file?: File, reportProgress?: boolean): Promise<Attachment> | Observable<Attachment>;
10
+ updateAttachment(id: string, attachment: Attachment): Promise<Attachment>;
11
11
  getAttachmentFile(id: string, isPreventDownload?: boolean): Promise<any>;
12
12
  removeAttachment(id: string): Promise<unknown>;
13
13
  static ɵfac: i0.ɵɵFactoryDeclaration<VlDocumentAttachmentsDirective, never>;
@@ -1,5 +1,5 @@
1
1
  import { DocumentTemplatesApiService } from '@veloce/api';
2
- import { DocumentTemplate, QuoteDraft, TemplateAttachment, TemplateAttachmentSearchRequest } from '@veloce/core';
2
+ import { Attachment, DocumentTemplate, QuoteDraft, TemplateAttachmentSearchRequest } from '@veloce/core';
3
3
  import { Observable } from 'rxjs';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class VlDocumentTemplatesDirective {
@@ -26,7 +26,7 @@ export declare class VlDocumentTemplatesDirective {
26
26
  }): Observable<any>;
27
27
  getAttachments(searchRequest: TemplateAttachmentSearchRequest): Promise<any>;
28
28
  getAttachmentFile(id: string): Promise<any>;
29
- createAttachment(attachment: TemplateAttachment, file?: File): Promise<any>;
29
+ createAttachment(attachment: Attachment, file?: File): Promise<any>;
30
30
  removeAttachment(id: string): Promise<any>;
31
31
  static ɵfac: i0.ɵɵFactoryDeclaration<VlDocumentTemplatesDirective, never>;
32
32
  static ɵdir: i0.ɵɵDirectiveDeclaration<VlDocumentTemplatesDirective, "[vlQuoteTemplates]", ["quoteTemplateApi"], {}, {}, never>;
@@ -1,4 +1,4 @@
1
- import { ProductAttribute, ProductPort, ProductType, SectionPath } from '@veloce/core';
1
+ import { ProductModelAttribute, ProductPort, ProductType, SectionPath } from '@veloce/core';
2
2
  export declare enum BoundDataType {
3
3
  TYPE = 0,
4
4
  ATTRIBUTE = 1,
@@ -6,7 +6,7 @@ export declare enum BoundDataType {
6
6
  }
7
7
  export interface BoundData {
8
8
  name: string;
9
- entity: ProductType | ProductAttribute | ProductPort;
9
+ entity: ProductType | ProductModelAttribute | ProductPort;
10
10
  entityType: string;
11
11
  host?: string;
12
12
  path: SectionPath;