synunu-libs 1.0.77 → 1.0.79
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/constants/patterns.constant.d.ts +7 -0
- package/dist/constants/patterns.constant.d.ts.map +1 -1
- package/dist/constants/patterns.constant.js +1 -0
- package/dist/constants/patterns.constant.js.map +1 -1
- package/dist/constants/permission.constant.d.ts +6 -0
- package/dist/constants/permission.constant.d.ts.map +1 -1
- package/dist/constants/permission.constant.js +1 -0
- package/dist/constants/permission.constant.js.map +1 -1
- package/dist/dto/customer-group.dto.d.ts +22 -0
- package/dist/dto/customer-group.dto.d.ts.map +1 -0
- package/dist/dto/customer-group.dto.js +71 -0
- package/dist/dto/customer-group.dto.js.map +1 -0
- package/dist/dto/customer.dto.d.ts +14 -2
- package/dist/dto/customer.dto.d.ts.map +1 -1
- package/dist/dto/customer.dto.js +35 -2
- package/dist/dto/customer.dto.js.map +1 -1
- package/dist/dto/index.d.ts +1 -0
- package/dist/dto/index.d.ts.map +1 -1
- package/dist/dto/index.js +1 -0
- package/dist/dto/index.js.map +1 -1
- package/dist/enum/customer.enum.d.ts +5 -0
- package/dist/enum/customer.enum.d.ts.map +1 -0
- package/dist/enum/customer.enum.js +13 -0
- package/dist/enum/customer.enum.js.map +1 -0
- package/dist/enum/gender.enum.d.ts +6 -0
- package/dist/enum/gender.enum.d.ts.map +1 -0
- package/dist/enum/gender.enum.js +14 -0
- package/dist/enum/gender.enum.js.map +1 -0
- package/dist/enum/index.d.ts +2 -0
- package/dist/enum/index.d.ts.map +1 -1
- package/dist/enum/index.js +2 -0
- package/dist/enum/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -272,6 +272,13 @@ export declare const MESSAGE_PATTERNS: {
|
|
|
272
272
|
readonly UPDATE: `${string}_update`;
|
|
273
273
|
readonly DELETE: `${string}_delete`;
|
|
274
274
|
} & ExtraPatterns<never>;
|
|
275
|
+
readonly CUSTOMER_GROUPS: {
|
|
276
|
+
readonly FIND_ALL: `${string}_find_all`;
|
|
277
|
+
readonly FIND_BY_ID: `${string}_find_by_id`;
|
|
278
|
+
readonly CREATE: `${string}_create`;
|
|
279
|
+
readonly UPDATE: `${string}_update`;
|
|
280
|
+
readonly DELETE: `${string}_delete`;
|
|
281
|
+
} & ExtraPatterns<never>;
|
|
275
282
|
};
|
|
276
283
|
readonly SETTING_SERVICE: {
|
|
277
284
|
readonly SETTING: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"patterns.constant.d.ts","sourceRoot":"","sources":["../../src/constants/patterns.constant.ts"],"names":[],"mappings":"AAAA,KAAK,aAAa,CAAC,CAAC,SAAS,MAAM,IAAI,MAAM,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC;AAkBzD,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"patterns.constant.d.ts","sourceRoot":"","sources":["../../src/constants/patterns.constant.ts"],"names":[],"mappings":"AAAA,KAAK,aAAa,CAAC,CAAC,SAAS,MAAM,IAAI,MAAM,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC;AAkBzD,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkHnB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"patterns.constant.js","sourceRoot":"","sources":["../../src/constants/patterns.constant.ts"],"names":[],"mappings":";;;AAEA,SAAS,YAAY,CACnB,MAAc,E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ONS: {
|
|
|
221
221
|
readonly READ: "vouchers:read";
|
|
222
222
|
readonly WRITE: "vouchers:write";
|
|
223
223
|
};
|
|
224
|
+
readonly CUSTOMER_GROUPS: {
|
|
225
|
+
readonly READ: `${string}:read`;
|
|
226
|
+
readonly CREATE: `${string}:create`;
|
|
227
|
+
readonly UPDATE: `${string}:update`;
|
|
228
|
+
readonly DELETE: `${string}:delete`;
|
|
229
|
+
};
|
|
224
230
|
readonly REASONS: {
|
|
225
231
|
readonly READ: "reasons:read";
|
|
226
232
|
readonly WRITE: "reasons:write";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"permission.constant.d.ts","sourceRoot":"","sources":["../../src/constants/permission.constant.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"permission.constant.d.ts","sourceRoot":"","sources":["../../src/constants/permission.constant.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0Fd,CAAC"}
|
|
@@ -62,6 +62,7 @@ exports.PERMISSIONS = {
|
|
|
62
62
|
CUSTOMER_SERVICE: {
|
|
63
63
|
CUSTOMERS: crudPermissions("customers"),
|
|
64
64
|
VOUCHERS: { READ: "vouchers:read", WRITE: "vouchers:write" },
|
|
65
|
+
CUSTOMER_GROUPS: crudPermissions("customerGroups"),
|
|
65
66
|
REASONS: { READ: "reasons:read", WRITE: "reasons:write" },
|
|
66
67
|
CARRIERS: crudPermissions("carriers"),
|
|
67
68
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"permission.constant.js","sourceRoot":"","sources":["../../src/constants/permission.constant.ts"],"names":[],"mappings":";;;AAEA,SAAS,eAAe,CACtB,MAAc,EACd,KAA2B;IAE3B,MAAM,IAAI,GAAG;QACX,IAAI,EAAE,GAAG,MAAM,OAAO;QACtB,MAAM,EAAE,GAAG,MAAM,SAAS;QAC1B,MAAM,EAAE,GAAG,MAAM,SAAS;QAC1B,MAAM,EAAE,GAAG,MAAM,SAAS;KAClB,CAAC;IAEX,OAAO,KAAK,CAAC,CAAC,CAAC,EAAE,GAAG,IAAI,EAAE,GAAG,KAAK,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC;AAC9C,CAAC;AAEY,QAAA,WAAW,GAAG;IACzB,KAAK,EAAE;QACL,GAAG,EAAE,SAAS;KACf;IACD,YAAY,EAAE;QACZ,KAAK,EAAE,eAAe,CAAC,aAAa,CAAC;QACrC,KAAK,EAAE,eAAe,CAAC,OAAO,CAAC;QAC/B,KAAK,EAAE,eAAe,CAAC,OAAO,CAAC;QAC/B,WAAW,EAAE,eAAe,CAAC,aAAa,CAAC;QAC3C,aAAa,EAAE,eAAe,CAAC,eAAe,CAAC;QAC/C,QAAQ,EAAE,eAAe,CAAC,UAAU,EAAE;YACpC,cAAc,EAAE,yBAAyB;SAC1C,CAAC;QACF,QAAQ,EAAE,eAAe,CAAC,UAAU,CAAC;QACrC,YAAY,EAAE,eAAe,CAAC,cAAc,CAAC;KAC9C;IACD,eAAe,EAAE;QACf,WAAW,EAAE,eAAe,CAAC,aAAa,CAAC;QAC3C,SAAS,EAAE,WAAW;QACtB,QAAQ,EAAE,eAAe,CAAC,UAAU,CAAC;QACrC,QAAQ,EAAE,eAAe,CAAC,UAAU,CAAC;QACrC,aAAa,EAAE,eAAe,CAAC,eAAe,CAAC;QAC/C,cAAc,EAAE,eAAe,CAAC,eAAe,CAAC;QAChD,gBAAgB,EA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AAU,CAAC;KACtC;IACD,oBAAoB,EAAE,EAAE;IACxB,iBAAiB,EAAE,EAAE;IACrB,SAAS,EAAE;QACT,SAAS,EAAE,WAAW;QACtB,OAAO,EAAE;YACP,IAAI,EAAE,cAAc;YACpB,QAAQ,EAAE,kBAAkB;YAC5B,SAAS,EAAE,mBAAmB;YAC9B,KAAK,EAAE,eAAe;SACvB;KACF;IAED,QAAQ,EAAE;QACR,MAAM,EAAE,QAAQ;QAChB,KAAK,EAAE,OAAO;QACd,KAAK,EAAE,OAAO;QACd,OAAO,EAAE,SAAS;QAClB,OAAO,EAAE,kBAAkB;QAC3B,KAAK,EAAE,gBAAgB;QACvB,QAAQ,EAAE,mBAAmB;QAC7B,GAAG,EAAE,cAAc;QACnB,eAAe,EAAE,0BAA0B;QAC3C,QAAQ,EAAE,mBAAmB;QAC7B,OAAO,EAAE,kBAAkB;QAC3B,KAAK,EAAE,gBAAgB;QACvB,QAAQ,EAAE,mBAAmB;QAC7B,gBAAgB,EAAE,kBAAkB;QACpC,aAAa,EAAE,eAAe;QAC9B,KAAK,EAAE,OAAO;QACd,YAAY,EAAE,eAAe,CAAC,cAAc,CAAC;KAC9C;IACD,MAAM,EAAE;QACN,QAAQ,EAAE,eAAe,CAAC,UAAU,CAAC;KACtC;CACO,CAAC"}
|
|
1
|
+
{"version":3,"file":"permission.constant.js","sourceRoot":"","sources":["../../src/constants/permission.constant.ts"],"names":[],"mappings":";;;AAEA,SAAS,eAAe,CACtB,MAAc,EACd,KAA2B;IAE3B,MAAM,IAAI,GAAG;QACX,IAAI,EAAE,GAAG,MAAM,OAAO;QACtB,MAAM,EAAE,GAAG,MAAM,SAAS;QAC1B,MAAM,EAAE,GAAG,MAAM,SAAS;QAC1B,MAAM,EAAE,GAAG,MAAM,SAAS;KAClB,CAAC;IAEX,OAAO,KAAK,CAAC,CAAC,CAAC,EAAE,GAAG,IAAI,EAAE,GAAG,KAAK,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC;AAC9C,C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;QAC7B,GAAG,EAAE,cAAc;QACnB,eAAe,EAAE,0BAA0B;QAC3C,QAAQ,EAAE,mBAAmB;QAC7B,OAAO,EAAE,kBAAkB;QAC3B,KAAK,EAAE,gBAAgB;QACvB,QAAQ,EAAE,mBAAmB;QAC7B,gBAAgB,EAAE,kBAAkB;QACpC,aAAa,EAAE,eAAe;QAC9B,KAAK,EAAE,OAAO;QACd,YAAY,EAAE,eAAe,CAAC,cAAc,CAAC;KAC9C;IACD,MAAM,EAAE;QACN,QAAQ,EAAE,eAAe,CAAC,UAAU,CAAC;KACtC;CACO,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { DateRangeInput } from "./date-range.input";
|
|
2
|
+
import { OrderByInput } from "./order-by.input";
|
|
3
|
+
import { ECustomerGroupType } from "../enum";
|
|
4
|
+
export declare class CreateCustomerGroupInput {
|
|
5
|
+
name: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
/** auto | manual */
|
|
8
|
+
type?: ECustomerGroupType;
|
|
9
|
+
note?: string | null;
|
|
10
|
+
}
|
|
11
|
+
export declare class CustomerGroupFilterInput {
|
|
12
|
+
searchKey?: string;
|
|
13
|
+
orderBy?: OrderByInput[];
|
|
14
|
+
createdAt?: DateRangeInput;
|
|
15
|
+
updatedAt?: DateRangeInput;
|
|
16
|
+
}
|
|
17
|
+
declare const UpdateCustomerGroupInput_base: import("@nestjs/common").Type<Partial<CreateCustomerGroupInput>>;
|
|
18
|
+
export declare class UpdateCustomerGroupInput extends UpdateCustomerGroupInput_base {
|
|
19
|
+
_id: string;
|
|
20
|
+
}
|
|
21
|
+
export {};
|
|
22
|
+
//# sourceMappingURL=customer-group.dto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customer-group.dto.d.ts","sourceRoot":"","sources":["../../src/dto/customer-group.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAE7C,qBACa,wBAAwB;IAEnC,IAAI,EAAE,MAAM,CAAC;IAGb,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,oBAAoB;IAEpB,IAAI,CAAC,EAAE,kBAAkB,CAAC;IAG1B,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACtB;AAED,qBACa,wBAAwB;IAEnC,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,OAAO,CAAC,EAAE,YAAY,EAAE,CAAC;IAGzB,SAAS,CAAC,EAAE,cAAc,CAAC;IAG3B,SAAS,CAAC,EAAE,cAAc,CAAC;CAC5B;;AAED,qBACa,wBAAyB,SAAQ,6BAE7C;IAEC,GAAG,EAAE,MAAM,CAAC;CACb"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.UpdateCustomerGroupInput = exports.CustomerGroupFilterInput = exports.CreateCustomerGroupInput = void 0;
|
|
13
|
+
const graphql_1 = require("@nestjs/graphql");
|
|
14
|
+
const date_range_input_1 = require("./date-range.input");
|
|
15
|
+
const order_by_input_1 = require("./order-by.input");
|
|
16
|
+
const enum_1 = require("../enum");
|
|
17
|
+
let CreateCustomerGroupInput = class CreateCustomerGroupInput {
|
|
18
|
+
};
|
|
19
|
+
exports.CreateCustomerGroupInput = CreateCustomerGroupInput;
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, graphql_1.Field)(),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], CreateCustomerGroupInput.prototype, "name", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, graphql_1.Field)({ nullable: true }),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], CreateCustomerGroupInput.prototype, "description", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, graphql_1.Field)({ nullable: true }),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], CreateCustomerGroupInput.prototype, "type", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, graphql_1.Field)({ nullable: true }),
|
|
34
|
+
__metadata("design:type", Object)
|
|
35
|
+
], CreateCustomerGroupInput.prototype, "note", void 0);
|
|
36
|
+
exports.CreateCustomerGroupInput = CreateCustomerGroupInput = __decorate([
|
|
37
|
+
(0, graphql_1.InputType)()
|
|
38
|
+
], CreateCustomerGroupInput);
|
|
39
|
+
let CustomerGroupFilterInput = class CustomerGroupFilterInput {
|
|
40
|
+
};
|
|
41
|
+
exports.CustomerGroupFilterInput = CustomerGroupFilterInput;
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, graphql_1.Field)(() => String, { nullable: true }),
|
|
44
|
+
__metadata("design:type", String)
|
|
45
|
+
], CustomerGroupFilterInput.prototype, "searchKey", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, graphql_1.Field)(() => [order_by_input_1.OrderByInput], { nullable: true }),
|
|
48
|
+
__metadata("design:type", Array)
|
|
49
|
+
], CustomerGroupFilterInput.prototype, "orderBy", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, graphql_1.Field)(() => date_range_input_1.DateRangeInput, { nullable: true }),
|
|
52
|
+
__metadata("design:type", date_range_input_1.DateRangeInput)
|
|
53
|
+
], CustomerGroupFilterInput.prototype, "createdAt", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
(0, graphql_1.Field)(() => date_range_input_1.DateRangeInput, { nullable: true }),
|
|
56
|
+
__metadata("design:type", date_range_input_1.DateRangeInput)
|
|
57
|
+
], CustomerGroupFilterInput.prototype, "updatedAt", void 0);
|
|
58
|
+
exports.CustomerGroupFilterInput = CustomerGroupFilterInput = __decorate([
|
|
59
|
+
(0, graphql_1.InputType)()
|
|
60
|
+
], CustomerGroupFilterInput);
|
|
61
|
+
let UpdateCustomerGroupInput = class UpdateCustomerGroupInput extends (0, graphql_1.PartialType)(CreateCustomerGroupInput) {
|
|
62
|
+
};
|
|
63
|
+
exports.UpdateCustomerGroupInput = UpdateCustomerGroupInput;
|
|
64
|
+
__decorate([
|
|
65
|
+
(0, graphql_1.Field)(() => String),
|
|
66
|
+
__metadata("design:type", String)
|
|
67
|
+
], UpdateCustomerGroupInput.prototype, "_id", void 0);
|
|
68
|
+
exports.UpdateCustomerGroupInput = UpdateCustomerGroupInput = __decorate([
|
|
69
|
+
(0, graphql_1.InputType)()
|
|
70
|
+
], UpdateCustomerGroupInput);
|
|
71
|
+
//# sourceMappingURL=customer-group.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customer-group.dto.js","sourceRoot":"","sources":["../../src/dto/customer-group.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAgE;AAChE,yDAAoD;AACpD,qDAAgD;AAChD,kCAA6C;AAGtC,IAAM,wBAAwB,GAA9B,MAAM,wBAAwB;CAapC,CAAA;AAbY,4DAAwB;AAEnC;IADC,IAAA,eAAK,GAAE;;sDACK;AAGb;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6DACL;AAIrB;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sDACA;AAG1B;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sDACL;mCAZV,wBAAwB;IADpC,IAAA,mBAAS,GAAE;GACC,wBAAwB,CAapC;AAGM,IAAM,wBAAwB,GAA9B,MAAM,wBAAwB;CAYpC,CAAA;AAZY,4DAAwB;AAEnC;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;2DACrB;AAGnB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,CAAC,6BAAY,CAAC,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yDACvB;AAGzB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,iCAAc,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACpC,iCAAc;2DAAC;AAG3B;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,iCAAc,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACpC,iCAAc;2DAAC;mCAXhB,wBAAwB;IADpC,IAAA,mBAAS,GAAE;GACC,wBAAwB,CAYpC;AAGM,IAAM,wBAAwB,GAA9B,MAAM,wBAAyB,SAAQ,IAAA,qBAAW,EACvD,wBAAwB,CACzB;CAGA,CAAA;AALY,4DAAwB;AAInC;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;qDACR;mCAJD,wBAAwB;IADpC,IAAA,mBAAS,GAAE;GACC,wBAAwB,CAKpC"}
|
|
@@ -1,8 +1,20 @@
|
|
|
1
1
|
import { DateRangeInput } from "./date-range.input";
|
|
2
2
|
import { OrderByInput } from "./order-by.input";
|
|
3
|
+
import { EGender } from "../enum";
|
|
3
4
|
export declare class CreateCustomerInput {
|
|
4
|
-
|
|
5
|
-
|
|
5
|
+
email?: string;
|
|
6
|
+
phone?: string;
|
|
7
|
+
firstName: string;
|
|
8
|
+
lastName: string;
|
|
9
|
+
gender?: EGender;
|
|
10
|
+
dob?: number;
|
|
11
|
+
acceptsMarketing?: boolean;
|
|
12
|
+
tags?: string[];
|
|
13
|
+
/**
|
|
14
|
+
* Danh sách id / code của CustomerGroup
|
|
15
|
+
*/
|
|
16
|
+
groups?: string[];
|
|
17
|
+
note?: string;
|
|
6
18
|
}
|
|
7
19
|
export declare class CustomerFilterInput {
|
|
8
20
|
searchKey?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customer.dto.d.ts","sourceRoot":"","sources":["../../src/dto/customer.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"customer.dto.d.ts","sourceRoot":"","sources":["../../src/dto/customer.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAElC,qBACa,mBAAmB;IAE9B,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,SAAS,EAAE,MAAM,CAAC;IAGlB,QAAQ,EAAE,MAAM,CAAC;IAGjB,MAAM,CAAC,EAAE,OAAO,CAAC;IAGjB,GAAG,CAAC,EAAE,MAAM,CAAC;IAGb,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAG3B,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAEhB;;OAEG;IAEH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAGlB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,qBACa,mBAAmB;IAE9B,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,OAAO,CAAC,EAAE,YAAY,EAAE,CAAC;IAGzB,SAAS,CAAC,EAAE,cAAc,CAAC;IAG3B,SAAS,CAAC,EAAE,cAAc,CAAC;CAC5B;;AAED,qBACa,mBAAoB,SAAQ,wBAAgC;IAEvE,GAAG,EAAE,MAAM,CAAC;CACb"}
|
package/dist/dto/customer.dto.js
CHANGED
|
@@ -13,17 +13,50 @@ exports.UpdateCustomerInput = exports.CustomerFilterInput = exports.CreateCustom
|
|
|
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
|
+
const enum_1 = require("../enum");
|
|
16
17
|
let CreateCustomerInput = class CreateCustomerInput {
|
|
17
18
|
};
|
|
18
19
|
exports.CreateCustomerInput = CreateCustomerInput;
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, graphql_1.Field)({ nullable: true }),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], CreateCustomerInput.prototype, "email", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, graphql_1.Field)({ nullable: true }),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], CreateCustomerInput.prototype, "phone", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, graphql_1.Field)(),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], CreateCustomerInput.prototype, "firstName", void 0);
|
|
19
32
|
__decorate([
|
|
20
33
|
(0, graphql_1.Field)(),
|
|
21
34
|
__metadata("design:type", String)
|
|
22
|
-
], CreateCustomerInput.prototype, "
|
|
35
|
+
], CreateCustomerInput.prototype, "lastName", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, graphql_1.Field)(() => enum_1.EGender, { nullable: true }),
|
|
38
|
+
__metadata("design:type", String)
|
|
39
|
+
], CreateCustomerInput.prototype, "gender", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, graphql_1.Field)(() => Number, { nullable: true }),
|
|
42
|
+
__metadata("design:type", Number)
|
|
43
|
+
], CreateCustomerInput.prototype, "dob", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, graphql_1.Field)(() => Boolean, { nullable: true }),
|
|
46
|
+
__metadata("design:type", Boolean)
|
|
47
|
+
], CreateCustomerInput.prototype, "acceptsMarketing", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, graphql_1.Field)(() => [String], { nullable: true }),
|
|
50
|
+
__metadata("design:type", Array)
|
|
51
|
+
], CreateCustomerInput.prototype, "tags", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, graphql_1.Field)(() => [String], { nullable: true }),
|
|
54
|
+
__metadata("design:type", Array)
|
|
55
|
+
], CreateCustomerInput.prototype, "groups", void 0);
|
|
23
56
|
__decorate([
|
|
24
57
|
(0, graphql_1.Field)({ nullable: true }),
|
|
25
58
|
__metadata("design:type", String)
|
|
26
|
-
], CreateCustomerInput.prototype, "
|
|
59
|
+
], CreateCustomerInput.prototype, "note", void 0);
|
|
27
60
|
exports.CreateCustomerInput = CreateCustomerInput = __decorate([
|
|
28
61
|
(0, graphql_1.InputType)()
|
|
29
62
|
], CreateCustomerInput);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customer.dto.js","sourceRoot":"","sources":["../../src/dto/customer.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAgE;AAChE,yDAAoD;AACpD,qDAAgD;
|
|
1
|
+
{"version":3,"file":"customer.dto.js","sourceRoot":"","sources":["../../src/dto/customer.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAgE;AAChE,yDAAoD;AACpD,qDAAgD;AAChD,kCAAkC;AAG3B,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;CAiC/B,CAAA;AAjCY,kDAAmB;AAE9B;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,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AE,IAAI,EAAE,CAAC;8BACpC,iCAAc;sDAAC;AAG3B;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,iCAAc,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACpC,iCAAc;sDAAC;8BAXhB,mBAAmB;IAD/B,IAAA,mBAAS,GAAE;GACC,mBAAmB,CAY/B;AAGM,IAAM,mBAAmB,GAAzB,MAAM,mBAAoB,SAAQ,IAAA,qBAAW,EAAC,mBAAmB,CAAC;CAGxE,CAAA;AAHY,kDAAmB;AAE9B;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;gDACR;8BAFD,mBAAmB;IAD/B,IAAA,mBAAS,GAAE;GACC,mBAAmB,CAG/B"}
|
package/dist/dto/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export * from "./catalog.dto";
|
|
|
4
4
|
export * from "./collection-image.input";
|
|
5
5
|
export * from "./collection-rule.input";
|
|
6
6
|
export * from "./collection.dto";
|
|
7
|
+
export * from "./customer-group.dto";
|
|
7
8
|
export * from "./customer.dto";
|
|
8
9
|
export * from "./date-range.input";
|
|
9
10
|
export * from "./inventory-adjustment.dto";
|
package/dist/dto/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/dto/index.ts"],"names":[],"mappings":"AACA,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC;AAC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,cAAc,CAAC"}
|
package/dist/dto/index.js
CHANGED
|
@@ -21,6 +21,7 @@ __exportStar(require("./catalog.dto"), exports);
|
|
|
21
21
|
__exportStar(require("./collection-image.input"), exports);
|
|
22
22
|
__exportStar(require("./collection-rule.input"), exports);
|
|
23
23
|
__exportStar(require("./collection.dto"), exports);
|
|
24
|
+
__exportStar(require("./customer-group.dto"), exports);
|
|
24
25
|
__exportStar(require("./customer.dto"), exports);
|
|
25
26
|
__exportStar(require("./date-range.input"), exports);
|
|
26
27
|
__exportStar(require("./inventory-adjustment.dto"), exports);
|
package/dist/dto/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,SAAS;AACT,6CAA2B;AAC3B,+CAA6B;AAC7B,gDAA8B;AAC9B,2DAAyC;AACzC,0DAAwC;AACxC,mDAAiC;AACjC,iDAA+B;AAC/B,qDAAmC;AACnC,6DAA2C;AAC3C,uDAAqC;AACrC,wDAAsC;AACtC,0DAAwC;AACxC,mDAAiC;AACjC,6CAA2B;AAC3B,qDAAmC;AACnC,kDAAgC;AAChC,+CAA6B;AAC7B,iDAA+B;AAC/B,sDAAoC;AACpC,qDAAmC;AACnC,gDAA8B;AAC9B,gDAA8B;AAC9B,oDAAkC;AAClC,0DAAwC;AACxC,8CAA4B;AAC5B,4CAA0B;AAC1B,6CAA2B;AAC3B,gDAA8B;AAC9B,+CAA6B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,SAAS;AACT,6CAA2B;AAC3B,+CAA6B;AAC7B,gDAA8B;AAC9B,2DAAyC;AACzC,0DAAwC;AACxC,mDAAiC;AACjC,uDAAqC;AACrC,iDAA+B;AAC/B,qDAAmC;AACnC,6DAA2C;AAC3C,uDAAqC;AACrC,wDAAsC;AACtC,0DAAwC;AACxC,mDAAiC;AACjC,6CAA2B;AAC3B,qDAAmC;AACnC,kDAAgC;AAChC,+CAA6B;AAC7B,iDAA+B;AAC/B,sDAAoC;AACpC,qDAAmC;AACnC,gDAA8B;AAC9B,gDAA8B;AAC9B,oDAAkC;AAClC,0DAAwC;AACxC,8CAA4B;AAC5B,4CAA0B;AAC1B,6CAA2B;AAC3B,gDAA8B;AAC9B,+CAA6B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customer.enum.d.ts","sourceRoot":"","sources":["../../src/enum/customer.enum.ts"],"names":[],"mappings":"AAEA,oBAAY,kBAAkB;IAC5B,IAAI,SAAS;IACb,MAAM,WAAW;CAClB"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ECustomerGroupType = void 0;
|
|
4
|
+
const graphql_1 = require("@nestjs/graphql");
|
|
5
|
+
var ECustomerGroupType;
|
|
6
|
+
(function (ECustomerGroupType) {
|
|
7
|
+
ECustomerGroupType["AUTO"] = "AUTO";
|
|
8
|
+
ECustomerGroupType["MANUAL"] = "MANUAL";
|
|
9
|
+
})(ECustomerGroupType || (exports.ECustomerGroupType = ECustomerGroupType = {}));
|
|
10
|
+
(0, graphql_1.registerEnumType)(ECustomerGroupType, {
|
|
11
|
+
name: "ECustomerGroupType",
|
|
12
|
+
});
|
|
13
|
+
//# sourceMappingURL=customer.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customer.enum.js","sourceRoot":"","sources":["../../src/enum/customer.enum.ts"],"names":[],"mappings":";;;AAAA,6CAAmD;AAEnD,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC5B,mCAAa,CAAA;IACb,uCAAiB,CAAA;AACnB,CAAC,EAHW,kBAAkB,kCAAlB,kBAAkB,QAG7B;AAED,IAAA,0BAAgB,EAAC,kBAAkB,EAAE;IACnC,IAAI,EAAE,oBAAoB;CAC3B,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gender.enum.d.ts","sourceRoot":"","sources":["../../src/enum/gender.enum.ts"],"names":[],"mappings":"AAEA,oBAAY,OAAO;IACjB,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,KAAK,UAAU;CAChB"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EGender = void 0;
|
|
4
|
+
const graphql_1 = require("@nestjs/graphql");
|
|
5
|
+
var EGender;
|
|
6
|
+
(function (EGender) {
|
|
7
|
+
EGender["MALE"] = "MALE";
|
|
8
|
+
EGender["FEMALE"] = "FEMALE";
|
|
9
|
+
EGender["OTHER"] = "OTHER";
|
|
10
|
+
})(EGender || (exports.EGender = EGender = {}));
|
|
11
|
+
(0, graphql_1.registerEnumType)(EGender, {
|
|
12
|
+
name: "EGender",
|
|
13
|
+
});
|
|
14
|
+
//# sourceMappingURL=gender.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gender.enum.js","sourceRoot":"","sources":["../../src/enum/gender.enum.ts"],"names":[],"mappings":";;;AAAA,6CAAmD;AAEnD,IAAY,OAIX;AAJD,WAAY,OAAO;IACjB,wBAAa,CAAA;IACb,4BAAiB,CAAA;IACjB,0BAAe,CAAA;AACjB,CAAC,EAJW,OAAO,uBAAP,OAAO,QAIlB;AAED,IAAA,0BAAgB,EAAC,OAAO,EAAE;IACxB,IAAI,EAAE,SAAS;CAChB,CAAC,CAAC"}
|
package/dist/enum/index.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export * from "./account-status.enum";
|
|
2
2
|
export * from "./catalog.enum";
|
|
3
3
|
export * from "./collection-type.enum";
|
|
4
|
+
export * from "./customer.enum";
|
|
5
|
+
export * from "./gender.enum";
|
|
4
6
|
export * from "./product.enum";
|
|
5
7
|
export * from "./relation-type.enum";
|
|
6
8
|
export * from "./sort-order.enum";
|
package/dist/enum/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/enum/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,YAAY,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/enum/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,YAAY,CAAC"}
|
package/dist/enum/index.js
CHANGED
|
@@ -17,6 +17,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./account-status.enum"), exports);
|
|
18
18
|
__exportStar(require("./catalog.enum"), exports);
|
|
19
19
|
__exportStar(require("./collection-type.enum"), exports);
|
|
20
|
+
__exportStar(require("./customer.enum"), exports);
|
|
21
|
+
__exportStar(require("./gender.enum"), exports);
|
|
20
22
|
__exportStar(require("./product.enum"), exports);
|
|
21
23
|
__exportStar(require("./relation-type.enum"), exports);
|
|
22
24
|
__exportStar(require("./sort-order.enum"), exports);
|
package/dist/enum/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/enum/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,iDAA+B;AAC/B,yDAAuC;AACvC,iDAA+B;AAC/B,uDAAqC;AACrC,oDAAkC;AAClC,6CAA2B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/enum/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,iDAA+B;AAC/B,yDAAuC;AACvC,kDAAgC;AAChC,gDAA8B;AAC9B,iDAA+B;AAC/B,uDAAqC;AACrC,oDAAkC;AAClC,6CAA2B"}
|