@escapenavigator/types 1.9.22 → 1.9.24

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.
@@ -0,0 +1,4 @@
1
+ export declare class AdjustBalanceDto {
2
+ amount: number;
3
+ comment: string;
4
+ }
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.AdjustBalanceDto = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ const class_validator_1 = require("class-validator");
15
+ const is_not_blank_1 = require("../shared/is-not-blank");
16
+ class AdjustBalanceDto {
17
+ }
18
+ __decorate([
19
+ (0, class_validator_1.IsNumber)(),
20
+ (0, class_transformer_1.Expose)(),
21
+ __metadata("design:type", Number)
22
+ ], AdjustBalanceDto.prototype, "amount", void 0);
23
+ __decorate([
24
+ (0, is_not_blank_1.IsNotBlank)(),
25
+ (0, class_transformer_1.Expose)(),
26
+ __metadata("design:type", String)
27
+ ], AdjustBalanceDto.prototype, "comment", void 0);
28
+ exports.AdjustBalanceDto = AdjustBalanceDto;
@@ -0,0 +1,7 @@
1
+ export declare enum BalanceItemTypeEnum {
2
+ HAND = "hand",
3
+ BONUS = "bonus",
4
+ PAYMENT = "payment",
5
+ CHARGE = "charge",
6
+ AGGREGATOR = "aggregator"
7
+ }
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BalanceItemTypeEnum = void 0;
4
+ var BalanceItemTypeEnum;
5
+ (function (BalanceItemTypeEnum) {
6
+ BalanceItemTypeEnum["HAND"] = "hand";
7
+ BalanceItemTypeEnum["BONUS"] = "bonus";
8
+ BalanceItemTypeEnum["PAYMENT"] = "payment";
9
+ BalanceItemTypeEnum["CHARGE"] = "charge";
10
+ BalanceItemTypeEnum["AGGREGATOR"] = "aggregator";
11
+ })(BalanceItemTypeEnum = exports.BalanceItemTypeEnum || (exports.BalanceItemTypeEnum = {}));
@@ -0,0 +1,9 @@
1
+ import { RO } from '../shared/ro-class';
2
+ import { BalanceItemTypeEnum } from './balance-item-type.enum';
3
+ export declare class BalanceItemRO extends RO {
4
+ orderId?: number;
5
+ amount: number;
6
+ oldTotal: number;
7
+ comment: string;
8
+ type: BalanceItemTypeEnum;
9
+ }
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.BalanceItemRO = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ const ro_class_1 = require("../shared/ro-class");
15
+ const balance_item_type_enum_1 = require("./balance-item-type.enum");
16
+ class BalanceItemRO extends ro_class_1.RO {
17
+ }
18
+ __decorate([
19
+ (0, class_transformer_1.Expose)(),
20
+ __metadata("design:type", Number)
21
+ ], BalanceItemRO.prototype, "orderId", void 0);
22
+ __decorate([
23
+ (0, class_transformer_1.Expose)(),
24
+ __metadata("design:type", Number)
25
+ ], BalanceItemRO.prototype, "amount", void 0);
26
+ __decorate([
27
+ (0, class_transformer_1.Expose)(),
28
+ __metadata("design:type", Number)
29
+ ], BalanceItemRO.prototype, "oldTotal", void 0);
30
+ __decorate([
31
+ (0, class_transformer_1.Expose)(),
32
+ __metadata("design:type", String)
33
+ ], BalanceItemRO.prototype, "comment", void 0);
34
+ __decorate([
35
+ (0, class_transformer_1.Expose)(),
36
+ __metadata("design:type", String)
37
+ ], BalanceItemRO.prototype, "type", void 0);
38
+ exports.BalanceItemRO = BalanceItemRO;
@@ -0,0 +1,6 @@
1
+ import { RO } from '../shared/ro-class';
2
+ export declare class BalancePaymentRO extends RO {
3
+ paymentId: string;
4
+ amount: number;
5
+ invoiceLink?: string;
6
+ }
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.BalancePaymentRO = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ const ro_class_1 = require("../shared/ro-class");
15
+ class BalancePaymentRO extends ro_class_1.RO {
16
+ }
17
+ __decorate([
18
+ (0, class_transformer_1.Expose)(),
19
+ __metadata("design:type", String)
20
+ ], BalancePaymentRO.prototype, "paymentId", void 0);
21
+ __decorate([
22
+ (0, class_transformer_1.Expose)(),
23
+ __metadata("design:type", Number)
24
+ ], BalancePaymentRO.prototype, "amount", void 0);
25
+ __decorate([
26
+ (0, class_transformer_1.Expose)(),
27
+ __metadata("design:type", String)
28
+ ], BalancePaymentRO.prototype, "invoiceLink", void 0);
29
+ exports.BalancePaymentRO = BalancePaymentRO;
@@ -11,5 +11,18 @@ export declare enum ProfileCurrencyEnum {
11
11
  HUF = "HUF",
12
12
  CAD = "CAD",
13
13
  BGN = "BGN",
14
- AUD = "AUD"
14
+ AUD = "AUD",
15
+ TRY = "TRY",
16
+ GEL = "GEL",
17
+ MDL = "MDL",
18
+ BYN = "BYN",
19
+ UAH = "UAH",
20
+ ISK = "ISK",
21
+ ALL = "ALL",
22
+ BAM = "BAM",
23
+ MKD = "MKD",
24
+ RON = "RON",
25
+ HRK = "HRK",
26
+ RSD = "RSD",
27
+ NOK = "NOK"
15
28
  }
