@escapenavigator/types 1.4.49 → 1.4.51
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/agb/agb-type.enum.d.ts +7 -0
- package/dist/agb/agb-type.enum.js +11 -0
- package/dist/agb/agb.ro.d.ts +4 -0
- package/dist/agb/create-inside-agb.dto.d.ts +7 -0
- package/dist/agb/create-inside-agb.dto.js +35 -0
- package/dist/agb/get-for-order-service.dto.d.ts +5 -0
- package/dist/agb/get-for-order-service.dto.js +28 -0
- package/dist/agb/update-agb.dto.js +2 -0
- package/dist/agb/update-inside-agb.dto.d.ts +7 -0
- package/dist/agb/update-inside-agb.dto.js +35 -0
- package/dist/profile/create-profile.dto.d.ts +2 -0
- package/dist/profile/create-profile.dto.js +6 -0
- package/dist/profile/enum/profile-status.enum.d.ts +3 -1
- package/dist/profile/enum/profile-status.enum.js +3 -1
- package/dist/transaction/enum/transaction-type.enum.d.ts +1 -2
- package/dist/transaction/enum/transaction-type.enum.js +0 -2
- package/dist/transaction/query-transaction.dto.d.ts +10 -0
- package/dist/transaction/query-transaction.dto.js +50 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/widget-openapi/widget-openapi-certificate.ro.d.ts +1 -0
- package/dist/widget-openapi/widget-openapi-order.ro.d.ts +1 -0
- package/dist/widget-orders/widget-orders-create-payment.ro.d.ts +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AgbTypeEnum = void 0;
|
|
4
|
+
var AgbTypeEnum;
|
|
5
|
+
(function (AgbTypeEnum) {
|
|
6
|
+
AgbTypeEnum["REGISTRATION_NEW_PROFILE"] = "registration_new_profile";
|
|
7
|
+
AgbTypeEnum["COOKIES"] = "cookies";
|
|
8
|
+
AgbTypeEnum["PRIVACY_POLICY"] = "privacy_policy";
|
|
9
|
+
AgbTypeEnum["IMPRINT"] = "imprint";
|
|
10
|
+
AgbTypeEnum["AGREEMENT"] = "agreement";
|
|
11
|
+
})(AgbTypeEnum = exports.AgbTypeEnum || (exports.AgbTypeEnum = {}));
|
package/dist/agb/agb.ro.d.ts
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
|
+
import { CountriesEnum } from '../shared/enum/countries.enum';
|
|
1
2
|
import { ResponseObject } from '../shared/ro';
|
|
3
|
+
import { AgbTypeEnum } from './agb-type.enum';
|
|
2
4
|
export declare type AgbResponseObject = ResponseObject & {
|
|
3
5
|
text: string;
|
|
6
|
+
type: AgbTypeEnum;
|
|
7
|
+
country?: CountriesEnum;
|
|
4
8
|
};
|
|
@@ -0,0 +1,35 @@
|
|
|
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.CreateInsideAgbDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
const countries_enum_1 = require("../shared/enum/countries.enum");
|
|
16
|
+
const is_not_blank_1 = require("../shared/is-not-blank");
|
|
17
|
+
const agb_type_enum_1 = require("./agb-type.enum");
|
|
18
|
+
class CreateInsideAgbDto {
|
|
19
|
+
}
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
22
|
+
(0, class_transformer_1.Expose)(),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], CreateInsideAgbDto.prototype, "text", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_validator_1.IsEnum)(agb_type_enum_1.AgbTypeEnum),
|
|
27
|
+
(0, class_transformer_1.Expose)(),
|
|
28
|
+
__metadata("design:type", String)
|
|
29
|
+
], CreateInsideAgbDto.prototype, "type", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, class_validator_1.IsEnum)(countries_enum_1.CountriesEnum),
|
|
32
|
+
(0, class_transformer_1.Expose)(),
|
|
33
|
+
__metadata("design:type", String)
|
|
34
|
+
], CreateInsideAgbDto.prototype, "country", void 0);
|
|
35
|
+
exports.CreateInsideAgbDto = CreateInsideAgbDto;
|
|
@@ -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.GetForOrderServiceDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class GetForOrderServiceDto {
|
|
15
|
+
}
|
|
16
|
+
__decorate([
|
|
17
|
+
(0, class_validator_1.IsOptional)(),
|
|
18
|
+
__metadata("design:type", String)
|
|
19
|
+
], GetForOrderServiceDto.prototype, "profileId", void 0);
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, class_validator_1.IsOptional)(),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], GetForOrderServiceDto.prototype, "type", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, class_validator_1.IsOptional)(),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], GetForOrderServiceDto.prototype, "country", void 0);
|
|
28
|
+
exports.GetForOrderServiceDto = GetForOrderServiceDto;
|
|
@@ -10,11 +10,13 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.UpdateAgbDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
13
14
|
const is_not_blank_1 = require("../shared/is-not-blank");
|
|
14
15
|
class UpdateAgbDto {
|
|
15
16
|
}
|
|
16
17
|
__decorate([
|
|
17
18
|
(0, is_not_blank_1.IsNotBlank)(),
|
|
19
|
+
(0, class_transformer_1.Expose)(),
|
|
18
20
|
__metadata("design:type", String)
|
|
19
21
|
], UpdateAgbDto.prototype, "text", void 0);
|
|
20
22
|
exports.UpdateAgbDto = UpdateAgbDto;
|
|
@@ -0,0 +1,35 @@
|
|
|
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.UpdateInsideAgbDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
const countries_enum_1 = require("../shared/enum/countries.enum");
|
|
16
|
+
const is_not_blank_1 = require("../shared/is-not-blank");
|
|
17
|
+
const agb_type_enum_1 = require("./agb-type.enum");
|
|
18
|
+
class UpdateInsideAgbDto {
|
|
19
|
+
}
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
22
|
+
(0, class_transformer_1.Expose)(),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], UpdateInsideAgbDto.prototype, "text", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_validator_1.IsEnum)(agb_type_enum_1.AgbTypeEnum),
|
|
27
|
+
(0, class_transformer_1.Expose)(),
|
|
28
|
+
__metadata("design:type", String)
|
|
29
|
+
], UpdateInsideAgbDto.prototype, "type", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, class_validator_1.IsEnum)(countries_enum_1.CountriesEnum),
|
|
32
|
+
(0, class_transformer_1.Expose)(),
|
|
33
|
+
__metadata("design:type", String)
|
|
34
|
+
], UpdateInsideAgbDto.prototype, "country", void 0);
|
|
35
|
+
exports.UpdateInsideAgbDto = UpdateInsideAgbDto;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { CountriesEnum } from '../shared/enum/countries.enum';
|
|
2
|
+
import { ProfileStatusEnum } from './enum/profile-status.enum';
|
|
2
3
|
export declare class CreateProfileDto {
|
|
3
4
|
color: string;
|
|
4
5
|
title: string;
|
|
@@ -11,6 +12,7 @@ export declare class CreateProfileDto {
|
|
|
11
12
|
legalTitle: string;
|
|
12
13
|
address: string;
|
|
13
14
|
country: CountriesEnum;
|
|
15
|
+
status: ProfileStatusEnum;
|
|
14
16
|
comment?: string;
|
|
15
17
|
logo?: string;
|
|
16
18
|
instagram?: string;
|
|
@@ -14,6 +14,7 @@ const class_transformer_1 = require("class-transformer");
|
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
15
|
const countries_enum_1 = require("../shared/enum/countries.enum");
|
|
16
16
|
const is_not_blank_1 = require("../shared/is-not-blank");
|
|
17
|
+
const profile_status_enum_1 = require("./enum/profile-status.enum");
|
|
17
18
|
class CreateProfileDto {
|
|
18
19
|
}
|
|
19
20
|
__decorate([
|
|
@@ -72,6 +73,11 @@ __decorate([
|
|
|
72
73
|
(0, class_transformer_1.Expose)(),
|
|
73
74
|
__metadata("design:type", String)
|
|
74
75
|
], CreateProfileDto.prototype, "country", void 0);
|
|
76
|
+
__decorate([
|
|
77
|
+
(0, class_validator_1.IsOptional)(),
|
|
78
|
+
(0, class_transformer_1.Expose)(),
|
|
79
|
+
__metadata("design:type", String)
|
|
80
|
+
], CreateProfileDto.prototype, "status", void 0);
|
|
75
81
|
__decorate([
|
|
76
82
|
(0, class_validator_1.IsOptional)(),
|
|
77
83
|
(0, class_validator_1.IsString)(),
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
export declare enum ProfileStatusEnum {
|
|
2
2
|
NEW = "new",
|
|
3
|
+
CLOSED = "closed",
|
|
4
|
+
READY_TO_SETUP = "ready_to_setup",
|
|
5
|
+
COMPLITE_SETUP = "complite_setup",
|
|
3
6
|
SEND_INVITE = "send_invite",
|
|
4
7
|
FIRST_OPEN = "first_open",
|
|
5
|
-
COMPLITE_SETUP = "complite_setup",
|
|
6
8
|
YOUNG = "young",
|
|
7
9
|
CLIENT = "client",
|
|
8
10
|
LOST = "lost"
|
|
@@ -4,9 +4,11 @@ exports.ProfileStatusEnum = void 0;
|
|
|
4
4
|
var ProfileStatusEnum;
|
|
5
5
|
(function (ProfileStatusEnum) {
|
|
6
6
|
ProfileStatusEnum["NEW"] = "new";
|
|
7
|
+
ProfileStatusEnum["CLOSED"] = "closed";
|
|
8
|
+
ProfileStatusEnum["READY_TO_SETUP"] = "ready_to_setup";
|
|
9
|
+
ProfileStatusEnum["COMPLITE_SETUP"] = "complite_setup";
|
|
7
10
|
ProfileStatusEnum["SEND_INVITE"] = "send_invite";
|
|
8
11
|
ProfileStatusEnum["FIRST_OPEN"] = "first_open";
|
|
9
|
-
ProfileStatusEnum["COMPLITE_SETUP"] = "complite_setup";
|
|
10
12
|
ProfileStatusEnum["YOUNG"] = "young";
|
|
11
13
|
ProfileStatusEnum["CLIENT"] = "client";
|
|
12
14
|
ProfileStatusEnum["LOST"] = "lost";
|
|
@@ -25,8 +25,6 @@ var TransactionTypeEnum;
|
|
|
25
25
|
TransactionTypeEnum["CREATED"] = "created";
|
|
26
26
|
// платеж отменен
|
|
27
27
|
TransactionTypeEnum["CANCELED"] = "canceled";
|
|
28
|
-
// платеж отменен
|
|
29
|
-
TransactionTypeEnum["STOPPED"] = "stopped";
|
|
30
28
|
})(TransactionTypeEnum = exports.TransactionTypeEnum || (exports.TransactionTypeEnum = {}));
|
|
31
29
|
/**
|
|
32
30
|
* Вопросы
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { TransactionTypeEnum } from './enum/transaction-type.enum';
|
|
2
|
+
export declare class QueryTransactionDto {
|
|
3
|
+
createdFrom?: string;
|
|
4
|
+
createdTo?: string;
|
|
5
|
+
userId?: number;
|
|
6
|
+
isOnline: boolean;
|
|
7
|
+
cashboxId: number;
|
|
8
|
+
financeitemId: number;
|
|
9
|
+
type: TransactionTypeEnum;
|
|
10
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
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.QueryTransactionDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const transaction_type_enum_1 = require("./enum/transaction-type.enum");
|
|
15
|
+
class QueryTransactionDto {
|
|
16
|
+
}
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsOptional)(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], QueryTransactionDto.prototype, "createdFrom", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_validator_1.IsOptional)(),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], QueryTransactionDto.prototype, "createdTo", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_validator_1.IsOptional)(),
|
|
27
|
+
(0, class_validator_1.IsPositive)(),
|
|
28
|
+
__metadata("design:type", Number)
|
|
29
|
+
], QueryTransactionDto.prototype, "userId", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, class_validator_1.IsOptional)(),
|
|
32
|
+
(0, class_validator_1.IsBoolean)(),
|
|
33
|
+
__metadata("design:type", Boolean)
|
|
34
|
+
], QueryTransactionDto.prototype, "isOnline", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, class_validator_1.IsOptional)(),
|
|
37
|
+
(0, class_validator_1.IsPositive)(),
|
|
38
|
+
__metadata("design:type", Number)
|
|
39
|
+
], QueryTransactionDto.prototype, "cashboxId", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, class_validator_1.IsOptional)(),
|
|
42
|
+
(0, class_validator_1.IsPositive)(),
|
|
43
|
+
__metadata("design:type", Number)
|
|
44
|
+
], QueryTransactionDto.prototype, "financeitemId", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, class_validator_1.IsOptional)(),
|
|
47
|
+
(0, class_validator_1.IsEnum)(transaction_type_enum_1.TransactionTypeEnum),
|
|
48
|
+
__metadata("design:type", String)
|
|
49
|
+
], QueryTransactionDto.prototype, "type", void 0);
|
|
50
|
+
exports.QueryTransactionDto = QueryTransactionDto;
|