@yolo-croket-dev/amqp-access 0.0.85-jun.0 → 0.0.85-jun.1
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/order-server/dto/pay-try-log/index.d.ts +1 -0
- package/order-server/dto/pay-try-log/index.js +17 -0
- package/order-server/dto/pay-try-log/write-normal-store-item-pay-try-log-init.dto.d.ts +27 -0
- package/order-server/dto/pay-try-log/write-normal-store-item-pay-try-log-init.dto.js +73 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './write-normal-store-item-pay-try-log-init.dto';
|
|
@@ -0,0 +1,17 @@
|
|
|
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("./write-normal-store-item-pay-try-log-init.dto"), exports);
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export declare enum WriteNormalStoreItemPayTryLogDTypeEnum {
|
|
2
|
+
shipping = "shipping",
|
|
3
|
+
direct = "direct"
|
|
4
|
+
}
|
|
5
|
+
export declare class WriteNormalStoreItemPayTryLogPOptionInfoChild {
|
|
6
|
+
pNums: number;
|
|
7
|
+
optionNameList: string[];
|
|
8
|
+
}
|
|
9
|
+
export declare class WriteNormalStoreItemPayTryLogPOptionInfo {
|
|
10
|
+
pOptionType: string;
|
|
11
|
+
pOptionList: WriteNormalStoreItemPayTryLogPOptionInfoChild[];
|
|
12
|
+
}
|
|
13
|
+
export declare class WriteNormalStoreItemPayTryLogInitPayload {
|
|
14
|
+
isCart: boolean;
|
|
15
|
+
paidPrice: number;
|
|
16
|
+
buyerId: string;
|
|
17
|
+
itemId: string;
|
|
18
|
+
DType: WriteNormalStoreItemPayTryLogDTypeEnum;
|
|
19
|
+
pOptionInfo: WriteNormalStoreItemPayTryLogPOptionInfo;
|
|
20
|
+
}
|
|
21
|
+
export declare class WriteNormalStoreItemPayTryLogInitResult {
|
|
22
|
+
PTLId: string;
|
|
23
|
+
date: Date;
|
|
24
|
+
payProcess: string;
|
|
25
|
+
type: string;
|
|
26
|
+
_author: string;
|
|
27
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
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.WriteNormalStoreItemPayTryLogInitResult = exports.WriteNormalStoreItemPayTryLogInitPayload = exports.WriteNormalStoreItemPayTryLogPOptionInfo = exports.WriteNormalStoreItemPayTryLogPOptionInfoChild = exports.WriteNormalStoreItemPayTryLogDTypeEnum = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
var WriteNormalStoreItemPayTryLogDTypeEnum;
|
|
16
|
+
(function (WriteNormalStoreItemPayTryLogDTypeEnum) {
|
|
17
|
+
WriteNormalStoreItemPayTryLogDTypeEnum["shipping"] = "shipping";
|
|
18
|
+
WriteNormalStoreItemPayTryLogDTypeEnum["direct"] = "direct";
|
|
19
|
+
})(WriteNormalStoreItemPayTryLogDTypeEnum || (exports.WriteNormalStoreItemPayTryLogDTypeEnum = WriteNormalStoreItemPayTryLogDTypeEnum = {}));
|
|
20
|
+
class WriteNormalStoreItemPayTryLogPOptionInfoChild {
|
|
21
|
+
}
|
|
22
|
+
exports.WriteNormalStoreItemPayTryLogPOptionInfoChild = WriteNormalStoreItemPayTryLogPOptionInfoChild;
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, class_validator_1.IsNumber)(),
|
|
25
|
+
__metadata("design:type", Number)
|
|
26
|
+
], WriteNormalStoreItemPayTryLogPOptionInfoChild.prototype, "pNums", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, class_validator_1.IsString)({ each: true }),
|
|
29
|
+
__metadata("design:type", Array)
|
|
30
|
+
], WriteNormalStoreItemPayTryLogPOptionInfoChild.prototype, "optionNameList", void 0);
|
|
31
|
+
class WriteNormalStoreItemPayTryLogPOptionInfo {
|
|
32
|
+
}
|
|
33
|
+
exports.WriteNormalStoreItemPayTryLogPOptionInfo = WriteNormalStoreItemPayTryLogPOptionInfo;
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, class_validator_1.IsString)(),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], WriteNormalStoreItemPayTryLogPOptionInfo.prototype, "pOptionType", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
40
|
+
(0, class_transformer_1.Type)(() => WriteNormalStoreItemPayTryLogPOptionInfo),
|
|
41
|
+
__metadata("design:type", Array)
|
|
42
|
+
], WriteNormalStoreItemPayTryLogPOptionInfo.prototype, "pOptionList", void 0);
|
|
43
|
+
class WriteNormalStoreItemPayTryLogInitPayload {
|
|
44
|
+
}
|
|
45
|
+
exports.WriteNormalStoreItemPayTryLogInitPayload = WriteNormalStoreItemPayTryLogInitPayload;
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, class_validator_1.IsBoolean)(),
|
|
48
|
+
__metadata("design:type", Boolean)
|
|
49
|
+
], WriteNormalStoreItemPayTryLogInitPayload.prototype, "isCart", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, class_validator_1.IsNumber)(),
|
|
52
|
+
__metadata("design:type", Number)
|
|
53
|
+
], WriteNormalStoreItemPayTryLogInitPayload.prototype, "paidPrice", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
(0, class_validator_1.IsMongoId)(),
|
|
56
|
+
__metadata("design:type", String)
|
|
57
|
+
], WriteNormalStoreItemPayTryLogInitPayload.prototype, "buyerId", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
(0, class_validator_1.IsMongoId)(),
|
|
60
|
+
__metadata("design:type", String)
|
|
61
|
+
], WriteNormalStoreItemPayTryLogInitPayload.prototype, "itemId", void 0);
|
|
62
|
+
__decorate([
|
|
63
|
+
(0, class_validator_1.IsEnum)(WriteNormalStoreItemPayTryLogDTypeEnum),
|
|
64
|
+
__metadata("design:type", String)
|
|
65
|
+
], WriteNormalStoreItemPayTryLogInitPayload.prototype, "DType", void 0);
|
|
66
|
+
__decorate([
|
|
67
|
+
(0, class_validator_1.ValidateNested)({}),
|
|
68
|
+
(0, class_transformer_1.Type)(() => WriteNormalStoreItemPayTryLogPOptionInfo),
|
|
69
|
+
__metadata("design:type", WriteNormalStoreItemPayTryLogPOptionInfo)
|
|
70
|
+
], WriteNormalStoreItemPayTryLogInitPayload.prototype, "pOptionInfo", void 0);
|
|
71
|
+
class WriteNormalStoreItemPayTryLogInitResult {
|
|
72
|
+
}
|
|
73
|
+
exports.WriteNormalStoreItemPayTryLogInitResult = WriteNormalStoreItemPayTryLogInitResult;
|