@heliofi/common 0.2.19 → 0.2.20
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/src/domain/model/auth/dtos/external/externalAuthSignIn.dto.d.ts +4 -0
- package/dist/src/domain/model/auth/dtos/external/externalAuthSignIn.dto.js +27 -0
- package/dist/src/domain/model/auth/dtos/external/externalAuthSignIn.dto.js.map +1 -0
- package/dist/src/domain/model/auth/dtos/external/externalAuthSignUp.dto.d.ts +9 -0
- package/dist/src/domain/model/auth/dtos/external/externalAuthSignUp.dto.js +44 -0
- package/dist/src/domain/model/auth/dtos/external/externalAuthSignUp.dto.js.map +1 -0
- package/dist/src/domain/model/auth/dtos/index.d.ts +2 -0
- package/dist/src/domain/model/auth/dtos/index.js +2 -0
- package/dist/src/domain/model/auth/dtos/index.js.map +1 -1
- package/dist/src/domain/model/auth/entities/external/ExternalSignInResponse.d.ts +8 -0
- package/dist/src/domain/model/auth/entities/external/ExternalSignInResponse.js +8 -0
- package/dist/src/domain/model/auth/entities/external/ExternalSignInResponse.js.map +1 -0
- package/dist/src/domain/model/auth/entities/external/ExternalSignupResponse.d.ts +5 -0
- package/dist/src/domain/model/auth/entities/external/ExternalSignupResponse.js +8 -0
- package/dist/src/domain/model/auth/entities/external/ExternalSignupResponse.js.map +1 -0
- package/dist/src/domain/model/auth/entities/external/index.d.ts +2 -0
- package/dist/src/domain/model/auth/entities/external/index.js +19 -0
- package/dist/src/domain/model/auth/entities/external/index.js.map +1 -0
- package/dist/src/domain/model/auth/entities/index.d.ts +1 -0
- package/dist/src/domain/model/auth/entities/index.js +1 -0
- package/dist/src/domain/model/auth/entities/index.js.map +1 -1
- package/dist/src/domain/model/company/dtos/createCompany.dto.d.ts +9 -0
- package/dist/src/domain/model/company/dtos/createCompany.dto.js +52 -0
- package/dist/src/domain/model/company/dtos/createCompany.dto.js.map +1 -0
- package/dist/src/domain/model/company/dtos/index.d.ts +1 -0
- package/dist/src/domain/model/company/dtos/index.js +1 -0
- package/dist/src/domain/model/company/dtos/index.js.map +1 -1
- package/dist/src/domain/model/telegram-details/dtos/createTelegramDetails.dto.d.ts +2 -2
- package/dist/src/domain/model/telegram-details/dtos/createTelegramDetails.dto.js +2 -2
- package/dist/src/domain/model/telegram-details/dtos/createTelegramDetails.dto.js.map +1 -1
- package/dist/src/domain/model/telegram-details/dtos/index.d.ts +1 -0
- package/dist/src/domain/model/telegram-details/dtos/index.js +1 -0
- package/dist/src/domain/model/telegram-details/dtos/index.js.map +1 -1
- package/dist/src/domain/model/telegram-details/dtos/telegramGroup.dto.d.ts +4 -0
- package/dist/src/domain/model/telegram-details/dtos/telegramGroup.dto.js +27 -0
- package/dist/src/domain/model/telegram-details/dtos/telegramGroup.dto.js.map +1 -0
- package/dist/src/domain/model/telegram-details/dtos/updateTelegramDetails.dto.d.ts +2 -2
- package/dist/src/domain/model/telegram-details/dtos/updateTelegramDetails.dto.js +2 -2
- package/dist/src/domain/model/telegram-details/dtos/updateTelegramDetails.dto.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,27 @@
|
|
|
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.ExternalAuthSignInDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class ExternalAuthSignInDto {
|
|
15
|
+
}
|
|
16
|
+
__decorate([
|
|
17
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
18
|
+
(0, class_validator_1.IsString)(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], ExternalAuthSignInDto.prototype, "id", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_validator_1.IsOptional)(),
|
|
23
|
+
(0, class_validator_1.IsString)(),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], ExternalAuthSignInDto.prototype, "lastSessionId", void 0);
|
|
26
|
+
exports.ExternalAuthSignInDto = ExternalAuthSignInDto;
|
|
27
|
+
//# sourceMappingURL=externalAuthSignIn.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"externalAuthSignIn.dto.js","sourceRoot":"","sources":["../../../../../../../src/domain/model/auth/dtos/external/externalAuthSignIn.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAmE;AAEnE,MAAa,qBAAqB;CAQjC;AAPC;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;iDACA;AAEX;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;4DACY;AAPzB,sDAQC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { CreateCompanyDto } from '../../../company/dtos/createCompany.dto';
|
|
2
|
+
import { CreateUserDto } from '../../../user/dtos/createUser.dto';
|
|
3
|
+
import { CreatePayoutWalletDto } from '../../../payout-wallet/dtos/createPayoutWallet.dto';
|
|
4
|
+
export declare class ExternalAuthSignUpDto {
|
|
5
|
+
id: string;
|
|
6
|
+
wallets: CreatePayoutWalletDto[];
|
|
7
|
+
user?: CreateUserDto;
|
|
8
|
+
company?: CreateCompanyDto;
|
|
9
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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.ExternalAuthSignUpDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
const createCompany_dto_1 = require("../../../company/dtos/createCompany.dto");
|
|
16
|
+
const createUser_dto_1 = require("../../../user/dtos/createUser.dto");
|
|
17
|
+
const createPayoutWallet_dto_1 = require("../../../payout-wallet/dtos/createPayoutWallet.dto");
|
|
18
|
+
class ExternalAuthSignUpDto {
|
|
19
|
+
}
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
22
|
+
(0, class_validator_1.IsString)(),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], ExternalAuthSignUpDto.prototype, "id", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_validator_1.IsArray)(),
|
|
27
|
+
(0, class_transformer_1.Type)(() => createPayoutWallet_dto_1.CreatePayoutWalletDto),
|
|
28
|
+
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
29
|
+
__metadata("design:type", Array)
|
|
30
|
+
], ExternalAuthSignUpDto.prototype, "wallets", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, class_validator_1.IsOptional)(),
|
|
33
|
+
(0, class_transformer_1.Type)(() => createUser_dto_1.CreateUserDto),
|
|
34
|
+
(0, class_validator_1.ValidateNested)(),
|
|
35
|
+
__metadata("design:type", createUser_dto_1.CreateUserDto)
|
|
36
|
+
], ExternalAuthSignUpDto.prototype, "user", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, class_validator_1.IsOptional)(),
|
|
39
|
+
(0, class_transformer_1.Type)(() => createCompany_dto_1.CreateCompanyDto),
|
|
40
|
+
(0, class_validator_1.ValidateNested)(),
|
|
41
|
+
__metadata("design:type", createCompany_dto_1.CreateCompanyDto)
|
|
42
|
+
], ExternalAuthSignUpDto.prototype, "company", void 0);
|
|
43
|
+
exports.ExternalAuthSignUpDto = ExternalAuthSignUpDto;
|
|
44
|
+
//# sourceMappingURL=externalAuthSignUp.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"externalAuthSignUp.dto.js","sourceRoot":"","sources":["../../../../../../../src/domain/model/auth/dtos/external/externalAuthSignUp.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAyC;AACzC,qDAMyB;AACzB,+EAA2E;AAC3E,sEAAkE;AAClE,+FAA2F;AAE3F,MAAa,qBAAqB;CAmBjC;AAlBC;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;iDACA;AAEX;IAAC,IAAA,yBAAO,GAAE;IACT,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,8CAAqB,CAAC;IACjC,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;sDACE;AAEjC;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,8BAAa,CAAC;IACzB,IAAA,gCAAc,GAAE;8BACV,8BAAa;mDAAC;AAErB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,oCAAgB,CAAC;IAC5B,IAAA,gCAAc,GAAE;8BACP,oCAAgB;sDAAC;AAlB7B,sDAmBC"}
|
|
@@ -8,3 +8,5 @@ export * from './evmMessage.dto';
|
|
|
8
8
|
export * from './signOnWeb3authSocialNetwork.dto';
|
|
9
9
|
export * from './bitcoinSignOn.dto';
|
|
10
10
|
export * from './btcProperties.dto';
|
|
11
|
+
export * from './external/externalAuthSignIn.dto';
|
|
12
|
+
export * from './external/externalAuthSignUp.dto';
|
|
@@ -24,4 +24,6 @@ __exportStar(require("./evmMessage.dto"), exports);
|
|
|
24
24
|
__exportStar(require("./signOnWeb3authSocialNetwork.dto"), exports);
|
|
25
25
|
__exportStar(require("./bitcoinSignOn.dto"), exports);
|
|
26
26
|
__exportStar(require("./btcProperties.dto"), exports);
|
|
27
|
+
__exportStar(require("./external/externalAuthSignIn.dto"), exports);
|
|
28
|
+
__exportStar(require("./external/externalAuthSignUp.dto"), exports);
|
|
27
29
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/auth/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC;AAChC,+CAA6B;AAC7B,0DAAwC;AACxC,oDAAkC;AAClC,uDAAqC;AACrC,0DAAwC;AACxC,mDAAiC;AACjC,oEAAkD;AAClD,sDAAoC;AACpC,sDAAoC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/auth/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC;AAChC,+CAA6B;AAC7B,0DAAwC;AACxC,oDAAkC;AAClC,uDAAqC;AACrC,0DAAwC;AACxC,mDAAiC;AACjC,oEAAkD;AAClD,sDAAoC;AACpC,sDAAoC;AACpC,oEAAkD;AAClD,oEAAkD"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Entity } from '../../../entity';
|
|
2
|
+
import { BaseCompany } from '../../../company/entities/BaseCompany.entity';
|
|
3
|
+
import { BaseUser } from '../../../user/entities/BaseUser.entity';
|
|
4
|
+
export declare class ExternalSignInResponse extends Entity {
|
|
5
|
+
user: Omit<BaseUser, 'userType'>;
|
|
6
|
+
company: BaseCompany;
|
|
7
|
+
redirectUrl: string;
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ExternalSignInResponse = void 0;
|
|
4
|
+
const entity_1 = require("../../../entity");
|
|
5
|
+
class ExternalSignInResponse extends entity_1.Entity {
|
|
6
|
+
}
|
|
7
|
+
exports.ExternalSignInResponse = ExternalSignInResponse;
|
|
8
|
+
//# sourceMappingURL=ExternalSignInResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExternalSignInResponse.js","sourceRoot":"","sources":["../../../../../../../src/domain/model/auth/entities/external/ExternalSignInResponse.ts"],"names":[],"mappings":";;;AAAA,4CAAyC;AAIzC,MAAa,sBAAuB,SAAQ,eAAM;CAMjD;AAND,wDAMC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ExternalSignupResponse = void 0;
|
|
4
|
+
const ExternalSignInResponse_1 = require("./ExternalSignInResponse");
|
|
5
|
+
class ExternalSignupResponse extends ExternalSignInResponse_1.ExternalSignInResponse {
|
|
6
|
+
}
|
|
7
|
+
exports.ExternalSignupResponse = ExternalSignupResponse;
|
|
8
|
+
//# sourceMappingURL=ExternalSignupResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExternalSignupResponse.js","sourceRoot":"","sources":["../../../../../../../src/domain/model/auth/entities/external/ExternalSignupResponse.ts"],"names":[],"mappings":";;;AACA,qEAAkE;AAElE,MAAa,sBAAuB,SAAQ,+CAAsB;CAEjE;AAFD,wDAEC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./ExternalSignInResponse"), exports);
|
|
18
|
+
__exportStar(require("./ExternalSignupResponse"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/domain/model/auth/entities/external/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AACzC,2DAAyC"}
|
|
@@ -25,4 +25,5 @@ __exportStar(require("./AccessCodeAuthToken"), exports);
|
|
|
25
25
|
__exportStar(require("./AccessCodeAuthPublicConfig.entity"), exports);
|
|
26
26
|
__exportStar(require("./AccessCodeAuthResponse.entity"), exports);
|
|
27
27
|
__exportStar(require("./TwitterRedirectUrl.entity"), exports);
|
|
28
|
+
__exportStar(require("./external"), exports);
|
|
28
29
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/auth/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B;AAC/B,6CAA2B;AAC3B,sDAAoC;AACpC,qDAAmC;AACnC,+DAA6C;AAC7C,mEAAiD;AACjD,sDAAoC;AACpC,wDAAsC;AACtC,sEAAoD;AACpD,kEAAgD;AAChD,8DAA4C"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/auth/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B;AAC/B,6CAA2B;AAC3B,sDAAoC;AACpC,qDAAmC;AACnC,+DAA6C;AAC7C,mEAAiD;AACjD,sDAAoC;AACpC,wDAAsC;AACtC,sEAAoD;AACpD,kEAAgD;AAChD,8DAA4C;AAC5C,6CAA2B"}
|
|
@@ -0,0 +1,52 @@
|
|
|
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.CreateCompanyDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class CreateCompanyDto {
|
|
15
|
+
}
|
|
16
|
+
__decorate([
|
|
17
|
+
(0, class_validator_1.IsOptional)(),
|
|
18
|
+
(0, class_validator_1.IsString)(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], CreateCompanyDto.prototype, "name", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_validator_1.IsString)(),
|
|
23
|
+
(0, class_validator_1.IsOptional)(),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], CreateCompanyDto.prototype, "email", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, class_validator_1.IsOptional)(),
|
|
28
|
+
(0, class_validator_1.IsString)(),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], CreateCompanyDto.prototype, "websiteUrl", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, class_validator_1.IsOptional)(),
|
|
33
|
+
(0, class_validator_1.IsString)(),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], CreateCompanyDto.prototype, "discordUsername", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, class_validator_1.IsOptional)(),
|
|
38
|
+
(0, class_validator_1.IsString)(),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], CreateCompanyDto.prototype, "address", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, class_validator_1.IsOptional)(),
|
|
43
|
+
(0, class_validator_1.IsString)(),
|
|
44
|
+
__metadata("design:type", String)
|
|
45
|
+
], CreateCompanyDto.prototype, "phoneNumber", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
48
|
+
(0, class_validator_1.IsBoolean)(),
|
|
49
|
+
__metadata("design:type", Boolean)
|
|
50
|
+
], CreateCompanyDto.prototype, "kycVerified", void 0);
|
|
51
|
+
exports.CreateCompanyDto = CreateCompanyDto;
|
|
52
|
+
//# sourceMappingURL=createCompany.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createCompany.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/company/dtos/createCompany.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA8E;AAE9E,MAAa,gBAAgB;CA4B5B;AA3BC;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;8CACG;AAEd;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;+CACE;AAEf;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;oDACS;AAEpB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;yDACc;AAEzB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;iDACM;AAEjB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACU;AAErB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;qDACS;AA3BvB,4CA4BC"}
|
|
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./updateCompany.dto"), exports);
|
|
18
|
+
__exportStar(require("./createCompany.dto"), exports);
|
|
18
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/company/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/company/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,sDAAoC"}
|
|
@@ -12,11 +12,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.CreateTelegramDetailsDto = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
const class_transformer_1 = require("class-transformer");
|
|
15
|
-
const
|
|
15
|
+
const telegramGroup_dto_1 = require("./telegramGroup.dto");
|
|
16
16
|
class CreateTelegramDetailsDto {
|
|
17
17
|
}
|
|
18
18
|
__decorate([
|
|
19
|
-
(0, class_transformer_1.Type)(() =>
|
|
19
|
+
(0, class_transformer_1.Type)(() => telegramGroup_dto_1.TelegramGroupDto),
|
|
20
20
|
(0, class_validator_1.IsArray)(),
|
|
21
21
|
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
22
22
|
(0, class_validator_1.IsNotEmpty)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createTelegramDetails.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/telegram-details/dtos/createTelegramDetails.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAsE;AACtE,yDAAyC;AACzC,
|
|
1
|
+
{"version":3,"file":"createTelegramDetails.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/telegram-details/dtos/createTelegramDetails.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAsE;AACtE,yDAAyC;AACzC,2DAAuD;AAEvD,MAAa,wBAAwB;CAMpC;AALC;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,oCAAgB,CAAC;IAC5B,IAAA,yBAAO,GAAE;IACT,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IAC9B,IAAA,4BAAU,GAAE;;wDACc;AAL7B,4DAMC"}
|
|
@@ -16,4 +16,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./createTelegramDetails.dto"), exports);
|
|
18
18
|
__exportStar(require("./updateTelegramDetails.dto"), exports);
|
|
19
|
+
__exportStar(require("./telegramGroup.dto"), exports);
|
|
19
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/telegram-details/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8DAA4C;AAC5C,8DAA4C"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/telegram-details/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8DAA4C;AAC5C,8DAA4C;AAC5C,sDAAoC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
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.TelegramGroupDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class TelegramGroupDto {
|
|
15
|
+
}
|
|
16
|
+
__decorate([
|
|
17
|
+
(0, class_validator_1.IsString)(),
|
|
18
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], TelegramGroupDto.prototype, "id", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_validator_1.IsString)(),
|
|
23
|
+
(0, class_validator_1.IsOptional)(),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], TelegramGroupDto.prototype, "name", void 0);
|
|
26
|
+
exports.TelegramGroupDto = TelegramGroupDto;
|
|
27
|
+
//# sourceMappingURL=telegramGroup.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"telegramGroup.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/telegram-details/dtos/telegramGroup.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAmE;AAEnE,MAAa,gBAAgB;CAQ5B;AAPC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4CACF;AAEX;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;8CACC;AAPhB,4CAQC"}
|
|
@@ -12,11 +12,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.UpdateTelegramDetailsDto = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
const class_transformer_1 = require("class-transformer");
|
|
15
|
-
const
|
|
15
|
+
const telegramGroup_dto_1 = require("./telegramGroup.dto");
|
|
16
16
|
class UpdateTelegramDetailsDto {
|
|
17
17
|
}
|
|
18
18
|
__decorate([
|
|
19
|
-
(0, class_transformer_1.Type)(() =>
|
|
19
|
+
(0, class_transformer_1.Type)(() => telegramGroup_dto_1.TelegramGroupDto),
|
|
20
20
|
(0, class_validator_1.IsArray)(),
|
|
21
21
|
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
22
22
|
(0, class_validator_1.IsOptional)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updateTelegramDetails.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/telegram-details/dtos/updateTelegramDetails.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAKyB;AACzB,yDAAyC;AACzC,
|
|
1
|
+
{"version":3,"file":"updateTelegramDetails.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/telegram-details/dtos/updateTelegramDetails.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAKyB;AACzB,yDAAyC;AACzC,2DAAuD;AAEvD,MAAa,wBAAwB;CAUpC;AATC;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,oCAAgB,CAAC;IAC5B,IAAA,yBAAO,GAAE;IACT,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IAC9B,IAAA,4BAAU,GAAE;;wDACe;AAE5B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;wDACI;AATnB,4DAUC"}
|