@hosterai/types 0.0.35 → 0.0.36
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/dtos/product/responses/product-create-response.dto.d.ts +6 -0
- package/dist/dtos/product/responses/product-create-response.dto.js +8 -0
- package/dist/dtos/product/responses/product-delete-response.dto.d.ts +6 -0
- package/dist/dtos/product/responses/product-delete-response.dto.js +8 -0
- package/dist/dtos/product/responses/product-downgrade-response.dto.d.ts +6 -0
- package/dist/dtos/product/responses/product-downgrade-response.dto.js +8 -0
- package/dist/dtos/product/responses/product-renew-response.dto.d.ts +6 -0
- package/dist/dtos/product/responses/product-renew-response.dto.js +8 -0
- package/dist/dtos/product/responses/product-suspend-response.dto.d.ts +6 -0
- package/dist/dtos/product/responses/product-suspend-response.dto.js +8 -0
- package/dist/dtos/product/responses/product-unsuspend-response.dto.d.ts +6 -0
- package/dist/dtos/product/responses/product-unsuspend-response.dto.js +8 -0
- package/dist/dtos/product/responses/product-upgrade-response.dto.d.ts +6 -0
- package/dist/dtos/product/responses/product-upgrade-response.dto.js +8 -0
- package/package.json +1 -1
|
@@ -13,6 +13,12 @@ export declare class ProductCreateResponseDto extends BaseResponse {
|
|
|
13
13
|
* The unique identifier of the product item that was created.
|
|
14
14
|
*/
|
|
15
15
|
itemId: string;
|
|
16
|
+
/**
|
|
17
|
+
* The outbox action identifier, echoed verbatim from the `X-Idempotency-Key`
|
|
18
|
+
* header sent by the core. Used for correlation and anti-replay when the
|
|
19
|
+
* action completes synchronously or later via a pending hook.
|
|
20
|
+
*/
|
|
21
|
+
outboxId: string;
|
|
16
22
|
/**
|
|
17
23
|
* Optional data associated with the creation response.
|
|
18
24
|
* @optional
|
|
@@ -37,6 +37,14 @@ __decorate([
|
|
|
37
37
|
}),
|
|
38
38
|
__metadata("design:type", String)
|
|
39
39
|
], ProductCreateResponseDto.prototype, "itemId", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, class_validator_jsonschema_1.JSONSchema)({
|
|
42
|
+
title: 'Outbox ID',
|
|
43
|
+
description: 'The outbox action identifier, echoed verbatim from the X-Idempotency-Key header sent by the core, used for correlation and anti-replay.',
|
|
44
|
+
type: 'string',
|
|
45
|
+
}),
|
|
46
|
+
__metadata("design:type", String)
|
|
47
|
+
], ProductCreateResponseDto.prototype, "outboxId", void 0);
|
|
40
48
|
__decorate([
|
|
41
49
|
(0, class_validator_jsonschema_1.JSONSchema)({
|
|
42
50
|
title: 'Data',
|
|
@@ -13,6 +13,12 @@ export declare class ProductDeleteResponseDto extends BaseResponse {
|
|
|
13
13
|
* The unique identifier of the product item that was deleted.
|
|
14
14
|
*/
|
|
15
15
|
itemId: string;
|
|
16
|
+
/**
|
|
17
|
+
* The outbox action identifier, echoed verbatim from the `X-Idempotency-Key`
|
|
18
|
+
* header sent by the core. Used for correlation and anti-replay when the
|
|
19
|
+
* action completes synchronously or later via a pending hook.
|
|
20
|
+
*/
|
|
21
|
+
outboxId: string;
|
|
16
22
|
/**
|
|
17
23
|
* Optional data associated with the deletion response.
|
|
18
24
|
* @optional
|
|
@@ -37,6 +37,14 @@ __decorate([
|
|
|
37
37
|
}),
|
|
38
38
|
__metadata("design:type", String)
|
|
39
39
|
], ProductDeleteResponseDto.prototype, "itemId", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, class_validator_jsonschema_1.JSONSchema)({
|
|
42
|
+
title: 'Outbox ID',
|
|
43
|
+
description: 'The outbox action identifier, echoed verbatim from the X-Idempotency-Key header sent by the core, used for correlation and anti-replay.',
|
|
44
|
+
type: 'string',
|
|
45
|
+
}),
|
|
46
|
+
__metadata("design:type", String)
|
|
47
|
+
], ProductDeleteResponseDto.prototype, "outboxId", void 0);
|
|
40
48
|
__decorate([
|
|
41
49
|
(0, class_validator_jsonschema_1.JSONSchema)({
|
|
42
50
|
title: 'Data',
|
|
@@ -13,6 +13,12 @@ export declare class ProductDowngradeResponseDto extends BaseResponse {
|
|
|
13
13
|
* The unique identifier of the product item that was downgraded.
|
|
14
14
|
*/
|
|
15
15
|
itemId: string;
|
|
16
|
+
/**
|
|
17
|
+
* The outbox action identifier, echoed verbatim from the `X-Idempotency-Key`
|
|
18
|
+
* header sent by the core. Used for correlation and anti-replay when the
|
|
19
|
+
* action completes synchronously or later via a pending hook.
|
|
20
|
+
*/
|
|
21
|
+
outboxId: string;
|
|
16
22
|
/**
|
|
17
23
|
* Optional data associated with the downgrade response.
|
|
18
24
|
* @optional
|
|
@@ -37,6 +37,14 @@ __decorate([
|
|
|
37
37
|
}),
|
|
38
38
|
__metadata("design:type", String)
|
|
39
39
|
], ProductDowngradeResponseDto.prototype, "itemId", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, class_validator_jsonschema_1.JSONSchema)({
|
|
42
|
+
title: 'Outbox ID',
|
|
43
|
+
description: 'The outbox action identifier, echoed verbatim from the X-Idempotency-Key header sent by the core, used for correlation and anti-replay.',
|
|
44
|
+
type: 'string',
|
|
45
|
+
}),
|
|
46
|
+
__metadata("design:type", String)
|
|
47
|
+
], ProductDowngradeResponseDto.prototype, "outboxId", void 0);
|
|
40
48
|
__decorate([
|
|
41
49
|
(0, class_validator_jsonschema_1.JSONSchema)({
|
|
42
50
|
title: 'Data',
|
|
@@ -13,6 +13,12 @@ export declare class ProductRenewResponseDto extends BaseResponse {
|
|
|
13
13
|
* The unique identifier of the product item that was renewed.
|
|
14
14
|
*/
|
|
15
15
|
itemId: string;
|
|
16
|
+
/**
|
|
17
|
+
* The outbox action identifier, echoed verbatim from the `X-Idempotency-Key`
|
|
18
|
+
* header sent by the core. Used for correlation and anti-replay when the
|
|
19
|
+
* action completes synchronously or later via a pending hook.
|
|
20
|
+
*/
|
|
21
|
+
outboxId: string;
|
|
16
22
|
/**
|
|
17
23
|
* Optional data associated with the renewal response.
|
|
18
24
|
* @optional
|
|
@@ -37,6 +37,14 @@ __decorate([
|
|
|
37
37
|
}),
|
|
38
38
|
__metadata("design:type", String)
|
|
39
39
|
], ProductRenewResponseDto.prototype, "itemId", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, class_validator_jsonschema_1.JSONSchema)({
|
|
42
|
+
title: 'Outbox ID',
|
|
43
|
+
description: 'The outbox action identifier, echoed verbatim from the X-Idempotency-Key header sent by the core, used for correlation and anti-replay.',
|
|
44
|
+
type: 'string',
|
|
45
|
+
}),
|
|
46
|
+
__metadata("design:type", String)
|
|
47
|
+
], ProductRenewResponseDto.prototype, "outboxId", void 0);
|
|
40
48
|
__decorate([
|
|
41
49
|
(0, class_validator_jsonschema_1.JSONSchema)({
|
|
42
50
|
title: 'Data',
|
|
@@ -13,6 +13,12 @@ export declare class ProductSuspendResponseDto extends BaseResponse {
|
|
|
13
13
|
* The unique identifier of the product item that was suspended.
|
|
14
14
|
*/
|
|
15
15
|
itemId: string;
|
|
16
|
+
/**
|
|
17
|
+
* The outbox action identifier, echoed verbatim from the `X-Idempotency-Key`
|
|
18
|
+
* header sent by the core. Used for correlation and anti-replay when the
|
|
19
|
+
* action completes synchronously or later via a pending hook.
|
|
20
|
+
*/
|
|
21
|
+
outboxId: string;
|
|
16
22
|
/**
|
|
17
23
|
* Optional data associated with the suspend response.
|
|
18
24
|
* @optional
|
|
@@ -37,6 +37,14 @@ __decorate([
|
|
|
37
37
|
}),
|
|
38
38
|
__metadata("design:type", String)
|
|
39
39
|
], ProductSuspendResponseDto.prototype, "itemId", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, class_validator_jsonschema_1.JSONSchema)({
|
|
42
|
+
title: 'Outbox ID',
|
|
43
|
+
description: 'The outbox action identifier, echoed verbatim from the X-Idempotency-Key header sent by the core, used for correlation and anti-replay.',
|
|
44
|
+
type: 'string',
|
|
45
|
+
}),
|
|
46
|
+
__metadata("design:type", String)
|
|
47
|
+
], ProductSuspendResponseDto.prototype, "outboxId", void 0);
|
|
40
48
|
__decorate([
|
|
41
49
|
(0, class_validator_jsonschema_1.JSONSchema)({
|
|
42
50
|
title: 'Data',
|
|
@@ -13,6 +13,12 @@ export declare class ProductUnsuspendResponseDto extends BaseResponse {
|
|
|
13
13
|
* The unique identifier of the product item that was unsuspended.
|
|
14
14
|
*/
|
|
15
15
|
itemId: string;
|
|
16
|
+
/**
|
|
17
|
+
* The outbox action identifier, echoed verbatim from the `X-Idempotency-Key`
|
|
18
|
+
* header sent by the core. Used for correlation and anti-replay when the
|
|
19
|
+
* action completes synchronously or later via a pending hook.
|
|
20
|
+
*/
|
|
21
|
+
outboxId: string;
|
|
16
22
|
/**
|
|
17
23
|
* Optional data associated with the unsuspend response.
|
|
18
24
|
* @optional
|
|
@@ -37,6 +37,14 @@ __decorate([
|
|
|
37
37
|
}),
|
|
38
38
|
__metadata("design:type", String)
|
|
39
39
|
], ProductUnsuspendResponseDto.prototype, "itemId", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, class_validator_jsonschema_1.JSONSchema)({
|
|
42
|
+
title: 'Outbox ID',
|
|
43
|
+
description: 'The outbox action identifier, echoed verbatim from the X-Idempotency-Key header sent by the core, used for correlation and anti-replay.',
|
|
44
|
+
type: 'string',
|
|
45
|
+
}),
|
|
46
|
+
__metadata("design:type", String)
|
|
47
|
+
], ProductUnsuspendResponseDto.prototype, "outboxId", void 0);
|
|
40
48
|
__decorate([
|
|
41
49
|
(0, class_validator_jsonschema_1.JSONSchema)({
|
|
42
50
|
title: 'Data',
|
|
@@ -13,6 +13,12 @@ export declare class ProductUpgradeResponseDto extends BaseResponse {
|
|
|
13
13
|
* The unique identifier of the product item that was upgraded.
|
|
14
14
|
*/
|
|
15
15
|
itemId: string;
|
|
16
|
+
/**
|
|
17
|
+
* The outbox action identifier, echoed verbatim from the `X-Idempotency-Key`
|
|
18
|
+
* header sent by the core. Used for correlation and anti-replay when the
|
|
19
|
+
* action completes synchronously or later via a pending hook.
|
|
20
|
+
*/
|
|
21
|
+
outboxId: string;
|
|
16
22
|
/**
|
|
17
23
|
* Optional data associated with the upgrade response.
|
|
18
24
|
* This could include details about the new subscription or other relevant information.
|
|
@@ -37,6 +37,14 @@ __decorate([
|
|
|
37
37
|
}),
|
|
38
38
|
__metadata("design:type", String)
|
|
39
39
|
], ProductUpgradeResponseDto.prototype, "itemId", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, class_validator_jsonschema_1.JSONSchema)({
|
|
42
|
+
title: 'Outbox ID',
|
|
43
|
+
description: 'The outbox action identifier, echoed verbatim from the X-Idempotency-Key header sent by the core, used for correlation and anti-replay.',
|
|
44
|
+
type: 'string',
|
|
45
|
+
}),
|
|
46
|
+
__metadata("design:type", String)
|
|
47
|
+
], ProductUpgradeResponseDto.prototype, "outboxId", void 0);
|
|
40
48
|
__decorate([
|
|
41
49
|
(0, class_validator_jsonschema_1.JSONSchema)({
|
|
42
50
|
title: 'Data',
|