@captureid/datatypes 1.0.5 → 1.0.7

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/lib/enums.d.ts CHANGED
@@ -81,7 +81,8 @@ export declare enum DataType {
81
81
  TICKETMESSAGE = 79,
82
82
  WEBTEMPLATE = 80,
83
83
  EMAILTEMPLATE = 81,
84
- JOURNAL = 82
84
+ JOURNAL = 82,
85
+ FILEIMPORT = 83
85
86
  }
86
87
  export declare enum BookingType {
87
88
  UNKNOWN = 0,
@@ -301,6 +302,30 @@ export declare namespace TicketSenderType {
301
302
  function valueOf(str: string): number;
302
303
  function values(): any[];
303
304
  }
305
+ export declare enum ImportType {
306
+ UNKNOWN = 0,
307
+ TERMINAL = 1,
308
+ ESL = 2,
309
+ ESLPOOL = 3
310
+ }
311
+ export declare namespace ImportType {
312
+ function valueOf(str: string): number;
313
+ function values(): any[];
314
+ }
315
+ export declare enum FileType {
316
+ UNKNOWN = 0,
317
+ CSV = 1,
318
+ XLSX = 2,
319
+ XML = 3,
320
+ JSON = 4,
321
+ PDF = 5,
322
+ TXT = 6,
323
+ ZIP = 7
324
+ }
325
+ export declare namespace FileType {
326
+ function valueOf(str: string): number;
327
+ function values(): any[];
328
+ }
304
329
  export declare enum CouponType {
305
330
  UNKNOWN = 0,
306
331
  COUPON = 1,
@@ -0,0 +1,17 @@
1
+ import { FileType, ImportType } from "../../enums";
2
+ import { DataObject } from "../data-object";
3
+ export interface FileImport {
4
+ id: string;
5
+ filename: string;
6
+ filetype: FileType;
7
+ importtype: ImportType;
8
+ }
9
+ export declare class FileImport implements FileImport {
10
+ constructor(id?: string, filename?: string, filetype?: FileType, importtype?: ImportType);
11
+ }
12
+ export interface FileImportObject {
13
+ data: FileImport[];
14
+ }
15
+ export declare class FileImportObject extends DataObject implements FileImportObject {
16
+ constructor(data: FileImport[]);
17
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@captureid/datatypes",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=17.0.0",
6
6
  "@angular/core": ">=17.0.0"
package/public-api.d.ts CHANGED
@@ -35,6 +35,7 @@ export * from './lib/model/common/faq-object';
35
35
  export * from './lib/model/common/farmingmethod-object';
36
36
  export * from './lib/model/common/chat-object';
37
37
  export * from './lib/model/common/ticket-object';
38
+ export * from './lib/model/common/fileimport-object';
38
39
  export * from './lib/model/configuration/menu-object';
39
40
  export * from './lib/model/erp/items/dimension-object';
40
41
  export * from './lib/model/erp/items/gtin';