@@ -16,6 +16,19 @@ var ProfileCurrencyEnum;
16
16
  ProfileCurrencyEnum["CAD"] = "CAD";
17
17
  ProfileCurrencyEnum["BGN"] = "BGN";
18
18
  ProfileCurrencyEnum["AUD"] = "AUD";
19
+ ProfileCurrencyEnum["TRY"] = "TRY";
20
+ ProfileCurrencyEnum["GEL"] = "GEL";
21
+ ProfileCurrencyEnum["MDL"] = "MDL";
22
+ ProfileCurrencyEnum["BYN"] = "BYN";
23
+ ProfileCurrencyEnum["UAH"] = "UAH";
24
+ ProfileCurrencyEnum["ISK"] = "ISK";
25
+ ProfileCurrencyEnum["ALL"] = "ALL";
26
+ ProfileCurrencyEnum["BAM"] = "BAM";
27
+ ProfileCurrencyEnum["MKD"] = "MKD";
28
+ ProfileCurrencyEnum["RON"] = "RON";
29
+ ProfileCurrencyEnum["HRK"] = "HRK";
30
+ ProfileCurrencyEnum["RSD"] = "RSD";
31
+ ProfileCurrencyEnum["NOK"] = "NOK";
19
32
  })(ProfileCurrencyEnum = exports.ProfileCurrencyEnum || (exports.ProfileCurrencyEnum = {}));
20
33
  // export enum ProfileCurrencyEnum {
21
34
  // EUR = 'EUR',
@@ -9,6 +9,7 @@ import { ProfileSubscriptionTypeEnum } from './enum/profile-subscription-type.en
9
9
  import { ProfileSubscriptionEnum } from './enum/profile-subscription.enum';
10
10
  export declare class ProfileRO {
11
11
  gaEnabled: boolean;
12
+ balance: number;
12
13
  fbPixelEnabled: boolean;
13
14
  fbPixelId: string;
14
15
  ga4Id: string;
@@ -26,6 +26,10 @@ __decorate([
26
26
  (0, class_transformer_1.Expose)(),
27
27
  __metadata("design:type", Boolean)
28
28
  ], ProfileRO.prototype, "gaEnabled", void 0);
29
+ __decorate([
30
+ (0, class_transformer_1.Expose)(),
31
+ __metadata("design:type", Number)
32
+ ], ProfileRO.prototype, "balance", void 0);
29
33
  __decorate([
30
34
  (0, class_transformer_1.Expose)(),
31
35
  __metadata("design:type", Boolean)