@merchi/sdk 1.42.27 → 1.42.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.
- package/dist/constants/shipment_services.d.ts +2 -1
- package/dist/constants/shipment_services.js +1 -0
- package/dist/constants/shipment_services.test.js +3 -0
- package/dist/entities/company.d.ts +1 -0
- package/dist/entities/company.js +4 -0
- package/dist/entities/shipment_method.d.ts +1 -0
- package/dist/entities/shipment_method.js +4 -0
- package/package.json +1 -1
- package/src/constants/shipment_services.test.ts +4 -0
- package/src/constants/shipment_services.ts +1 -0
- package/src/entities/company.ts +3 -0
- package/src/entities/shipment_method.ts +3 -0
|
@@ -3,4 +3,5 @@ export var ShipmentService;
|
|
|
3
3
|
ShipmentService[ShipmentService["SENDLE"] = 1] = "SENDLE";
|
|
4
4
|
ShipmentService[ShipmentService["AUSTRALIA_POST"] = 2] = "AUSTRALIA_POST";
|
|
5
5
|
ShipmentService[ShipmentService["STARTRACK"] = 3] = "STARTRACK";
|
|
6
|
+
ShipmentService[ShipmentService["DHL_EXPRESS"] = 4] = "DHL_EXPRESS";
|
|
6
7
|
})(ShipmentService || (ShipmentService = {}));
|
package/dist/entities/company.js
CHANGED
|
@@ -212,6 +212,10 @@ var Company = /** @class */ (function (_super) {
|
|
|
212
212
|
Company.property({ type: String }),
|
|
213
213
|
__metadata("design:type", String)
|
|
214
214
|
], Company.prototype, "dhlApiSecret", void 0);
|
|
215
|
+
__decorate([
|
|
216
|
+
Company.property({ type: String }),
|
|
217
|
+
__metadata("design:type", String)
|
|
218
|
+
], Company.prototype, "dhlAccountNumber", void 0);
|
|
215
219
|
__decorate([
|
|
216
220
|
Company.property(),
|
|
217
221
|
__metadata("design:type", Boolean)
|
|
@@ -63,6 +63,10 @@ var ShipmentMethod = /** @class */ (function (_super) {
|
|
|
63
63
|
ShipmentMethod.property(),
|
|
64
64
|
__metadata("design:type", Boolean)
|
|
65
65
|
], ShipmentMethod.prototype, "companyDefault", void 0);
|
|
66
|
+
__decorate([
|
|
67
|
+
ShipmentMethod.property(),
|
|
68
|
+
__metadata("design:type", Number)
|
|
69
|
+
], ShipmentMethod.prototype, "position", void 0);
|
|
66
70
|
__decorate([
|
|
67
71
|
ShipmentMethod.property(),
|
|
68
72
|
__metadata("design:type", Number)
|
package/package.json
CHANGED
package/src/entities/company.ts
CHANGED
|
@@ -126,6 +126,9 @@ export class Company extends Entity {
|
|
|
126
126
|
@Company.property({type: String})
|
|
127
127
|
public dhlApiSecret?: string;
|
|
128
128
|
|
|
129
|
+
@Company.property({type: String})
|
|
130
|
+
public dhlAccountNumber?: string;
|
|
131
|
+
|
|
129
132
|
@Company.property()
|
|
130
133
|
public dhlTrackingSandbox?: boolean;
|
|
131
134
|
|