synunu-libs 1.0.97 → 1.0.99
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,21 +1,15 @@
|
|
|
1
1
|
import { DateRangeInput } from "./date-range.input";
|
|
2
2
|
import { OrderByInput } from "./order-by.input";
|
|
3
3
|
import { ECatalogStatus, ECatalogType, EPriceAdjustmentType } from "./../enum/catalog.enum";
|
|
4
|
-
export declare class CreateCatalogPublicationInput {
|
|
5
|
-
_id: string;
|
|
6
|
-
name: string;
|
|
7
|
-
clientId: string;
|
|
8
|
-
autoPublishProduct?: boolean;
|
|
9
|
-
}
|
|
10
4
|
export declare class CreateCatalogInput {
|
|
11
5
|
title: string;
|
|
12
|
-
status
|
|
13
|
-
type
|
|
6
|
+
status?: ECatalogStatus;
|
|
7
|
+
type?: ECatalogType;
|
|
14
8
|
branchIds?: string[];
|
|
15
9
|
customerGroupIds?: string[];
|
|
16
10
|
adjustmentType: EPriceAdjustmentType;
|
|
17
11
|
adjustmentValue: number;
|
|
18
|
-
|
|
12
|
+
autoPublishProduct?: boolean;
|
|
19
13
|
}
|
|
20
14
|
export declare class CatalogFilterInput {
|
|
21
15
|
searchKey?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.dto.d.ts","sourceRoot":"","sources":["../../src/dto/catalog.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EACL,cAAc,EACd,YAAY,EACZ,oBAAoB,EACrB,MAAM,wBAAwB,CAAC;AAEhC,qBACa,
|
|
1
|
+
{"version":3,"file":"catalog.dto.d.ts","sourceRoot":"","sources":["../../src/dto/catalog.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EACL,cAAc,EACd,YAAY,EACZ,oBAAoB,EACrB,MAAM,wBAAwB,CAAC;AAEhC,qBACa,kBAAkB;IAE7B,KAAK,EAAE,MAAM,CAAC;IAGd,MAAM,CAAC,EAAE,cAAc,CAAC;IAGxB,IAAI,CAAC,EAAE,YAAY,CAAC;IAGpB,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IAGrB,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;IAG5B,cAAc,EAAE,oBAAoB,CAAC;IAGrC,eAAe,EAAE,MAAM,CAAC;IAGxB,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B;AAED,qBACa,kBAAkB;IAE7B,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,IAAI,CAAC,EAAE,YAAY,CAAC;IAGpB,MAAM,CAAC,EAAE,cAAc,CAAC;IAGxB,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;IAG5B,OAAO,CAAC,EAAE,YAAY,EAAE,CAAC;IAGzB,SAAS,CAAC,EAAE,cAAc,CAAC;IAG3B,SAAS,CAAC,EAAE,cAAc,CAAC;CAC5B;;AAED,qBACa,kBAAmB,SAAQ,uBAA+B;IAErE,GAAG,EAAE,MAAM,CAAC;CACb"}
|
package/dist/dto/catalog.dto.js
CHANGED
|
@@ -9,33 +9,11 @@ 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.UpdateCatalogInput = exports.CatalogFilterInput = exports.CreateCatalogInput =
|
|
12
|
+
exports.UpdateCatalogInput = exports.CatalogFilterInput = exports.CreateCatalogInput = void 0;
|
|
13
13
|
const graphql_1 = require("@nestjs/graphql");
|
|
14
14
|
const date_range_input_1 = require("./date-range.input");
|
|
15
15
|
const order_by_input_1 = require("./order-by.input");
|
|
16
16
|
const catalog_enum_1 = require("./../enum/catalog.enum");
|
|
17
|
-
let CreateCatalogPublicationInput = class CreateCatalogPublicationInput {
|
|
18
|
-
};
|
|
19
|
-
exports.CreateCatalogPublicationInput = CreateCatalogPublicationInput;
|
|
20
|
-
__decorate([
|
|
21
|
-
(0, graphql_1.Field)(() => String),
|
|
22
|
-
__metadata("design:type", String)
|
|
23
|
-
], CreateCatalogPublicationInput.prototype, "_id", void 0);
|
|
24
|
-
__decorate([
|
|
25
|
-
(0, graphql_1.Field)(() => String),
|
|
26
|
-
__metadata("design:type", String)
|
|
27
|
-
], CreateCatalogPublicationInput.prototype, "name", void 0);
|
|
28
|
-
__decorate([
|
|
29
|
-
(0, graphql_1.Field)(() => String),
|
|
30
|
-
__metadata("design:type", String)
|
|
31
|
-
], CreateCatalogPublicationInput.prototype, "clientId", void 0);
|
|
32
|
-
__decorate([
|
|
33
|
-
(0, graphql_1.Field)(() => Boolean, { defaultValue: false }),
|
|
34
|
-
__metadata("design:type", Boolean)
|
|
35
|
-
], CreateCatalogPublicationInput.prototype, "autoPublishProduct", void 0);
|
|
36
|
-
exports.CreateCatalogPublicationInput = CreateCatalogPublicationInput = __decorate([
|
|
37
|
-
(0, graphql_1.InputType)()
|
|
38
|
-
], CreateCatalogPublicationInput);
|
|
39
17
|
let CreateCatalogInput = class CreateCatalogInput {
|
|
40
18
|
};
|
|
41
19
|
exports.CreateCatalogInput = CreateCatalogInput;
|
|
@@ -44,11 +22,11 @@ __decorate([
|
|
|
44
22
|
__metadata("design:type", String)
|
|
45
23
|
], CreateCatalogInput.prototype, "title", void 0);
|
|
46
24
|
__decorate([
|
|
47
|
-
(0, graphql_1.Field)(() => catalog_enum_1.ECatalogStatus),
|
|
25
|
+
(0, graphql_1.Field)(() => catalog_enum_1.ECatalogStatus, { nullable: true }),
|
|
48
26
|
__metadata("design:type", String)
|
|
49
27
|
], CreateCatalogInput.prototype, "status", void 0);
|
|
50
28
|
__decorate([
|
|
51
|
-
(0, graphql_1.Field)(() => catalog_enum_1.ECatalogType),
|
|
29
|
+
(0, graphql_1.Field)(() => catalog_enum_1.ECatalogType, { nullable: true }),
|
|
52
30
|
__metadata("design:type", String)
|
|
53
31
|
], CreateCatalogInput.prototype, "type", void 0);
|
|
54
32
|
__decorate([
|
|
@@ -68,9 +46,9 @@ __decorate([
|
|
|
68
46
|
__metadata("design:type", Number)
|
|
69
47
|
], CreateCatalogInput.prototype, "adjustmentValue", void 0);
|
|
70
48
|
__decorate([
|
|
71
|
-
(0, graphql_1.Field)(() =>
|
|
72
|
-
__metadata("design:type",
|
|
73
|
-
], CreateCatalogInput.prototype, "
|
|
49
|
+
(0, graphql_1.Field)(() => Boolean, { defaultValue: false }),
|
|
50
|
+
__metadata("design:type", Boolean)
|
|
51
|
+
], CreateCatalogInput.prototype, "autoPublishProduct", void 0);
|
|
74
52
|
exports.CreateCatalogInput = CreateCatalogInput = __decorate([
|
|
75
53
|
(0, graphql_1.InputType)()
|
|
76
54
|
], CreateCatalogInput);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.dto.js","sourceRoot":"","sources":["../../src/dto/catalog.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAgE;AAChE,yDAAoD;AACpD,qDAAgD;AAChD,yDAIgC;AAGzB,IAAM,
|
|
1
|
+
{"version":3,"file":"catalog.dto.js","sourceRoot":"","sources":["../../src/dto/catalog.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAgE;AAChE,yDAAoD;AACpD,qDAAgD;AAChD,yDAIgC;AAGzB,IAAM,kBAAkB,GAAxB,MAAM,kBAAkB;CAwB9B,CAAA;AAxBY,gDAAkB;AAE7B;IADC,IAAA,eAAK,GAAE;;iDACM;AAGd;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,6BAAc,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;kDACxB;AAGxB;IADC,IAAA,eAAK,EAAC,GAAG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