@captureid/datatypes 1.0.52 → 1.0.53

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
@@ -428,3 +428,12 @@ export declare namespace PaymentEventType {
428
428
  function valueOf(str: string): number;
429
429
  function values(): any[];
430
430
  }
431
+ export declare enum PosEventType {
432
+ UNKNOWN = 0,
433
+ CHECKOUT = 1,
434
+ PAYMENT = 2
435
+ }
436
+ export declare namespace PosEventType {
437
+ function valueOf(str: string): number;
438
+ function values(): any[];
439
+ }
@@ -0,0 +1,9 @@
1
+ import { PosEventType } from "../../enums";
2
+ import { DataDto } from "../data-dto";
3
+ export interface PosEvent {
4
+ eventtype: PosEventType;
5
+ data: DataDto;
6
+ }
7
+ export declare class PosEvent implements PosEvent {
8
+ constructor();
9
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@captureid/datatypes",
3
- "version": "1.0.52",
3
+ "version": "1.0.53",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=17.0.0",
6
6
  "@angular/core": ">=17.0.0"
package/public-api.d.ts CHANGED
@@ -71,6 +71,7 @@ export * from './lib/model/esl/esl-association-object';
71
71
  export * from './lib/model/esl/esl-template-object';
72
72
  export * from './lib/model/esl/esl-update-object';
73
73
  export * from './lib/model/event/payment-event';
74
+ export * from './lib/model/event/pos-event';
74
75
  export * from './lib/model/labeldesigner/label-designer-object';
75
76
  export * from './lib/model/payment/payment-terminal-object';
76
77
  export * from './lib/model/payment/payment-detail-object';