@uniorganization/uni-lib 1.1.27 → 1.1.29

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,4 +1,3 @@
1
- import { Timestamp } from 'typeorm';
2
1
  import { FormDefinition } from './form-definition.entity';
3
2
  export declare class Form {
4
3
  id: number;
@@ -8,8 +7,8 @@ export declare class Form {
8
7
  formName: string;
9
8
  status: string;
10
9
  createdBy: string;
11
- dateCreated: Timestamp;
10
+ dateCreated: Date;
12
11
  updatedBy: string;
13
- dateUpdated: Timestamp;
12
+ dateUpdated: Date;
14
13
  fieldList: FormDefinition[];
15
14
  }
@@ -44,7 +44,7 @@ __decorate([
44
44
  ], Form.prototype, "createdBy", void 0);
45
45
  __decorate([
46
46
  (0, typeorm_1.Column)('timestamp', { name: 'date_created', default: new Date() }),
47
- __metadata("design:type", typeorm_1.Timestamp)
47
+ __metadata("design:type", Date)
48
48
  ], Form.prototype, "dateCreated", void 0);
49
49
  __decorate([
50
50
  (0, typeorm_1.Column)({ name: 'updated_by' }),
@@ -52,7 +52,7 @@ __decorate([
52
52
  ], Form.prototype, "updatedBy", void 0);
53
53
  __decorate([
54
54
  (0, typeorm_1.Column)('timestamp', { name: 'date_updated' }),
55
- __metadata("design:type", typeorm_1.Timestamp)
55
+ __metadata("design:type", Date)
56
56
  ], Form.prototype, "dateUpdated", void 0);
57
57
  __decorate([
58
58
  (0, typeorm_1.OneToMany)(() => form_definition_entity_1.FormDefinition, (formDefinition) => formDefinition.form, { cascade: ['insert', 'update', 'remove'] }),
@@ -1,25 +1,25 @@
1
1
  export declare class SapRaw {
2
- ticketNumber: string;
2
+ ticketNo: string;
3
3
  fileDate: Date;
4
4
  companyId: string;
5
5
  status: string;
6
6
  statusDesc: string;
7
7
  reasonDescription: string;
8
- detailType: string;
9
- model: string;
8
+ detailTypeName: string;
9
+ modelCode: string;
10
10
  categoryId: string;
11
11
  serialNo: string;
12
12
  imei: string;
13
- postingDate: Date;
13
+ createDate: Date;
14
14
  unitReceivedDate: string;
15
15
  category2Description: string;
16
16
  category3Description: string;
17
17
  consumer: Number;
18
- customer: string;
18
+ bpNo: string;
19
19
  state: string;
20
- asc: string;
20
+ ascNo: string;
21
21
  createdBy: string;
22
- inOutWty: string;
22
+ warrantyStatus: string;
23
23
  inOut: string;
24
24
  ern: string;
25
25
  serviceType: string;
@@ -16,7 +16,7 @@ let SapRaw = class SapRaw {
16
16
  __decorate([
17
17
  (0, typeorm_1.PrimaryColumn)({ name: 'ticket_number' }),
18
18
  __metadata("design:type", String)
19
- ], SapRaw.prototype, "ticketNumber", void 0);
19
+ ], SapRaw.prototype, "ticketNo", void 0);
20
20
  __decorate([
21
21
  (0, typeorm_1.PrimaryColumn)({ name: 'file_date' }),
22
22
  __metadata("design:type", Date)
@@ -40,11 +40,11 @@ __decorate([
40
40
  __decorate([
41
41
  (0, typeorm_1.Column)({ name: 'detail_type' }),
42
42
  __metadata("design:type", String)
43
- ], SapRaw.prototype, "detailType", void 0);
43
+ ], SapRaw.prototype, "detailTypeName", void 0);
44
44
  __decorate([
45
45
  (0, typeorm_1.Column)({ name: 'model' }),
46
46
  __metadata("design:type", String)
47
- ], SapRaw.prototype, "model", void 0);
47
+ ], SapRaw.prototype, "modelCode", void 0);
48
48
  __decorate([
49
49
  (0, typeorm_1.Column)({ name: 'category_id' }),
50
50
  __metadata("design:type", String)
@@ -60,7 +60,7 @@ __decorate([
60
60
  __decorate([
61
61
  (0, typeorm_1.Column)({ name: 'posting_date' }),
62
62
  __metadata("design:type", Date)
63
- ], SapRaw.prototype, "postingDate", void 0);
63
+ ], SapRaw.prototype, "createDate", void 0);
64
64
  __decorate([
65
65
  (0, typeorm_1.Column)({ name: 'unit_received_date' }),
66
66
  __metadata("design:type", String)
@@ -80,7 +80,7 @@ __decorate([
80
80
  __decorate([
81
81
  (0, typeorm_1.Column)({ name: 'customer' }),
82
82
  __metadata("design:type", String)
83
- ], SapRaw.prototype, "customer", void 0);
83
+ ], SapRaw.prototype, "bpNo", void 0);
84
84
  __decorate([
85
85
  (0, typeorm_1.Column)({ name: 'state' }),
86
86
  __metadata("design:type", String)
@@ -88,7 +88,7 @@ __decorate([
88
88
  __decorate([
89
89
  (0, typeorm_1.Column)({ name: 'asc' }),
90
90
  __metadata("design:type", String)
91
- ], SapRaw.prototype, "asc", void 0);
91
+ ], SapRaw.prototype, "ascNo", void 0);
92
92
  __decorate([
93
93
  (0, typeorm_1.Column)({ name: 'created_by' }),
94
94
  __metadata("design:type", String)
@@ -96,7 +96,7 @@ __decorate([
96
96
  __decorate([
97
97
  (0, typeorm_1.Column)({ name: 'in_out_wty' }),
98
98
  __metadata("design:type", String)
99
- ], SapRaw.prototype, "inOutWty", void 0);
99
+ ], SapRaw.prototype, "warrantyStatus", void 0);
100
100
  __decorate([
101
101
  (0, typeorm_1.Column)({ name: 'in_out' }),
102
102
  __metadata("design:type", String)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniorganization/uni-lib",
3
- "version": "1.1.27",
3
+ "version": "1.1.29",
4
4
  "description": "UNI Library",
5
5
  "author": "Jhomiguel",
6
6
  "main": "dist/index.js",