@escapenavigator/types 1.4.42 → 1.4.43
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/cashbox/cashbox.ro.d.ts +2 -1
- package/dist/cashbox/create-cashbox.dto.d.ts +1 -0
- package/dist/cashbox/create-cashbox.dto.js +5 -0
- package/dist/certificate-sale/certificate-sale.ro.d.ts +5 -2
- package/dist/certificate-sale/create-certificatesale.dto.d.ts +1 -0
- package/dist/certificate-sale/create-certificatesale.dto.js +5 -0
- package/dist/location/location.ro.d.ts +2 -1
- package/dist/log/log-title.enum.d.ts +1 -0
- package/dist/log/log-title.enum.js +1 -0
- package/dist/order/order.ro.d.ts +6 -2
- package/dist/order/query-order.dto.d.ts +3 -2
- package/dist/order/query-order.dto.js +6 -2
- package/dist/order/update-moderator.dto.d.ts +3 -0
- package/dist/order/update-moderator.dto.js +20 -0
- package/dist/order/update-moderator.ro.d.ts +3 -0
- package/dist/order/update-moderator.ro.js +2 -0
- package/dist/profile/create-profile.dto.d.ts +6 -6
- package/dist/profile/create-profile.dto.js +19 -19
- package/dist/profile/profile.ro.d.ts +5 -3
- package/dist/registration-request/create-registration-request.dto.d.ts +2 -0
- package/dist/registration-request/create-registration-request.dto.js +6 -1
- package/dist/registration-request/registration-request.ro.d.ts +2 -0
- package/dist/shared/enum/countries.enum.d.ts +4 -2
- package/dist/shared/enum/countries.enum.js +4 -2
- package/dist/shared/enum/languages.enum.d.ts +0 -1
- package/dist/shared/enum/languages.enum.js +0 -1
- package/dist/{order/enum/order-source.enum.d.ts → shared/source.enum.d.ts} +1 -1
- package/dist/shared/source.enum.js +10 -0
- package/dist/slot/slot.ro.d.ts +5 -1
- package/dist/transaction/create-certificate-sale-payment.dto.d.ts +1 -1
- package/dist/transaction/create-certificate-sale-payment.dto.js +1 -1
- package/dist/transaction/create-certificate-sale-refund.dto.d.ts +2 -1
- package/dist/transaction/create-certificate-sale-refund.dto.js +7 -1
- package/dist/transaction/create-order-refund.dto.d.ts +1 -0
- package/dist/transaction/create-order-refund.dto.js +6 -0
- package/dist/transaction/enum/transaction-type.enum.d.ts +23 -3
- package/dist/transaction/enum/transaction-type.enum.js +29 -3
- package/dist/transaction/transaction.ro.d.ts +5 -5
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/user/current-user.ro.d.ts +11 -3
- package/dist/user/current-user.ro.js +0 -1
- package/dist/widget/widget.ro.d.ts +6 -0
- package/dist/widget-openapi/widget-openapi-certificate.ro.d.ts +7 -0
- package/dist/widget-openapi/widget-openapi-create-order.dto.d.ts +3 -1
- package/dist/widget-openapi/widget-openapi-create-order.dto.js +12 -2
- package/dist/widget-openapi/widget-openapi-order.ro.d.ts +11 -2
- package/dist/widget-openapi/widget-openapi.ro.d.ts +9 -9
- package/dist/widget-orders/widget-orders-certificate.ro.d.ts +7 -0
- package/dist/widget-orders/widget-orders-create-certificate-payment.dto.d.ts +0 -1
- package/dist/widget-orders/widget-orders-create-certificate-payment.dto.js +0 -6
- package/dist/widget-orders/widget-orders-create-order-payment.dto.d.ts +0 -1
- package/dist/widget-orders/widget-orders-create-order-payment.dto.js +0 -6
- package/dist/widget-orders/widget-orders-create-payment.ro.d.ts +4 -0
- package/dist/widget-orders/widget-orders-create-payment.ro.js +6 -0
- package/dist/widget-orders/widget-orders-order.ro.d.ts +7 -0
- package/package.json +2 -2
- package/dist/certificate-sale/enum/certificatesale-source.enum.d.ts +0 -6
- package/dist/certificate-sale/enum/certificatesale-source.enum.js +0 -10
- package/dist/order/enum/order-source.enum.js +0 -10
- package/dist/profile/update-profile.dto.d.ts +0 -18
- package/dist/profile/update-profile.dto.js +0 -80
- package/dist/transaction/update-transaction.dto.d.ts +0 -5
- package/dist/transaction/update-transaction.dto.js +0 -8
|
@@ -1,8 +1,16 @@
|
|
|
1
|
+
import { ProfileCurrencyEnum } from '../profile/enum/profile-currency';
|
|
1
2
|
import { RoleRO } from '../role/role.ro';
|
|
3
|
+
import { CountriesEnum } from '../shared/enum/countries.enum';
|
|
4
|
+
import { Languages } from '../shared/enum/languages.enum';
|
|
2
5
|
import { UserRO } from './user.ro';
|
|
3
6
|
export declare type CurrentUserRO = {
|
|
4
|
-
profileId
|
|
5
|
-
mode
|
|
6
|
-
user: UserRO;
|
|
7
|
+
profileId: number;
|
|
8
|
+
mode: 'user' | 'admin';
|
|
7
9
|
role?: RoleRO;
|
|
10
|
+
user: UserRO;
|
|
11
|
+
extra: {
|
|
12
|
+
language: Languages;
|
|
13
|
+
country: CountriesEnum;
|
|
14
|
+
currency: ProfileCurrencyEnum;
|
|
15
|
+
};
|
|
8
16
|
};
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import { ProfileCurrencyEnum } from '../profile/enum/profile-currency';
|
|
2
|
+
import { CountriesEnum } from '../shared/enum/countries.enum';
|
|
3
|
+
import { Languages } from '../shared/enum/languages.enum';
|
|
1
4
|
import { ResponseObject } from '../shared/ro';
|
|
2
5
|
import { WidgetThemeEnum } from './enum/widget-theme.enum';
|
|
3
6
|
import { WidgetTypeEnum } from './enum/widget-type.enum';
|
|
@@ -8,4 +11,7 @@ export declare type WidgetResponseObject = ResponseObject & {
|
|
|
8
11
|
uuid: string;
|
|
9
12
|
locationIds?: number[];
|
|
10
13
|
certificateIds?: number[];
|
|
14
|
+
language: Languages;
|
|
15
|
+
country: CountriesEnum;
|
|
16
|
+
currency: ProfileCurrencyEnum;
|
|
11
17
|
};
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import { CertificatesaleDeliveryTypeEnum } from '../certificate-sale/enum/certificatesales-delivery-type.enum';
|
|
2
|
+
import { ProfileCurrencyEnum } from '../profile/enum/profile-currency';
|
|
2
3
|
export declare type WidgetOpenapiCertificateRO = {
|
|
4
|
+
id: number;
|
|
5
|
+
createdAt: Date;
|
|
3
6
|
code: string;
|
|
4
7
|
nominal: number;
|
|
8
|
+
phone: string;
|
|
5
9
|
extraPrice: number;
|
|
6
10
|
deliveryPrice: number;
|
|
7
11
|
payed: number;
|
|
@@ -18,4 +22,7 @@ export declare type WidgetOpenapiCertificateRO = {
|
|
|
18
22
|
deliveryMessage?: string;
|
|
19
23
|
deliveryType?: CertificatesaleDeliveryTypeEnum;
|
|
20
24
|
sendingDate?: string;
|
|
25
|
+
stripePaymentId?: string;
|
|
26
|
+
token: string;
|
|
27
|
+
currency: ProfileCurrencyEnum;
|
|
21
28
|
};
|
|
@@ -5,7 +5,9 @@ export declare class WidgetOpenapiCreateOrderDto {
|
|
|
5
5
|
email: string;
|
|
6
6
|
phone: string;
|
|
7
7
|
address: string;
|
|
8
|
-
|
|
8
|
+
browserFingerprint: string;
|
|
9
|
+
prepaymentAmount: number;
|
|
10
|
+
profileId: number;
|
|
9
11
|
players: number;
|
|
10
12
|
slotId: number;
|
|
11
13
|
widgetUid: string;
|
|
@@ -42,10 +42,20 @@ __decorate([
|
|
|
42
42
|
__metadata("design:type", String)
|
|
43
43
|
], WidgetOpenapiCreateOrderDto.prototype, "address", void 0);
|
|
44
44
|
__decorate([
|
|
45
|
-
(0,
|
|
45
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
46
46
|
(0, class_transformer_1.Expose)(),
|
|
47
47
|
__metadata("design:type", String)
|
|
48
|
-
], WidgetOpenapiCreateOrderDto.prototype, "
|
|
48
|
+
], WidgetOpenapiCreateOrderDto.prototype, "browserFingerprint", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, class_validator_1.IsOptional)(),
|
|
51
|
+
(0, class_transformer_1.Expose)(),
|
|
52
|
+
__metadata("design:type", Number)
|
|
53
|
+
], WidgetOpenapiCreateOrderDto.prototype, "prepaymentAmount", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
(0, class_validator_1.IsNumber)(),
|
|
56
|
+
(0, class_transformer_1.Expose)(),
|
|
57
|
+
__metadata("design:type", Number)
|
|
58
|
+
], WidgetOpenapiCreateOrderDto.prototype, "profileId", void 0);
|
|
49
59
|
__decorate([
|
|
50
60
|
(0, class_validator_1.IsNumber)(),
|
|
51
61
|
(0, class_transformer_1.Expose)(),
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
import { ProfileCurrencyEnum } from '../profile/enum/profile-currency';
|
|
1
2
|
import { Languages } from '../shared/enum/languages.enum';
|
|
2
|
-
|
|
3
|
+
import { WidgetOpenApiRO } from './widget-openapi.ro';
|
|
4
|
+
export declare type WidgetOpenapiOrderRO = {
|
|
3
5
|
id: number;
|
|
6
|
+
createdAt: Date;
|
|
4
7
|
code: string;
|
|
5
8
|
language?: Languages;
|
|
6
9
|
price: {
|
|
@@ -10,7 +13,7 @@ export declare type WidgetOpenapiOrderResponseObject = {
|
|
|
10
13
|
total: number;
|
|
11
14
|
players: number;
|
|
12
15
|
utcDate: string;
|
|
13
|
-
|
|
16
|
+
token: string;
|
|
14
17
|
certificates: Array<{
|
|
15
18
|
nominal: number;
|
|
16
19
|
code: string;
|
|
@@ -26,4 +29,10 @@ export declare type WidgetOpenapiOrderResponseObject = {
|
|
|
26
29
|
transactions: Array<{
|
|
27
30
|
amount: number;
|
|
28
31
|
}>;
|
|
32
|
+
clientEmail: string;
|
|
33
|
+
stripePaymentId?: string;
|
|
34
|
+
prepaymentAmount?: number;
|
|
35
|
+
paypalPaymenId?: string;
|
|
36
|
+
currency: ProfileCurrencyEnum;
|
|
37
|
+
questroom: WidgetOpenApiRO['questrooms'][0];
|
|
29
38
|
};
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { ProfileCurrencyEnum } from '../profile/enum/profile-currency';
|
|
2
|
+
import { CountriesEnum } from '../shared/enum/countries.enum';
|
|
3
|
+
import { Languages } from '../shared/enum/languages.enum';
|
|
2
4
|
import { UpsellingResponseObject } from '../upselling/upselling.ro';
|
|
3
5
|
import { WidgetTypeEnum } from '../widget/enum/widget-type.enum';
|
|
4
6
|
import { WidgetOpenApiCertificateCardRO } from './widget-openapi-certificate-card.ro';
|
|
@@ -9,17 +11,11 @@ declare type WIDGET_BUTTON = {
|
|
|
9
11
|
certificates: WidgetOpenApiCertificateCardRO[];
|
|
10
12
|
upsellings: Array<Pick<UpsellingResponseObject, 'id' | 'allQuestrooms' | 'questroomsIds' | 'price' | 'title' | 'description'>>;
|
|
11
13
|
};
|
|
12
|
-
declare type AGREGATOR = {
|
|
13
|
-
type?: never;
|
|
14
|
-
questrooms?: never;
|
|
15
|
-
upsellings?: never;
|
|
16
|
-
certificates?: never;
|
|
17
|
-
};
|
|
18
14
|
declare type ALL_CERTIFICATES = {
|
|
19
15
|
type: WidgetTypeEnum.ALL_CERTIFICATES;
|
|
20
|
-
questrooms
|
|
16
|
+
questrooms: undefined;
|
|
21
17
|
certificates: WidgetOpenApiCertificateCardRO[];
|
|
22
|
-
upsellings
|
|
18
|
+
upsellings: undefined;
|
|
23
19
|
};
|
|
24
20
|
declare type ONE_QUESTROOM = {
|
|
25
21
|
type: WidgetTypeEnum.ONE_QUESTROOM;
|
|
@@ -35,8 +31,12 @@ declare type ALL_QUESTROOM = {
|
|
|
35
31
|
};
|
|
36
32
|
export declare type WidgetOpenApiRO = {
|
|
37
33
|
color: string;
|
|
34
|
+
profileId: number;
|
|
35
|
+
phone: string;
|
|
38
36
|
theme: string;
|
|
39
37
|
uuid: string;
|
|
38
|
+
language: Languages;
|
|
39
|
+
country: CountriesEnum;
|
|
40
40
|
currency: ProfileCurrencyEnum;
|
|
41
|
-
} & (WIDGET_BUTTON | ALL_QUESTROOM | ONE_QUESTROOM | ALL_CERTIFICATES
|
|
41
|
+
} & (WIDGET_BUTTON | ALL_QUESTROOM | ONE_QUESTROOM | ALL_CERTIFICATES);
|
|
42
42
|
export {};
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
import { CertificatesaleDeliveryTypeEnum } from '../certificate-sale/enum/certificatesales-delivery-type.enum';
|
|
2
|
+
import { ProfileCurrencyEnum } from '../profile/enum/profile-currency';
|
|
2
3
|
import { ResponseObject } from '../shared/ro';
|
|
4
|
+
import { TransactionTypeEnum } from '../transaction/enum/transaction-type.enum';
|
|
3
5
|
export declare type WidgetOrdersCertificateRO = ResponseObject & {
|
|
4
6
|
total: number;
|
|
5
7
|
payed: number;
|
|
8
|
+
token: string;
|
|
9
|
+
currency: ProfileCurrencyEnum;
|
|
6
10
|
orderId: number;
|
|
7
11
|
toPay: number;
|
|
8
12
|
sended: boolean;
|
|
9
13
|
pdfLink: string;
|
|
14
|
+
phone: string;
|
|
10
15
|
code: string;
|
|
11
16
|
expireDate: string;
|
|
12
17
|
nominal: number;
|
|
@@ -27,6 +32,8 @@ export declare type WidgetOrdersCertificateRO = ResponseObject & {
|
|
|
27
32
|
}>;
|
|
28
33
|
transactions: Array<ResponseObject & {
|
|
29
34
|
amount: number;
|
|
35
|
+
onlinePaymentSecret?: string;
|
|
36
|
+
type: TransactionTypeEnum;
|
|
30
37
|
}>;
|
|
31
38
|
client: {
|
|
32
39
|
name: string;
|
|
@@ -12,7 +12,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.WidgetOrdersCreateCertificatePaymentDto = void 0;
|
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
|
-
const is_not_blank_1 = require("../shared/is-not-blank");
|
|
16
15
|
class WidgetOrdersCreateCertificatePaymentDto {
|
|
17
16
|
}
|
|
18
17
|
__decorate([
|
|
@@ -20,9 +19,4 @@ __decorate([
|
|
|
20
19
|
(0, class_transformer_1.Expose)(),
|
|
21
20
|
__metadata("design:type", Number)
|
|
22
21
|
], WidgetOrdersCreateCertificatePaymentDto.prototype, "certificateId", void 0);
|
|
23
|
-
__decorate([
|
|
24
|
-
(0, is_not_blank_1.IsNotBlank)(),
|
|
25
|
-
(0, class_transformer_1.Expose)(),
|
|
26
|
-
__metadata("design:type", String)
|
|
27
|
-
], WidgetOrdersCreateCertificatePaymentDto.prototype, "paymentId", void 0);
|
|
28
22
|
exports.WidgetOrdersCreateCertificatePaymentDto = WidgetOrdersCreateCertificatePaymentDto;
|
|
@@ -12,7 +12,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.WidgetOrdersCreateOrderPaymentDto = void 0;
|
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
|
-
const is_not_blank_1 = require("../shared/is-not-blank");
|
|
16
15
|
class WidgetOrdersCreateOrderPaymentDto {
|
|
17
16
|
}
|
|
18
17
|
__decorate([
|
|
@@ -20,9 +19,4 @@ __decorate([
|
|
|
20
19
|
(0, class_transformer_1.Expose)(),
|
|
21
20
|
__metadata("design:type", Number)
|
|
22
21
|
], WidgetOrdersCreateOrderPaymentDto.prototype, "orderId", void 0);
|
|
23
|
-
__decorate([
|
|
24
|
-
(0, is_not_blank_1.IsNotBlank)(),
|
|
25
|
-
(0, class_transformer_1.Expose)(),
|
|
26
|
-
__metadata("design:type", String)
|
|
27
|
-
], WidgetOrdersCreateOrderPaymentDto.prototype, "paymentId", void 0);
|
|
28
22
|
exports.WidgetOrdersCreateOrderPaymentDto = WidgetOrdersCreateOrderPaymentDto;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { OrderPenaltyTypeEnum } from '../order-penalty/enum/order-penalty-type.enum';
|
|
2
|
+
import { ProfileCurrencyEnum } from '../profile/enum/profile-currency';
|
|
2
3
|
import { Languages } from '../shared/enum/languages.enum';
|
|
3
4
|
import { ResponseObject } from '../shared/ro';
|
|
5
|
+
import { TransactionTypeEnum } from '../transaction/enum/transaction-type.enum';
|
|
4
6
|
export declare type WidgetOrdersOrderRO = {
|
|
5
7
|
id: number;
|
|
6
8
|
code: string;
|
|
@@ -14,6 +16,8 @@ export declare type WidgetOrdersOrderRO = {
|
|
|
14
16
|
};
|
|
15
17
|
payed: number;
|
|
16
18
|
total: number;
|
|
19
|
+
token: string;
|
|
20
|
+
currency: ProfileCurrencyEnum;
|
|
17
21
|
client: {
|
|
18
22
|
name: string;
|
|
19
23
|
surname: string;
|
|
@@ -45,6 +49,8 @@ export declare type WidgetOrdersOrderRO = {
|
|
|
45
49
|
}>;
|
|
46
50
|
transactions: Array<ResponseObject & {
|
|
47
51
|
amount: number;
|
|
52
|
+
onlinePaymentSecret?: string;
|
|
53
|
+
type: TransactionTypeEnum;
|
|
48
54
|
}>;
|
|
49
55
|
questroom: {
|
|
50
56
|
id: number;
|
|
@@ -52,6 +58,7 @@ export declare type WidgetOrdersOrderRO = {
|
|
|
52
58
|
address: string;
|
|
53
59
|
howToFind: string;
|
|
54
60
|
prepareInfo: string;
|
|
61
|
+
phone: string;
|
|
55
62
|
time: number;
|
|
56
63
|
minAge: number;
|
|
57
64
|
minHoursForFreeCanceling: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@escapenavigator/types",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.43",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"class-transformer": "^0.5.1",
|
|
21
21
|
"class-validator": "^0.13.1"
|
|
22
22
|
},
|
|
23
|
-
"gitHead": "
|
|
23
|
+
"gitHead": "5ad802775ca2794c0f88d7e271f58197736d10f5",
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@types/validator": "13.0.0",
|
|
26
26
|
"alphakit-presets-lint": "^1.0.0",
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CertificatesaleSourceEnum = void 0;
|
|
4
|
-
var CertificatesaleSourceEnum;
|
|
5
|
-
(function (CertificatesaleSourceEnum) {
|
|
6
|
-
CertificatesaleSourceEnum["WWW"] = "www";
|
|
7
|
-
CertificatesaleSourceEnum["USER"] = "user";
|
|
8
|
-
CertificatesaleSourceEnum["SUPPORT"] = "support";
|
|
9
|
-
CertificatesaleSourceEnum["AGREGATOR"] = "agregator";
|
|
10
|
-
})(CertificatesaleSourceEnum = exports.CertificatesaleSourceEnum || (exports.CertificatesaleSourceEnum = {}));
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.OrderSourceEnum = void 0;
|
|
4
|
-
var OrderSourceEnum;
|
|
5
|
-
(function (OrderSourceEnum) {
|
|
6
|
-
OrderSourceEnum["WIDGET"] = "widget";
|
|
7
|
-
OrderSourceEnum["USER"] = "user";
|
|
8
|
-
OrderSourceEnum["SUPPORT"] = "support";
|
|
9
|
-
OrderSourceEnum["AGREGATOR"] = "agregator";
|
|
10
|
-
})(OrderSourceEnum = exports.OrderSourceEnum || (exports.OrderSourceEnum = {}));
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { Languages } from '../shared/enum/languages.enum';
|
|
2
|
-
export declare class UpdateProfileDto {
|
|
3
|
-
color: string;
|
|
4
|
-
title: string;
|
|
5
|
-
legalTitle: string;
|
|
6
|
-
registrationRequestId: number;
|
|
7
|
-
phone: string;
|
|
8
|
-
contactPhone: string;
|
|
9
|
-
contactName: string;
|
|
10
|
-
email: string;
|
|
11
|
-
site: string;
|
|
12
|
-
address: string;
|
|
13
|
-
language: Languages;
|
|
14
|
-
facebook?: string;
|
|
15
|
-
instagram?: string;
|
|
16
|
-
comment?: string;
|
|
17
|
-
logo?: string;
|
|
18
|
-
}
|
|
@@ -1,80 +0,0 @@
|
|
|
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.UpdateProfileDto = void 0;
|
|
13
|
-
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const class_validator_1 = require("class-validator");
|
|
15
|
-
const languages_enum_1 = require("../shared/enum/languages.enum");
|
|
16
|
-
const is_not_blank_1 = require("../shared/is-not-blank");
|
|
17
|
-
class UpdateProfileDto {
|
|
18
|
-
}
|
|
19
|
-
__decorate([
|
|
20
|
-
(0, is_not_blank_1.IsNotBlank)(),
|
|
21
|
-
__metadata("design:type", String)
|
|
22
|
-
], UpdateProfileDto.prototype, "color", void 0);
|
|
23
|
-
__decorate([
|
|
24
|
-
(0, is_not_blank_1.IsNotBlank)(),
|
|
25
|
-
__metadata("design:type", String)
|
|
26
|
-
], UpdateProfileDto.prototype, "title", void 0);
|
|
27
|
-
__decorate([
|
|
28
|
-
(0, is_not_blank_1.IsNotBlank)(),
|
|
29
|
-
__metadata("design:type", String)
|
|
30
|
-
], UpdateProfileDto.prototype, "legalTitle", void 0);
|
|
31
|
-
__decorate([
|
|
32
|
-
(0, class_validator_1.IsNumber)(),
|
|
33
|
-
(0, class_transformer_1.Expose)(),
|
|
34
|
-
__metadata("design:type", Number)
|
|
35
|
-
], UpdateProfileDto.prototype, "registrationRequestId", void 0);
|
|
36
|
-
__decorate([
|
|
37
|
-
(0, is_not_blank_1.IsNotBlank)(),
|
|
38
|
-
__metadata("design:type", String)
|
|
39
|
-
], UpdateProfileDto.prototype, "phone", void 0);
|
|
40
|
-
__decorate([
|
|
41
|
-
(0, is_not_blank_1.IsNotBlank)(),
|
|
42
|
-
__metadata("design:type", String)
|
|
43
|
-
], UpdateProfileDto.prototype, "contactPhone", void 0);
|
|
44
|
-
__decorate([
|
|
45
|
-
(0, is_not_blank_1.IsNotBlank)(),
|
|
46
|
-
__metadata("design:type", String)
|
|
47
|
-
], UpdateProfileDto.prototype, "contactName", void 0);
|
|
48
|
-
__decorate([
|
|
49
|
-
(0, is_not_blank_1.IsNotBlank)(),
|
|
50
|
-
__metadata("design:type", String)
|
|
51
|
-
], UpdateProfileDto.prototype, "email", void 0);
|
|
52
|
-
__decorate([
|
|
53
|
-
(0, is_not_blank_1.IsNotBlank)(),
|
|
54
|
-
__metadata("design:type", String)
|
|
55
|
-
], UpdateProfileDto.prototype, "site", void 0);
|
|
56
|
-
__decorate([
|
|
57
|
-
(0, is_not_blank_1.IsNotBlank)(),
|
|
58
|
-
__metadata("design:type", String)
|
|
59
|
-
], UpdateProfileDto.prototype, "address", void 0);
|
|
60
|
-
__decorate([
|
|
61
|
-
(0, is_not_blank_1.IsNotBlank)(),
|
|
62
|
-
__metadata("design:type", String)
|
|
63
|
-
], UpdateProfileDto.prototype, "language", void 0);
|
|
64
|
-
__decorate([
|
|
65
|
-
(0, class_validator_1.IsOptional)(),
|
|
66
|
-
__metadata("design:type", String)
|
|
67
|
-
], UpdateProfileDto.prototype, "facebook", void 0);
|
|
68
|
-
__decorate([
|
|
69
|
-
(0, class_validator_1.IsOptional)(),
|
|
70
|
-
__metadata("design:type", String)
|
|
71
|
-
], UpdateProfileDto.prototype, "instagram", void 0);
|
|
72
|
-
__decorate([
|
|
73
|
-
(0, class_validator_1.IsOptional)(),
|
|
74
|
-
__metadata("design:type", String)
|
|
75
|
-
], UpdateProfileDto.prototype, "comment", void 0);
|
|
76
|
-
__decorate([
|
|
77
|
-
(0, class_validator_1.IsOptional)(),
|
|
78
|
-
__metadata("design:type", String)
|
|
79
|
-
], UpdateProfileDto.prototype, "logo", void 0);
|
|
80
|
-
exports.UpdateProfileDto = UpdateProfileDto;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { CreateTransactionDto } from './create-transaction.dto';
|
|
2
|
-
declare const UpdateTransactionDto_base: import("@nestjs/mapped-types").MappedType<Partial<CreateTransactionDto>>;
|
|
3
|
-
export declare class UpdateTransactionDto extends UpdateTransactionDto_base {
|
|
4
|
-
}
|
|
5
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UpdateTransactionDto = void 0;
|
|
4
|
-
const mapped_types_1 = require("@nestjs/mapped-types");
|
|
5
|
-
const create_transaction_dto_1 = require("./create-transaction.dto");
|
|
6
|
-
class UpdateTransactionDto extends (0, mapped_types_1.PartialType)(create_transaction_dto_1.CreateTransactionDto) {
|
|
7
|
-
}
|
|
8
|
-
exports.UpdateTransactionDto = UpdateTransactionDto;
|