@things-factory/integration-fulfillment 4.0.17 → 4.0.22
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.
|
@@ -0,0 +1,106 @@
|
|
|
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
|
+
var _a, _b, _c;
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
exports.FulfillmentCenters = void 0;
|
|
14
|
+
const auth_base_1 = require("@things-factory/auth-base");
|
|
15
|
+
const shell_1 = require("@things-factory/shell");
|
|
16
|
+
const typeorm_1 = require("typeorm");
|
|
17
|
+
let FulfillmentCenters = class FulfillmentCenters {
|
|
18
|
+
};
|
|
19
|
+
__decorate([
|
|
20
|
+
typeorm_1.PrimaryGeneratedColumn('uuid'),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], FulfillmentCenters.prototype, "id", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
typeorm_1.ManyToOne(type => shell_1.Domain),
|
|
25
|
+
__metadata("design:type", typeof (_a = typeof shell_1.Domain !== "undefined" && shell_1.Domain) === "function" ? _a : Object)
|
|
26
|
+
], FulfillmentCenters.prototype, "domain", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
typeorm_1.Column(),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], FulfillmentCenters.prototype, "platform", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
typeorm_1.Column({
|
|
33
|
+
nullable: true
|
|
34
|
+
}),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], FulfillmentCenters.prototype, "centerId", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
typeorm_1.Column(),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], FulfillmentCenters.prototype, "countryCode", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
typeorm_1.Column({
|
|
43
|
+
nullable: true
|
|
44
|
+
}),
|
|
45
|
+
__metadata("design:type", String)
|
|
46
|
+
], FulfillmentCenters.prototype, "status", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
typeorm_1.Column(),
|
|
49
|
+
__metadata("design:type", String)
|
|
50
|
+
], FulfillmentCenters.prototype, "name", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
typeorm_1.Column({
|
|
53
|
+
nullable: true
|
|
54
|
+
}),
|
|
55
|
+
__metadata("design:type", String)
|
|
56
|
+
], FulfillmentCenters.prototype, "accessInfo", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
typeorm_1.Column({
|
|
59
|
+
nullable: true
|
|
60
|
+
}),
|
|
61
|
+
__metadata("design:type", String)
|
|
62
|
+
], FulfillmentCenters.prototype, "accessToken", void 0);
|
|
63
|
+
__decorate([
|
|
64
|
+
typeorm_1.Column({
|
|
65
|
+
nullable: true
|
|
66
|
+
}),
|
|
67
|
+
__metadata("design:type", String)
|
|
68
|
+
], FulfillmentCenters.prototype, "refreshToken", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
typeorm_1.Column({
|
|
71
|
+
nullable: true
|
|
72
|
+
}),
|
|
73
|
+
__metadata("design:type", String)
|
|
74
|
+
], FulfillmentCenters.prototype, "account", void 0);
|
|
75
|
+
__decorate([
|
|
76
|
+
typeorm_1.Column({
|
|
77
|
+
nullable: true
|
|
78
|
+
}),
|
|
79
|
+
__metadata("design:type", String)
|
|
80
|
+
], FulfillmentCenters.prototype, "description", void 0);
|
|
81
|
+
__decorate([
|
|
82
|
+
typeorm_1.CreateDateColumn(),
|
|
83
|
+
__metadata("design:type", Date)
|
|
84
|
+
], FulfillmentCenters.prototype, "createdAt", void 0);
|
|
85
|
+
__decorate([
|
|
86
|
+
typeorm_1.UpdateDateColumn(),
|
|
87
|
+
__metadata("design:type", Date)
|
|
88
|
+
], FulfillmentCenters.prototype, "updatedAt", void 0);
|
|
89
|
+
__decorate([
|
|
90
|
+
typeorm_1.ManyToOne(type => auth_base_1.User, {
|
|
91
|
+
nullable: true
|
|
92
|
+
}),
|
|
93
|
+
__metadata("design:type", typeof (_b = typeof auth_base_1.User !== "undefined" && auth_base_1.User) === "function" ? _b : Object)
|
|
94
|
+
], FulfillmentCenters.prototype, "creator", void 0);
|
|
95
|
+
__decorate([
|
|
96
|
+
typeorm_1.ManyToOne(type => auth_base_1.User, {
|
|
97
|
+
nullable: true
|
|
98
|
+
}),
|
|
99
|
+
__metadata("design:type", typeof (_c = typeof auth_base_1.User !== "undefined" && auth_base_1.User) === "function" ? _c : Object)
|
|
100
|
+
], FulfillmentCenters.prototype, "updater", void 0);
|
|
101
|
+
FulfillmentCenters = __decorate([
|
|
102
|
+
typeorm_1.Entity(),
|
|
103
|
+
typeorm_1.Index('ix_fulfillment-centers_0', (fulfillmentCenters) => [fulfillmentCenters.domain, fulfillmentCenters.name], { unique: true })
|
|
104
|
+
], FulfillmentCenters);
|
|
105
|
+
exports.FulfillmentCenters = FulfillmentCenters;
|
|
106
|
+
//# sourceMappingURL=fulfillment-centers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fulfillment-centers.js","sourceRoot":"","sources":["../../server/entities/fulfillment-centers.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,yDAAg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C1B,CAAC,kBAAsC,EAAE,EAAE,CAAC,CAAC,kBAAkB,CAAC,MAAM,EAAE,kBAAkB,CAAC,IAAI,CAAC,EAChG,EAAE,MAAM,EAAE,IAAI,EAAE,CACjB;GACY,kBAAkB,CAkE9B;AAlEY,gDAAkB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/integration-fulfillment",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.22",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -25,17 +25,17 @@
|
|
|
25
25
|
"test": "DEBUG=things-factory:* NODE_ENV=development npx mocha -r ts-node/register ./test/**/*spec.ts"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@things-factory/apptool-ui": "^4.0.
|
|
29
|
-
"@things-factory/auth-ui": "^4.0.
|
|
30
|
-
"@things-factory/biz-base": "^4.0.
|
|
31
|
-
"@things-factory/context-ui": "^4.0.
|
|
32
|
-
"@things-factory/grist-ui": "^4.0.
|
|
33
|
-
"@things-factory/i18n-ui": "^4.0.
|
|
34
|
-
"@things-factory/integration-ui": "^4.0.
|
|
35
|
-
"@things-factory/more-ui": "^4.0.
|
|
36
|
-
"@things-factory/resource-ui": "^4.0.
|
|
37
|
-
"@things-factory/setting-ui": "^4.0.
|
|
38
|
-
"@things-factory/system-ui": "^4.0.
|
|
28
|
+
"@things-factory/apptool-ui": "^4.0.22",
|
|
29
|
+
"@things-factory/auth-ui": "^4.0.22",
|
|
30
|
+
"@things-factory/biz-base": "^4.0.22",
|
|
31
|
+
"@things-factory/context-ui": "^4.0.22",
|
|
32
|
+
"@things-factory/grist-ui": "^4.0.22",
|
|
33
|
+
"@things-factory/i18n-ui": "^4.0.22",
|
|
34
|
+
"@things-factory/integration-ui": "^4.0.22",
|
|
35
|
+
"@things-factory/more-ui": "^4.0.22",
|
|
36
|
+
"@things-factory/resource-ui": "^4.0.22",
|
|
37
|
+
"@things-factory/setting-ui": "^4.0.22",
|
|
38
|
+
"@things-factory/system-ui": "^4.0.22",
|
|
39
39
|
"debug": "^4.1.1",
|
|
40
40
|
"node-fetch": "^2.6.0"
|
|
41
41
|
},
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"nock": "^13.0.2",
|
|
51
51
|
"should": "^13.2.3"
|
|
52
52
|
},
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "8267638c3bd77dfc8fa9629b490d681c6854e423"
|
|
54
54
|
}
|