@umapi/contracts 1.0.12 → 1.0.14
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/dto/app-info-response.dto.d.ts +10 -0
- package/dist/dto/app-info-response.dto.d.ts.map +1 -0
- package/dist/dto/app-info-response.dto.js +36 -0
- package/dist/dto/app-info-response.dto.js.map +1 -0
- package/dist/dto/health-response.dto.d.ts +8 -0
- package/dist/dto/health-response.dto.d.ts.map +1 -0
- package/dist/dto/health-response.dto.js +28 -0
- package/dist/dto/health-response.dto.js.map +1 -0
- package/dist/dto/index.d.ts +3 -0
- package/dist/dto/index.d.ts.map +1 -1
- package/dist/dto/index.js +7 -1
- package/dist/dto/index.js.map +1 -1
- package/dist/dto/otp-response.dto.d.ts +4 -0
- package/dist/dto/otp-response.dto.d.ts.map +1 -0
- package/dist/dto/otp-response.dto.js +23 -0
- package/dist/dto/otp-response.dto.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app-info-response.dto.d.ts","sourceRoot":"","sources":["../../src/dto/app-info-response.dto.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,qBAAa,kBAAkB;IAE3B,IAAI,EAAG,MAAM,CAAC;IAGd,OAAO,EAAG,MAAM,CAAC;IAGjB,WAAW,EAAG,MAAM,CAAC;IAGrB,SAAS,EAAG,MAAM,CAAC;CACtB"}
|
|
@@ -0,0 +1,36 @@
|
|
|
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.AppInfoResponseDto = void 0;
|
|
13
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
14
|
+
/**
|
|
15
|
+
* DTO для ответа с информацией о приложении
|
|
16
|
+
*/
|
|
17
|
+
class AppInfoResponseDto {
|
|
18
|
+
}
|
|
19
|
+
exports.AppInfoResponseDto = AppInfoResponseDto;
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, swagger_1.ApiProperty)({ description: 'Название приложения' }),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], AppInfoResponseDto.prototype, "name", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, swagger_1.ApiProperty)({ description: 'Версия приложения' }),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], AppInfoResponseDto.prototype, "version", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, swagger_1.ApiProperty)({ description: 'Описание приложения' }),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], AppInfoResponseDto.prototype, "description", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, swagger_1.ApiProperty)({ description: 'Временная метка' }),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], AppInfoResponseDto.prototype, "timestamp", void 0);
|
|
36
|
+
//# sourceMappingURL=app-info-response.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app-info-response.dto.js","sourceRoot":"","sources":["../../src/dto/app-info-response.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAA8C;AAE9C;;GAEG;AACH,MAAa,kBAAkB;CAY9B;AAZD,gDAYC;AAVG;IADC,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,qBAAqB,EAAE,CAAC;;gDACtC;AAGd;IADC,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,mBAAmB,EAAE,CAAC;;mDACjC;AAGjB;IADC,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,qBAAqB,EAAE,CAAC;;uDAC/B;AAGrB;IADC,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,iBAAiB,EAAE,CAAC;;qDAC7B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"health-response.dto.d.ts","sourceRoot":"","sources":["../../src/dto/health-response.dto.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,qBAAa,iBAAiB;IAE1B,MAAM,EAAG,MAAM,CAAC;IAGhB,SAAS,EAAG,MAAM,CAAC;CACtB"}
|
|
@@ -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.HealthResponseDto = void 0;
|
|
13
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
14
|
+
/**
|
|
15
|
+
* DTO для ответа проверки здоровья сервиса
|
|
16
|
+
*/
|
|
17
|
+
class HealthResponseDto {
|
|
18
|
+
}
|
|
19
|
+
exports.HealthResponseDto = HealthResponseDto;
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, swagger_1.ApiProperty)({ description: 'Статус здоровья', example: 'ok' }),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], HealthResponseDto.prototype, "status", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, swagger_1.ApiProperty)({ description: 'Временная метка' }),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], HealthResponseDto.prototype, "timestamp", void 0);
|
|
28
|
+
//# sourceMappingURL=health-response.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"health-response.dto.js","sourceRoot":"","sources":["../../src/dto/health-response.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAA8C;AAE9C;;GAEG;AACH,MAAa,iBAAiB;CAM7B;AAND,8CAMC;AAJG;IADC,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,iBAAiB,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;;iDAC/C;AAGhB;IADC,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,iBAAiB,EAAE,CAAC;;oDAC7B"}
|
package/dist/dto/index.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
export { AppInfoResponseDto } from './app-info-response.dto';
|
|
2
|
+
export { HealthResponseDto } from './health-response.dto';
|
|
1
3
|
export { OtpRequestDto } from './otp-request.dto';
|
|
2
4
|
export { OtpVerifyRequestDto } from './otp-verify-request.dto';
|
|
3
5
|
export { TokensResponseDto } from './tokens-response.dto';
|
|
4
6
|
export { UserRequestDto } from './user-request.dto';
|
|
5
7
|
export { UserResponseDto } from './user-response.dto';
|
|
8
|
+
export { OtpResponseDto } from './otp-response.dto';
|
|
6
9
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/dto/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/dto/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/dto/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC"}
|
package/dist/dto/index.js
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UserResponseDto = exports.UserRequestDto = exports.TokensResponseDto = exports.OtpVerifyRequestDto = exports.OtpRequestDto = void 0;
|
|
3
|
+
exports.OtpResponseDto = exports.UserResponseDto = exports.UserRequestDto = exports.TokensResponseDto = exports.OtpVerifyRequestDto = exports.OtpRequestDto = exports.HealthResponseDto = exports.AppInfoResponseDto = void 0;
|
|
4
|
+
var app_info_response_dto_1 = require("./app-info-response.dto");
|
|
5
|
+
Object.defineProperty(exports, "AppInfoResponseDto", { enumerable: true, get: function () { return app_info_response_dto_1.AppInfoResponseDto; } });
|
|
6
|
+
var health_response_dto_1 = require("./health-response.dto");
|
|
7
|
+
Object.defineProperty(exports, "HealthResponseDto", { enumerable: true, get: function () { return health_response_dto_1.HealthResponseDto; } });
|
|
4
8
|
var otp_request_dto_1 = require("./otp-request.dto");
|
|
5
9
|
Object.defineProperty(exports, "OtpRequestDto", { enumerable: true, get: function () { return otp_request_dto_1.OtpRequestDto; } });
|
|
6
10
|
var otp_verify_request_dto_1 = require("./otp-verify-request.dto");
|
|
@@ -11,4 +15,6 @@ var user_request_dto_1 = require("./user-request.dto");
|
|
|
11
15
|
Object.defineProperty(exports, "UserRequestDto", { enumerable: true, get: function () { return user_request_dto_1.UserRequestDto; } });
|
|
12
16
|
var user_response_dto_1 = require("./user-response.dto");
|
|
13
17
|
Object.defineProperty(exports, "UserResponseDto", { enumerable: true, get: function () { return user_response_dto_1.UserResponseDto; } });
|
|
18
|
+
var otp_response_dto_1 = require("./otp-response.dto");
|
|
19
|
+
Object.defineProperty(exports, "OtpResponseDto", { enumerable: true, get: function () { return otp_response_dto_1.OtpResponseDto; } });
|
|
14
20
|
//# sourceMappingURL=index.js.map
|
package/dist/dto/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/dto/index.ts"],"names":[],"mappings":";;;AAAA,qDAAkD;AAAzC,gHAAA,aAAa,OAAA;AACtB,mEAA+D;AAAtD,6HAAA,mBAAmB,OAAA;AAC5B,6DAA0D;AAAjD,wHAAA,iBAAiB,OAAA;AAC1B,uDAAoD;AAA3C,kHAAA,cAAc,OAAA;AACvB,yDAAsD;AAA7C,oHAAA,eAAe,OAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/dto/index.ts"],"names":[],"mappings":";;;AAAA,iEAA6D;AAApD,2HAAA,kBAAkB,OAAA;AAC3B,6DAA0D;AAAjD,wHAAA,iBAAiB,OAAA;AAC1B,qDAAkD;AAAzC,gHAAA,aAAa,OAAA;AACtB,mEAA+D;AAAtD,6HAAA,mBAAmB,OAAA;AAC5B,6DAA0D;AAAjD,wHAAA,iBAAiB,OAAA;AAC1B,uDAAoD;AAA3C,kHAAA,cAAc,OAAA;AACvB,yDAAsD;AAA7C,oHAAA,eAAe,OAAA;AACxB,uDAAoD;AAA3C,kHAAA,cAAc,OAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"otp-response.dto.d.ts","sourceRoot":"","sources":["../../src/dto/otp-response.dto.ts"],"names":[],"mappings":"AAGA,qBAAa,cAAc;IAGvB,MAAM,EAAG,IAAI,CAAC;CACjB"}
|
|
@@ -0,0 +1,23 @@
|
|
|
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.OtpResponseDto = void 0;
|
|
13
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
class OtpResponseDto {
|
|
16
|
+
}
|
|
17
|
+
exports.OtpResponseDto = OtpResponseDto;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, swagger_1.ApiProperty)({ description: 'Статус запроса OTP' }),
|
|
20
|
+
(0, class_validator_1.IsString)(),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], OtpResponseDto.prototype, "status", void 0);
|
|
23
|
+
//# sourceMappingURL=otp-response.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"otp-response.dto.js","sourceRoot":"","sources":["../../src/dto/otp-response.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAA8C;AAC9C,qDAA2C;AAE3C,MAAa,cAAc;CAI1B;AAJD,wCAIC;AADG;IAFC,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,oBAAoB,EAAE,CAAC;IAClD,IAAA,0BAAQ,GAAE;;8CACG"}
|