@reservation-studio/electron-types 0.0.30 → 0.0.31

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/README.md CHANGED
@@ -200,7 +200,7 @@ const reversalResponse =
200
200
  password: '0000'
201
201
  },
202
202
  uniqueSaleNumber: '1',
203
- reason: 'refund', // or 'operator-error', 'tax-base-reduction'
203
+ reason: 'refund', // or 'void', 'tax-base-reduction'
204
204
  originalReceiptNumber: '12345',
205
205
  originalReceiptDateTime: new Date('2023-01-01T10:00:00'),
206
206
  originalFiscalMemorySerialNumber: 'FM12345678',
@@ -412,7 +412,7 @@ interface FiscalDeviceDiagnosticsOptions {
412
412
 
413
413
  ```typescript
414
414
  enum ReversalReason {
415
- OPERATOR_ERROR = 'operator-error',
415
+ VOID = 'void',
416
416
  REFUND = 'refund',
417
417
  TAX_BASE_REDUCTION = 'tax-base-reduction'
418
418
  }
@@ -438,7 +438,7 @@ export interface ReversalReceipt extends FiscalReceipt {
438
438
  * Enum for reversal reasons
439
439
  */
440
440
  export declare enum ReversalReason {
441
- OPERATOR_ERROR = "operator-error",
441
+ VOID = "void",
442
442
  REFUND = "refund",
443
443
  TAX_BASE_REDUCTION = "tax-base-reduction"
444
444
  }
@@ -16,7 +16,7 @@ var FiscalPaymentType;
16
16
  */
17
17
  var ReversalReason;
18
18
  (function (ReversalReason) {
19
- ReversalReason["OPERATOR_ERROR"] = "operator-error";
19
+ ReversalReason["VOID"] = "void";
20
20
  ReversalReason["REFUND"] = "refund";
21
21
  ReversalReason["TAX_BASE_REDUCTION"] = "tax-base-reduction";
22
22
  })(ReversalReason || (exports.ReversalReason = ReversalReason = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reservation-studio/electron-types",
3
- "version": "0.0.30",
3
+ "version": "0.0.31",
4
4
  "description": "TypeScript типове за ReservationStudioElectron",
5
5
  "scripts": {
6
6
  "build": "tsc --project tsconfig.json",