@escapenavigator/types 1.10.87 → 1.10.88
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/dist/client/client.ro.d.ts +2 -0
- package/dist/client/client.ro.js +8 -0
- package/dist/client/create-complaint.dto.d.ts +5 -0
- package/dist/client/create-complaint.dto.js +34 -0
- package/dist/profile/admin-profile.ro.d.ts +2 -1
- package/dist/profile/admin-profile.ro.js +5 -1
- package/dist/profile/agregator-profile.ro.d.ts +2 -1
- package/dist/profile/create-profile.dto.d.ts +2 -1
- package/dist/profile/create-profile.dto.js +6 -1
- package/dist/profile/notification-chanel/notification-chanel-action.enum.d.ts +3 -1
- package/dist/profile/notification-chanel/notification-chanel-action.enum.js +2 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/user/fine/query-user-fine.dto.d.ts +4 -0
- package/dist/user/{sessions/sessions-query.dto.js → fine/query-user-fine.dto.js} +8 -12
- package/package.json +2 -2
- package/dist/user/sessions/sessions-query.dto.d.ts +0 -5
package/dist/client/client.ro.js
CHANGED
|
@@ -108,6 +108,14 @@ __decorate([
|
|
|
108
108
|
(0, class_transformer_1.Expose)(),
|
|
109
109
|
__metadata("design:type", String)
|
|
110
110
|
], ClientRO.prototype, "blockedDate", void 0);
|
|
111
|
+
__decorate([
|
|
112
|
+
(0, class_transformer_1.Expose)(),
|
|
113
|
+
__metadata("design:type", String)
|
|
114
|
+
], ClientRO.prototype, "blockedReason", void 0);
|
|
115
|
+
__decorate([
|
|
116
|
+
(0, class_transformer_1.Expose)(),
|
|
117
|
+
__metadata("design:type", Boolean)
|
|
118
|
+
], ClientRO.prototype, "hasComplaint", void 0);
|
|
111
119
|
__decorate([
|
|
112
120
|
(0, class_transformer_1.Expose)(),
|
|
113
121
|
(0, class_transformer_1.Type)(() => PrevData),
|
|
@@ -0,0 +1,34 @@
|
|
|
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.CreateComplaintDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
class CreateComplaintDto {
|
|
16
|
+
}
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsPositive)(),
|
|
19
|
+
(0, class_validator_1.IsNumber)(),
|
|
20
|
+
(0, class_transformer_1.Expose)(),
|
|
21
|
+
__metadata("design:type", Number)
|
|
22
|
+
], CreateComplaintDto.prototype, "clientId", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
25
|
+
(0, class_transformer_1.Expose)(),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], CreateComplaintDto.prototype, "reason", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, class_validator_1.IsOptional)(),
|
|
30
|
+
(0, class_validator_1.IsBoolean)(),
|
|
31
|
+
(0, class_transformer_1.Expose)(),
|
|
32
|
+
__metadata("design:type", Boolean)
|
|
33
|
+
], CreateComplaintDto.prototype, "blockClient", void 0);
|
|
34
|
+
exports.CreateComplaintDto = CreateComplaintDto;
|
|
@@ -127,7 +127,11 @@ __decorate([
|
|
|
127
127
|
__decorate([
|
|
128
128
|
(0, class_transformer_1.Expose)(),
|
|
129
129
|
__metadata("design:type", String)
|
|
130
|
-
], AdminProfileRO.prototype, "
|
|
130
|
+
], AdminProfileRO.prototype, "legalTaxId", void 0);
|
|
131
|
+
__decorate([
|
|
132
|
+
(0, class_transformer_1.Expose)(),
|
|
133
|
+
__metadata("design:type", String)
|
|
134
|
+
], AdminProfileRO.prototype, "ogrn", void 0);
|
|
131
135
|
__decorate([
|
|
132
136
|
(0, class_transformer_1.Expose)(),
|
|
133
137
|
__metadata("design:type", String)
|
|
@@ -4,7 +4,8 @@ import { ProfileCurrencyEnum } from './enum/profile-currency';
|
|
|
4
4
|
export type AgregatorProfileRO = ResponseObject & {
|
|
5
5
|
title: string;
|
|
6
6
|
legalTitle: string;
|
|
7
|
-
|
|
7
|
+
legalTaxId: string;
|
|
8
|
+
ogrn: string;
|
|
8
9
|
logo?: string;
|
|
9
10
|
language: Languages;
|
|
10
11
|
currency: ProfileCurrencyEnum;
|
|
@@ -28,7 +28,8 @@ export declare class CreateProfileDto {
|
|
|
28
28
|
tags: ProfileTagEnum[];
|
|
29
29
|
legalTitle: string;
|
|
30
30
|
loyalty: ProfileLoyaltyEnum;
|
|
31
|
-
|
|
31
|
+
legalTaxId: string;
|
|
32
|
+
ogrn: string;
|
|
32
33
|
instagram?: string;
|
|
33
34
|
facebook?: string;
|
|
34
35
|
availableLanguages: Languages[];
|
|
@@ -123,7 +123,12 @@ __decorate([
|
|
|
123
123
|
(0, class_validator_1.IsOptional)(),
|
|
124
124
|
(0, class_transformer_1.Expose)(),
|
|
125
125
|
__metadata("design:type", String)
|
|
126
|
-
], CreateProfileDto.prototype, "
|
|
126
|
+
], CreateProfileDto.prototype, "legalTaxId", void 0);
|
|
127
|
+
__decorate([
|
|
128
|
+
(0, class_validator_1.IsOptional)(),
|
|
129
|
+
(0, class_transformer_1.Expose)(),
|
|
130
|
+
__metadata("design:type", String)
|
|
131
|
+
], CreateProfileDto.prototype, "ogrn", void 0);
|
|
127
132
|
__decorate([
|
|
128
133
|
(0, class_validator_1.IsOptional)(),
|
|
129
134
|
(0, class_validator_1.IsString)(),
|
|
@@ -4,5 +4,7 @@ export declare enum NotificationTriggerEnum {
|
|
|
4
4
|
CANCEL_ORDER = "cancel-order",
|
|
5
5
|
ASSIGNMENTS = "assigments",
|
|
6
6
|
CERTIFICATE_SALES = "certificate-sale",
|
|
7
|
-
UNASSIGNMENTS = "unassigments"
|
|
7
|
+
UNASSIGNMENTS = "unassigments",
|
|
8
|
+
/** Оплата игры через orders (orders.escapenavigator) */
|
|
9
|
+
ORDER_PAID_VIA_ORDERS = "order-paid-via-orders"
|
|
8
10
|
}
|
|
@@ -9,4 +9,6 @@ var NotificationTriggerEnum;
|
|
|
9
9
|
NotificationTriggerEnum["ASSIGNMENTS"] = "assigments";
|
|
10
10
|
NotificationTriggerEnum["CERTIFICATE_SALES"] = "certificate-sale";
|
|
11
11
|
NotificationTriggerEnum["UNASSIGNMENTS"] = "unassigments";
|
|
12
|
+
/** Оплата игры через orders (orders.escapenavigator) */
|
|
13
|
+
NotificationTriggerEnum["ORDER_PAID_VIA_ORDERS"] = "order-paid-via-orders";
|
|
12
14
|
})(NotificationTriggerEnum = exports.NotificationTriggerEnum || (exports.NotificationTriggerEnum = {}));
|