@uniorganization/uni-lib 1.1.25 → 1.1.26

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,3 +1,4 @@
1
+ import { Timestamp } from 'typeorm';
1
2
  import { FormDefinition } from './form-definition.entity';
2
3
  export declare class Form {
3
4
  id: number;
@@ -7,8 +8,8 @@ export declare class Form {
7
8
  formName: string;
8
9
  status: string;
9
10
  createdBy: string;
10
- dateCreated: Date;
11
+ dateCreated: Timestamp;
11
12
  updatedBy: string;
12
- dateUpdated: Date;
13
+ dateUpdated: Timestamp;
13
14
  fieldList: FormDefinition[];
14
15
  }
@@ -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", Date)
47
+ __metadata("design:type", typeorm_1.Timestamp)
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", Date)
55
+ __metadata("design:type", typeorm_1.Timestamp)
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'] }),
@@ -66,3 +66,4 @@ export * from './outbound-ticket-history.entity';
66
66
  export * from './ticket-queue.entity';
67
67
  export * from './pending-ticket-history.entity';
68
68
  export * from './dispute-request.entity';
69
+ export * from './sap-raw.entity';
@@ -82,3 +82,4 @@ __exportStar(require("./outbound-ticket-history.entity"), exports);
82
82
  __exportStar(require("./ticket-queue.entity"), exports);
83
83
  __exportStar(require("./pending-ticket-history.entity"), exports);
84
84
  __exportStar(require("./dispute-request.entity"), exports);
85
+ __exportStar(require("./sap-raw.entity"), exports);
@@ -0,0 +1,46 @@
1
+ export declare class SapRaw {
2
+ ticketNumber: string;
3
+ fileDate: Date;
4
+ companyId: string;
5
+ status: string;
6
+ statusDesc: string;
7
+ reasonDescription: string;
8
+ detailType: string;
9
+ model: string;
10
+ categoryId: string;
11
+ serialNo: string;
12
+ imei: string;
13
+ postingDate: Date;
14
+ unitReceivedDate: string;
15
+ category2Description: string;
16
+ category3Description: string;
17
+ consumer: Number;
18
+ customer: string;
19
+ state: string;
20
+ asc: string;
21
+ createdBy: string;
22
+ inOutWty: string;
23
+ inOut: string;
24
+ ern: string;
25
+ serviceType: string;
26
+ productType: string;
27
+ bucketGroup: string;
28
+ postingDateAging: string;
29
+ unitReceivedDateAging: string;
30
+ detlType: string;
31
+ category1Description: string;
32
+ index: Number;
33
+ bpName: string;
34
+ bpTel: string;
35
+ bpTelHome: string;
36
+ bpTelMobile: string;
37
+ bpTelOffice: string;
38
+ bpAddress: string;
39
+ bpCity: string;
40
+ bpZip: Number;
41
+ bpEmail: string;
42
+ returnReasonDescription: string;
43
+ fileName: string;
44
+ dacorFlag: string;
45
+ text1: string;
46
+ }
@@ -0,0 +1,195 @@
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.SapRaw = void 0;
13
+ const typeorm_1 = require("typeorm");
14
+ let SapRaw = class SapRaw {
15
+ };
16
+ __decorate([
17
+ (0, typeorm_1.PrimaryColumn)({ name: 'ticket_number' }),
18
+ __metadata("design:type", String)
19
+ ], SapRaw.prototype, "ticketNumber", void 0);
20
+ __decorate([
21
+ (0, typeorm_1.PrimaryColumn)({ name: 'file_date' }),
22
+ __metadata("design:type", Date)
23
+ ], SapRaw.prototype, "fileDate", void 0);
24
+ __decorate([
25
+ (0, typeorm_1.Column)({ name: 'company_id' }),
26
+ __metadata("design:type", String)
27
+ ], SapRaw.prototype, "companyId", void 0);
28
+ __decorate([
29
+ (0, typeorm_1.Column)({ name: 'status' }),
30
+ __metadata("design:type", String)
31
+ ], SapRaw.prototype, "status", void 0);
32
+ __decorate([
33
+ (0, typeorm_1.Column)({ name: 'status_desc' }),
34
+ __metadata("design:type", String)
35
+ ], SapRaw.prototype, "statusDesc", void 0);
36
+ __decorate([
37
+ (0, typeorm_1.Column)({ name: 'reason_description' }),
38
+ __metadata("design:type", String)
39
+ ], SapRaw.prototype, "reasonDescription", void 0);
40
+ __decorate([
41
+ (0, typeorm_1.Column)({ name: 'detail_type' }),
42
+ __metadata("design:type", String)
43
+ ], SapRaw.prototype, "detailType", void 0);
44
+ __decorate([
45
+ (0, typeorm_1.Column)({ name: 'model' }),
46
+ __metadata("design:type", String)
47
+ ], SapRaw.prototype, "model", void 0);
48
+ __decorate([
49
+ (0, typeorm_1.Column)({ name: 'category_id' }),
50
+ __metadata("design:type", String)
51
+ ], SapRaw.prototype, "categoryId", void 0);
52
+ __decorate([
53
+ (0, typeorm_1.Column)({ name: 'serial_no' }),
54
+ __metadata("design:type", String)
55
+ ], SapRaw.prototype, "serialNo", void 0);
56
+ __decorate([
57
+ (0, typeorm_1.Column)({ name: 'imei' }),
58
+ __metadata("design:type", String)
59
+ ], SapRaw.prototype, "imei", void 0);
60
+ __decorate([
61
+ (0, typeorm_1.Column)({ name: 'posting_date' }),
62
+ __metadata("design:type", Date)
63
+ ], SapRaw.prototype, "postingDate", void 0);
64
+ __decorate([
65
+ (0, typeorm_1.Column)({ name: 'unit_received_date' }),
66
+ __metadata("design:type", String)
67
+ ], SapRaw.prototype, "unitReceivedDate", void 0);
68
+ __decorate([
69
+ (0, typeorm_1.Column)({ name: 'category2_description' }),
70
+ __metadata("design:type", String)
71
+ ], SapRaw.prototype, "category2Description", void 0);
72
+ __decorate([
73
+ (0, typeorm_1.Column)({ name: 'category3_description' }),
74
+ __metadata("design:type", String)
75
+ ], SapRaw.prototype, "category3Description", void 0);
76
+ __decorate([
77
+ (0, typeorm_1.Column)({ name: 'consumer' }),
78
+ __metadata("design:type", Number)
79
+ ], SapRaw.prototype, "consumer", void 0);
80
+ __decorate([
81
+ (0, typeorm_1.Column)({ name: 'customer' }),
82
+ __metadata("design:type", String)
83
+ ], SapRaw.prototype, "customer", void 0);
84
+ __decorate([
85
+ (0, typeorm_1.Column)({ name: 'state' }),
86
+ __metadata("design:type", String)
87
+ ], SapRaw.prototype, "state", void 0);
88
+ __decorate([
89
+ (0, typeorm_1.Column)({ name: 'asc' }),
90
+ __metadata("design:type", String)
91
+ ], SapRaw.prototype, "asc", void 0);
92
+ __decorate([
93
+ (0, typeorm_1.Column)({ name: 'created_by' }),
94
+ __metadata("design:type", String)
95
+ ], SapRaw.prototype, "createdBy", void 0);
96
+ __decorate([
97
+ (0, typeorm_1.Column)({ name: 'in_out_wty' }),
98
+ __metadata("design:type", String)
99
+ ], SapRaw.prototype, "inOutWty", void 0);
100
+ __decorate([
101
+ (0, typeorm_1.Column)({ name: 'in_out' }),
102
+ __metadata("design:type", String)
103
+ ], SapRaw.prototype, "inOut", void 0);
104
+ __decorate([
105
+ (0, typeorm_1.Column)({ name: 'ern' }),
106
+ __metadata("design:type", String)
107
+ ], SapRaw.prototype, "ern", void 0);
108
+ __decorate([
109
+ (0, typeorm_1.Column)({ name: 'service_type' }),
110
+ __metadata("design:type", String)
111
+ ], SapRaw.prototype, "serviceType", void 0);
112
+ __decorate([
113
+ (0, typeorm_1.Column)({ name: 'product_type' }),
114
+ __metadata("design:type", String)
115
+ ], SapRaw.prototype, "productType", void 0);
116
+ __decorate([
117
+ (0, typeorm_1.Column)({ name: 'bucket_group' }),
118
+ __metadata("design:type", String)
119
+ ], SapRaw.prototype, "bucketGroup", void 0);
120
+ __decorate([
121
+ (0, typeorm_1.Column)({ name: 'posting_date_aging' }),
122
+ __metadata("design:type", String)
123
+ ], SapRaw.prototype, "postingDateAging", void 0);
124
+ __decorate([
125
+ (0, typeorm_1.Column)({ name: 'unit_received_date_aging' }),
126
+ __metadata("design:type", String)
127
+ ], SapRaw.prototype, "unitReceivedDateAging", void 0);
128
+ __decorate([
129
+ (0, typeorm_1.Column)({ name: 'det_type' }),
130
+ __metadata("design:type", String)
131
+ ], SapRaw.prototype, "detlType", void 0);
132
+ __decorate([
133
+ (0, typeorm_1.Column)({ name: 'category1_description' }),
134
+ __metadata("design:type", String)
135
+ ], SapRaw.prototype, "category1Description", void 0);
136
+ __decorate([
137
+ (0, typeorm_1.Column)({ name: 'index' }),
138
+ __metadata("design:type", Number)
139
+ ], SapRaw.prototype, "index", void 0);
140
+ __decorate([
141
+ (0, typeorm_1.Column)({ name: 'bp_name' }),
142
+ __metadata("design:type", String)
143
+ ], SapRaw.prototype, "bpName", void 0);
144
+ __decorate([
145
+ (0, typeorm_1.Column)({ name: 'bp_tel' }),
146
+ __metadata("design:type", String)
147
+ ], SapRaw.prototype, "bpTel", void 0);
148
+ __decorate([
149
+ (0, typeorm_1.Column)({ name: 'bp_tel_home' }),
150
+ __metadata("design:type", String)
151
+ ], SapRaw.prototype, "bpTelHome", void 0);
152
+ __decorate([
153
+ (0, typeorm_1.Column)({ name: 'bp_tel_mobile' }),
154
+ __metadata("design:type", String)
155
+ ], SapRaw.prototype, "bpTelMobile", void 0);
156
+ __decorate([
157
+ (0, typeorm_1.Column)({ name: 'bp_tel_office' }),
158
+ __metadata("design:type", String)
159
+ ], SapRaw.prototype, "bpTelOffice", void 0);
160
+ __decorate([
161
+ (0, typeorm_1.Column)({ name: 'bp_address' }),
162
+ __metadata("design:type", String)
163
+ ], SapRaw.prototype, "bpAddress", void 0);
164
+ __decorate([
165
+ (0, typeorm_1.Column)({ name: 'bp_city' }),
166
+ __metadata("design:type", String)
167
+ ], SapRaw.prototype, "bpCity", void 0);
168
+ __decorate([
169
+ (0, typeorm_1.Column)({ name: 'bp_zip' }),
170
+ __metadata("design:type", Number)
171
+ ], SapRaw.prototype, "bpZip", void 0);
172
+ __decorate([
173
+ (0, typeorm_1.Column)({ name: 'bp_email' }),
174
+ __metadata("design:type", String)
175
+ ], SapRaw.prototype, "bpEmail", void 0);
176
+ __decorate([
177
+ (0, typeorm_1.Column)({ name: 'return_reason_description' }),
178
+ __metadata("design:type", String)
179
+ ], SapRaw.prototype, "returnReasonDescription", void 0);
180
+ __decorate([
181
+ (0, typeorm_1.Column)({ name: 'file_name' }),
182
+ __metadata("design:type", String)
183
+ ], SapRaw.prototype, "fileName", void 0);
184
+ __decorate([
185
+ (0, typeorm_1.Column)({ name: 'dacor_flag' }),
186
+ __metadata("design:type", String)
187
+ ], SapRaw.prototype, "dacorFlag", void 0);
188
+ __decorate([
189
+ (0, typeorm_1.Column)({ name: 'text1' }),
190
+ __metadata("design:type", String)
191
+ ], SapRaw.prototype, "text1", void 0);
192
+ SapRaw = __decorate([
193
+ (0, typeorm_1.Entity)('raw_sap', { schema: 'public' })
194
+ ], SapRaw);
195
+ exports.SapRaw = SapRaw;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniorganization/uni-lib",
3
- "version": "1.1.25",
3
+ "version": "1.1.26",
4
4
  "description": "UNI Library",
5
5
  "author": "Jhomiguel",
6
6
  "main": "dist/index.js",