@yolo-croket-dev/entity-v2 0.3.42-beta.1 → 0.3.42
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/index.d.ts +0 -1
- package/index.js +0 -1
- package/package.json +2 -2
- package/p-info-pending-settle/index.d.ts +0 -1
- package/p-info-pending-settle/index.js +0 -17
- package/p-info-pending-settle/p-info-pending-settle.entity.d.ts +0 -48
- package/p-info-pending-settle/p-info-pending-settle.entity.js +0 -18
package/index.d.ts
CHANGED
package/index.js
CHANGED
|
@@ -94,4 +94,3 @@ __exportStar(require("./crawler-proxy-order-slack-event"), exports);
|
|
|
94
94
|
__exportStar(require("./crawler-proxy-order-payment-request-slack-event"), exports);
|
|
95
95
|
__exportStar(require("./chat.modules/message-template.entity"), exports);
|
|
96
96
|
__exportStar(require("./customs"), exports);
|
|
97
|
-
__exportStar(require("./p-info-pending-settle"), exports);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yolo-croket-dev/entity-v2",
|
|
3
|
-
"version": "0.3.42
|
|
3
|
+
"version": "0.3.42",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"author": "Yolo Co., Ltd.",
|
|
6
6
|
"description": "크로켓 nest 용 entity-v3",
|
|
@@ -23,4 +23,4 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "UNLICENSED",
|
|
25
25
|
"dependencies": {}
|
|
26
|
-
}
|
|
26
|
+
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './p-info-pending-settle.entity';
|
|
@@ -1,17 +0,0 @@
|
|
|
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("./p-info-pending-settle.entity"), exports);
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
/** @author jun @description 스토어 결제별 정산 보류 영속 계약. @process 현재 설정과 감사 이력을 분리한다. */
|
|
2
|
-
import { Types } from 'mongoose';
|
|
3
|
-
export declare enum PInfoPendingSettleReason {
|
|
4
|
-
COUNTERFEIT_ISSUE = "counterfeit_issue",
|
|
5
|
-
PRODUCT_ISSUE = "product_issue",
|
|
6
|
-
SETTLEMENT_DOCUMENT_REVIEW = "settlement_document_review",
|
|
7
|
-
SELLER_REASON = "seller_reason",
|
|
8
|
-
OTHER = "other"
|
|
9
|
-
}
|
|
10
|
-
export declare enum PInfoPendingSettleAction {
|
|
11
|
-
REGISTER = "REGISTER",
|
|
12
|
-
UPDATE = "UPDATE",
|
|
13
|
-
RELEASE = "RELEASE",
|
|
14
|
-
REHOLD = "REHOLD"
|
|
15
|
-
}
|
|
16
|
-
export interface PInfoPendingSettleAdminRef {
|
|
17
|
-
manageUserId: Types.ObjectId;
|
|
18
|
-
username: string;
|
|
19
|
-
pastAuthLevel: string;
|
|
20
|
-
}
|
|
21
|
-
export interface PInfoPendingSettleSnapshot {
|
|
22
|
-
pInfoId: Types.ObjectId;
|
|
23
|
-
reason: PInfoPendingSettleReason;
|
|
24
|
-
memo: string;
|
|
25
|
-
startsAt: Date;
|
|
26
|
-
/** Exclusive UTC boundary; null means indefinite. */
|
|
27
|
-
endsAt: Date | null;
|
|
28
|
-
releasedAt: Date | null;
|
|
29
|
-
releaseMemo: string | null;
|
|
30
|
-
createdBy: PInfoPendingSettleAdminRef;
|
|
31
|
-
updatedBy: PInfoPendingSettleAdminRef;
|
|
32
|
-
releasedBy: PInfoPendingSettleAdminRef | null;
|
|
33
|
-
createdAt: Date;
|
|
34
|
-
updatedAt: Date;
|
|
35
|
-
}
|
|
36
|
-
export interface PInfoPendingSettleEntity extends PInfoPendingSettleSnapshot {
|
|
37
|
-
_id: Types.ObjectId;
|
|
38
|
-
}
|
|
39
|
-
export interface PInfoPendingSettleLogEntity {
|
|
40
|
-
_id: Types.ObjectId;
|
|
41
|
-
pendingSettleId: Types.ObjectId;
|
|
42
|
-
action: PInfoPendingSettleAction;
|
|
43
|
-
actor: PInfoPendingSettleAdminRef;
|
|
44
|
-
before: PInfoPendingSettleSnapshot | null;
|
|
45
|
-
after: PInfoPendingSettleSnapshot;
|
|
46
|
-
traceId: string;
|
|
47
|
-
createdAt: Date;
|
|
48
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PInfoPendingSettleAction = exports.PInfoPendingSettleReason = void 0;
|
|
4
|
-
var PInfoPendingSettleReason;
|
|
5
|
-
(function (PInfoPendingSettleReason) {
|
|
6
|
-
PInfoPendingSettleReason["COUNTERFEIT_ISSUE"] = "counterfeit_issue";
|
|
7
|
-
PInfoPendingSettleReason["PRODUCT_ISSUE"] = "product_issue";
|
|
8
|
-
PInfoPendingSettleReason["SETTLEMENT_DOCUMENT_REVIEW"] = "settlement_document_review";
|
|
9
|
-
PInfoPendingSettleReason["SELLER_REASON"] = "seller_reason";
|
|
10
|
-
PInfoPendingSettleReason["OTHER"] = "other";
|
|
11
|
-
})(PInfoPendingSettleReason || (exports.PInfoPendingSettleReason = PInfoPendingSettleReason = {}));
|
|
12
|
-
var PInfoPendingSettleAction;
|
|
13
|
-
(function (PInfoPendingSettleAction) {
|
|
14
|
-
PInfoPendingSettleAction["REGISTER"] = "REGISTER";
|
|
15
|
-
PInfoPendingSettleAction["UPDATE"] = "UPDATE";
|
|
16
|
-
PInfoPendingSettleAction["RELEASE"] = "RELEASE";
|
|
17
|
-
PInfoPendingSettleAction["REHOLD"] = "REHOLD";
|
|
18
|
-
})(PInfoPendingSettleAction || (exports.PInfoPendingSettleAction = PInfoPendingSettleAction = {}));
|