@yolo-croket-dev/amqp-access 0.6.102 → 0.6.104
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/analytics-service/dto/attribution-history/command/create-attribution-history.dto.d.ts +1 -1
- package/analytics-service/dto/attribution-history/command/create-attribution-history.dto.js +1 -1
- package/analytics-service/dto/attribution-touch/command/create-attribution-touch-external.dto.d.ts +1 -1
- package/analytics-service/dto/attribution-touch/command/create-attribution-touch-external.dto.js +1 -1
- package/analytics-service/dto/attribution-touch/command/create-attribution-touch-internal.dto.d.ts +1 -1
- package/analytics-service/dto/attribution-touch/command/create-attribution-touch-internal.dto.js +1 -1
- package/analytics-service/dto/attribution-touch/query/{get-attribution-id.dto.d.ts → get-attribution-user-tracking-id.dto.d.ts} +1 -1
- package/analytics-service/dto/attribution-touch/query/{get-attribution-id.dto.js → get-attribution-user-tracking-id.dto.js} +4 -4
- package/analytics-service/dto/attribution-touch/query/get-attributions-touchs-for-create-history.dto.d.ts +1 -1
- package/analytics-service/dto/attribution-touch/query/get-attributions-touchs-for-create-history.dto.js +1 -1
- package/analytics-service/dto/attribution-touch/query/index.d.ts +1 -1
- package/analytics-service/dto/attribution-touch/query/index.js +1 -1
- package/analytics-service/services/amqp-attribution-touch.service.d.ts +2 -2
- package/analytics-service/services/amqp-attribution-touch.service.js +3 -3
- package/order-server/dto/pay-try-log/command/write-cart-store-item-pay-try-log-init.service.dto.d.ts +1 -1
- package/order-server/dto/pay-try-log/command/write-cart-store-item-pay-try-log-init.service.dto.js +1 -1
- package/order-server/dto/pay-try-log/command/write-normal-store-item-pay-try-log-init.dto.d.ts +1 -1
- package/order-server/dto/pay-try-log/command/write-normal-store-item-pay-try-log-init.dto.js +1 -1
- package/package.json +3 -3
package/analytics-service/dto/attribution-history/command/create-attribution-history.dto.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { AttributionPlatformEnum } from '@yolo-croket-dev/entity-v2';
|
|
|
2
2
|
export declare class CreateAttributionHistoryPayload {
|
|
3
3
|
pInfoIds: string[];
|
|
4
4
|
userId: string;
|
|
5
|
-
|
|
5
|
+
userTrackingId: string;
|
|
6
6
|
ip: string;
|
|
7
7
|
platform: AttributionPlatformEnum;
|
|
8
8
|
}
|
|
@@ -28,7 +28,7 @@ __decorate([
|
|
|
28
28
|
__decorate([
|
|
29
29
|
(0, class_validator_1.IsString)(),
|
|
30
30
|
__metadata("design:type", String)
|
|
31
|
-
], CreateAttributionHistoryPayload.prototype, "
|
|
31
|
+
], CreateAttributionHistoryPayload.prototype, "userTrackingId", void 0);
|
|
32
32
|
__decorate([
|
|
33
33
|
(0, class_validator_1.IsString)(),
|
|
34
34
|
__metadata("design:type", String)
|
package/analytics-service/dto/attribution-touch/command/create-attribution-touch-external.dto.js
CHANGED
|
@@ -19,7 +19,7 @@ __decorate([
|
|
|
19
19
|
(0, class_validator_1.IsString)(),
|
|
20
20
|
(0, class_validator_1.IsNotEmpty)(),
|
|
21
21
|
__metadata("design:type", String)
|
|
22
|
-
], CreateAttributionTouchExternalPayload.prototype, "
|
|
22
|
+
], CreateAttributionTouchExternalPayload.prototype, "userTrackingId", void 0);
|
|
23
23
|
__decorate([
|
|
24
24
|
(0, class_validator_1.IsString)(),
|
|
25
25
|
__metadata("design:type", String)
|
package/analytics-service/dto/attribution-touch/command/create-attribution-touch-internal.dto.js
CHANGED
|
@@ -19,7 +19,7 @@ __decorate([
|
|
|
19
19
|
(0, class_validator_1.IsString)(),
|
|
20
20
|
(0, class_validator_1.IsNotEmpty)(),
|
|
21
21
|
__metadata("design:type", String)
|
|
22
|
-
], CreateAttributionTouchInternalPayload.prototype, "
|
|
22
|
+
], CreateAttributionTouchInternalPayload.prototype, "userTrackingId", void 0);
|
|
23
23
|
__decorate([
|
|
24
24
|
(0, class_validator_1.IsString)(),
|
|
25
25
|
(0, class_validator_1.IsOptional)(),
|
|
@@ -9,14 +9,14 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.
|
|
12
|
+
exports.GetAttributionUserTrackingIdPayload = void 0;
|
|
13
13
|
const entity_v2_1 = require("@yolo-croket-dev/entity-v2");
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
|
-
class
|
|
15
|
+
class GetAttributionUserTrackingIdPayload {
|
|
16
16
|
}
|
|
17
|
-
exports.
|
|
17
|
+
exports.GetAttributionUserTrackingIdPayload = GetAttributionUserTrackingIdPayload;
|
|
18
18
|
__decorate([
|
|
19
19
|
(0, class_validator_1.IsString)(),
|
|
20
20
|
(0, class_validator_1.IsEnum)(entity_v2_1.AttributionPlatformEnum),
|
|
21
21
|
__metadata("design:type", String)
|
|
22
|
-
],
|
|
22
|
+
], GetAttributionUserTrackingIdPayload.prototype, "platform", void 0);
|
|
@@ -18,7 +18,7 @@ exports.GetAttributionTouchsForCreateHistoryPayload = GetAttributionTouchsForCre
|
|
|
18
18
|
__decorate([
|
|
19
19
|
(0, class_validator_1.IsString)(),
|
|
20
20
|
__metadata("design:type", String)
|
|
21
|
-
], GetAttributionTouchsForCreateHistoryPayload.prototype, "
|
|
21
|
+
], GetAttributionTouchsForCreateHistoryPayload.prototype, "userTrackingId", void 0);
|
|
22
22
|
__decorate([
|
|
23
23
|
(0, class_validator_1.IsMongoId)(),
|
|
24
24
|
__metadata("design:type", String)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './get-attribution-id.dto';
|
|
1
|
+
export * from './get-attribution-user-tracking-id.dto';
|
|
2
2
|
export * from './get-attributions-touchs-for-create-history.dto';
|
|
@@ -14,5 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./get-attribution-id.dto"), exports);
|
|
17
|
+
__exportStar(require("./get-attribution-user-tracking-id.dto"), exports);
|
|
18
18
|
__exportStar(require("./get-attributions-touchs-for-create-history.dto"), exports);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ClientProxy } from '@nestjs/microservices';
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
3
|
import { AttributionTouchEntity } from '@yolo-croket-dev/entity-v2';
|
|
4
|
-
import { CreateAttributionTouchExternalPayload, CreateAttributionTouchInternalPayload, DeleteAttributionTouchsForCreateHistoryPayload,
|
|
4
|
+
import { CreateAttributionTouchExternalPayload, CreateAttributionTouchInternalPayload, DeleteAttributionTouchsForCreateHistoryPayload, GetAttributionUserTrackingIdPayload, GetAttributionTouchsForCreateHistoryPayload } from '../dto';
|
|
5
5
|
export declare class AmqpAttributionTouchService {
|
|
6
6
|
private readonly client;
|
|
7
7
|
private readonly amqpManager;
|
|
@@ -9,6 +9,6 @@ export declare class AmqpAttributionTouchService {
|
|
|
9
9
|
createAttributionTouchExternal(payload: CreateAttributionTouchExternalPayload, param: AbstractParam): Promise<void>;
|
|
10
10
|
createAttributionTouchInternal(payload: CreateAttributionTouchInternalPayload, param: AbstractParam): Promise<void>;
|
|
11
11
|
deleteAttributionTouchHistories(payload: DeleteAttributionTouchsForCreateHistoryPayload, param: AbstractParam): Promise<void>;
|
|
12
|
-
|
|
12
|
+
getAttributionUserTrackingId(payload: GetAttributionUserTrackingIdPayload, param: AbstractParam): Promise<string>;
|
|
13
13
|
getAttributionTouchsForCreateHistory(payload: GetAttributionTouchsForCreateHistoryPayload, param: AbstractParam): Promise<AttributionTouchEntity[]>;
|
|
14
14
|
}
|
|
@@ -30,8 +30,8 @@ let AmqpAttributionTouchService = class AmqpAttributionTouchService {
|
|
|
30
30
|
async deleteAttributionTouchHistories(payload, param) {
|
|
31
31
|
return this.amqpManager.call('어트리뷰션 터치 삭제', 'attribution-touch.delete.for-create-history', payload, param, { isErrorThrowing: true });
|
|
32
32
|
}
|
|
33
|
-
async
|
|
34
|
-
return this.amqpManager.call('어트리뷰션 아이디 조회', 'attribution-touch.get.
|
|
33
|
+
async getAttributionUserTrackingId(payload, param) {
|
|
34
|
+
return this.amqpManager.call('어트리뷰션 아이디 조회', 'attribution-touch.get.user-tracking-id', payload, param, { isErrorThrowing: true });
|
|
35
35
|
}
|
|
36
36
|
async getAttributionTouchsForCreateHistory(payload, param) {
|
|
37
37
|
return this.amqpManager.call('어트리뷰션 터치 생성 히스토리 조회', 'attribution-touch.get.for-create-history', payload, param, { isErrorThrowing: true });
|
|
@@ -40,6 +40,6 @@ let AmqpAttributionTouchService = class AmqpAttributionTouchService {
|
|
|
40
40
|
exports.AmqpAttributionTouchService = AmqpAttributionTouchService;
|
|
41
41
|
exports.AmqpAttributionTouchService = AmqpAttributionTouchService = __decorate([
|
|
42
42
|
(0, common_1.Injectable)(),
|
|
43
|
-
__param(0, (0, common_1.Inject)('
|
|
43
|
+
__param(0, (0, common_1.Inject)('ANALYTICS_SERVICE_PROVIDER')),
|
|
44
44
|
__metadata("design:paramtypes", [microservices_1.ClientProxy])
|
|
45
45
|
], AmqpAttributionTouchService);
|
package/order-server/dto/pay-try-log/command/write-cart-store-item-pay-try-log-init.service.dto.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export declare class WriteCartStoreItemPayTryLogInitPayload {
|
|
|
8
8
|
cartType: WriteCartStoreItemPayTryLogCartTypeEnum;
|
|
9
9
|
cartIds: string[];
|
|
10
10
|
ip?: string;
|
|
11
|
-
|
|
11
|
+
userTrackingId?: string;
|
|
12
12
|
attributionPlatform?: AttributionPlatformEnum;
|
|
13
13
|
}
|
|
14
14
|
export declare class WriteCartStoreItemPayTryLogInitResult {
|
package/order-server/dto/pay-try-log/command/write-cart-store-item-pay-try-log-init.service.dto.js
CHANGED
|
@@ -41,7 +41,7 @@ __decorate([
|
|
|
41
41
|
(0, class_validator_1.IsString)(),
|
|
42
42
|
(0, class_validator_1.IsOptional)(),
|
|
43
43
|
__metadata("design:type", String)
|
|
44
|
-
], WriteCartStoreItemPayTryLogInitPayload.prototype, "
|
|
44
|
+
], WriteCartStoreItemPayTryLogInitPayload.prototype, "userTrackingId", void 0);
|
|
45
45
|
__decorate([
|
|
46
46
|
(0, class_validator_1.IsString)(),
|
|
47
47
|
(0, class_validator_1.IsOptional)(),
|
package/order-server/dto/pay-try-log/command/write-normal-store-item-pay-try-log-init.dto.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ export declare class WriteNormalStoreItemPayTryLogInitPayload {
|
|
|
17
17
|
DType: WriteNormalStoreItemPayTryLogDTypeEnum;
|
|
18
18
|
pOptionInfo: WriteNormalStoreItemPayTryLogPOptionInfo;
|
|
19
19
|
ip?: string;
|
|
20
|
-
|
|
20
|
+
userTrackingId?: string;
|
|
21
21
|
attributionPlatform?: AttributionPlatformEnum;
|
|
22
22
|
}
|
|
23
23
|
export declare class WriteNormalStoreItemPayTryLogInitResult {
|
package/order-server/dto/pay-try-log/command/write-normal-store-item-pay-try-log-init.dto.js
CHANGED
|
@@ -75,7 +75,7 @@ __decorate([
|
|
|
75
75
|
(0, class_validator_1.IsString)(),
|
|
76
76
|
(0, class_validator_1.IsOptional)(),
|
|
77
77
|
__metadata("design:type", String)
|
|
78
|
-
], WriteNormalStoreItemPayTryLogInitPayload.prototype, "
|
|
78
|
+
], WriteNormalStoreItemPayTryLogInitPayload.prototype, "userTrackingId", void 0);
|
|
79
79
|
__decorate([
|
|
80
80
|
(0, class_validator_1.IsEnum)(entity_v2_1.AttributionPlatformEnum),
|
|
81
81
|
(0, class_validator_1.IsOptional)(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yolo-croket-dev/amqp-access",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.104",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"author": "Yolo Co., Ltd.",
|
|
6
6
|
"description": "크로켓 amqp-access npm",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"@yolo-croket-dev/core": "^1.9.3",
|
|
22
22
|
"@yolo-croket-dev/domain": "^0.2.27",
|
|
23
23
|
"@yolo-croket-dev/dto-v2": "0.2.11",
|
|
24
|
-
"@yolo-croket-dev/entity": "0.2.
|
|
25
|
-
"@yolo-croket-dev/entity-v2": "0.2.
|
|
24
|
+
"@yolo-croket-dev/entity": "0.2.60",
|
|
25
|
+
"@yolo-croket-dev/entity-v2": "0.2.98",
|
|
26
26
|
"class-transformer": "^0.5.1",
|
|
27
27
|
"class-validator": "^0.13.2",
|
|
28
28
|
"dotenv": "^16.3.1"
|