@bondsports/types 2.2.165 → 2.2.166
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.
|
@@ -1,24 +1,12 @@
|
|
|
1
|
-
import { ByOrganizationIdDto } from '../organization/dto/organization.dto';
|
|
2
|
-
import { CurrencyEnum } from '../services/enums.service';
|
|
1
|
+
import { ByOrganizationIdDto, OrganizationBaseEntityDto } from '../organization/dto/organization.dto';
|
|
3
2
|
import { CreatePriceDto } from '../pricing/dto/pricing.dto';
|
|
4
|
-
export declare class CreateUpdateVariantsDto {
|
|
5
|
-
organizationId: number;
|
|
6
|
-
parentProductId: number;
|
|
7
|
-
variantTitles: VariantTitleDto[];
|
|
8
|
-
variants: VariantDto[];
|
|
9
|
-
}
|
|
10
3
|
export declare class VariantTitleDto {
|
|
11
4
|
name: string;
|
|
12
5
|
id: number;
|
|
13
6
|
organizationId: number;
|
|
14
7
|
}
|
|
15
|
-
export declare class VariantDto {
|
|
8
|
+
export declare class VariantDto extends OrganizationBaseEntityDto {
|
|
16
9
|
name: string;
|
|
17
|
-
price: number;
|
|
18
|
-
variantId: number;
|
|
19
|
-
currency: CurrencyEnum;
|
|
20
|
-
startDate: Date;
|
|
21
|
-
endDate: Date;
|
|
22
10
|
variantTitleId: number;
|
|
23
11
|
}
|
|
24
12
|
export declare class VariantWithPrice {
|
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UpdateVariantTitleDto = exports.CreateVariantTitleDto = exports.GetAllVariantTitlesDto = exports.VariantWithPrice = exports.VariantDto = exports.VariantTitleDto =
|
|
3
|
+
exports.UpdateVariantTitleDto = exports.CreateVariantTitleDto = exports.GetAllVariantTitlesDto = exports.VariantWithPrice = exports.VariantDto = exports.VariantTitleDto = void 0;
|
|
4
4
|
const organization_dto_1 = require("../organization/dto/organization.dto");
|
|
5
|
-
class CreateUpdateVariantsDto {
|
|
6
|
-
}
|
|
7
|
-
exports.CreateUpdateVariantsDto = CreateUpdateVariantsDto;
|
|
8
5
|
class VariantTitleDto {
|
|
9
6
|
}
|
|
10
7
|
exports.VariantTitleDto = VariantTitleDto;
|
|
11
|
-
class VariantDto {
|
|
8
|
+
class VariantDto extends organization_dto_1.OrganizationBaseEntityDto {
|
|
12
9
|
}
|
|
13
10
|
exports.VariantDto = VariantDto;
|
|
14
11
|
class VariantWithPrice {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product-variants.dto.js","sourceRoot":"","sources":["../../../src/types/dto/product-variants.dto.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"product-variants.dto.js","sourceRoot":"","sources":["../../../src/types/dto/product-variants.dto.ts"],"names":[],"mappings":";;;AAAA,2EAAsG;AAGtG,MAAa,eAAe;CAM3B;AAND,0CAMC;AAED,MAAa,UAAW,SAAQ,4CAAyB;CAIxD;AAJD,gCAIC;AAED,MAAa,gBAAgB;CAI5B;AAJD,4CAIC;AAED,MAAa,sBAAuB,SAAQ,sCAAmB;CAAG;AAAlE,wDAAkE;AAElE,MAAa,qBAAsB,SAAQ,sCAAmB;CAI7D;AAJD,sDAIC;AAED,MAAa,qBAAsB,SAAQ,sCAAmB;CAM7D;AAND,sDAMC"}
|