merchi_sdk_ts 1.6.7 → 1.6.9
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/entities/company.js +68 -0
- package/dist/entity.js +3 -0
- package/package.json +1 -1
- package/src/entities/company.ts +51 -0
- package/src/entity.ts +4 -0
package/dist/entities/company.js
CHANGED
|
@@ -118,6 +118,74 @@ var Company = /** @class */ (function (_super) {
|
|
|
118
118
|
Company.property({ type: String }),
|
|
119
119
|
__metadata("design:type", String)
|
|
120
120
|
], Company.prototype, "unltdAiApiSecretKey", void 0);
|
|
121
|
+
__decorate([
|
|
122
|
+
Company.property({ type: String }),
|
|
123
|
+
__metadata("design:type", String)
|
|
124
|
+
], Company.prototype, "australiaPostApiKey", void 0);
|
|
125
|
+
__decorate([
|
|
126
|
+
Company.property({ type: String }),
|
|
127
|
+
__metadata("design:type", String)
|
|
128
|
+
], Company.prototype, "australiaPostPassword", void 0);
|
|
129
|
+
__decorate([
|
|
130
|
+
Company.property({ type: String }),
|
|
131
|
+
__metadata("design:type", String)
|
|
132
|
+
], Company.prototype, "startrackApiKey", void 0);
|
|
133
|
+
__decorate([
|
|
134
|
+
Company.property({ type: String }),
|
|
135
|
+
__metadata("design:type", String)
|
|
136
|
+
], Company.prototype, "startrackPassword", void 0);
|
|
137
|
+
__decorate([
|
|
138
|
+
Company.property({ type: String }),
|
|
139
|
+
__metadata("design:type", String)
|
|
140
|
+
], Company.prototype, "dhlApiKey", void 0);
|
|
141
|
+
__decorate([
|
|
142
|
+
Company.property({ type: String }),
|
|
143
|
+
__metadata("design:type", String)
|
|
144
|
+
], Company.prototype, "dhlApiSecret", void 0);
|
|
145
|
+
__decorate([
|
|
146
|
+
Company.property({ type: String }),
|
|
147
|
+
__metadata("design:type", String)
|
|
148
|
+
], Company.prototype, "fedexApiKey", void 0);
|
|
149
|
+
__decorate([
|
|
150
|
+
Company.property({ type: String }),
|
|
151
|
+
__metadata("design:type", String)
|
|
152
|
+
], Company.prototype, "fedexApiSecret", void 0);
|
|
153
|
+
__decorate([
|
|
154
|
+
Company.property({ type: String }),
|
|
155
|
+
__metadata("design:type", String)
|
|
156
|
+
], Company.prototype, "upsClientId", void 0);
|
|
157
|
+
__decorate([
|
|
158
|
+
Company.property({ type: String }),
|
|
159
|
+
__metadata("design:type", String)
|
|
160
|
+
], Company.prototype, "upsClientSecret", void 0);
|
|
161
|
+
__decorate([
|
|
162
|
+
Company.property({ type: String }),
|
|
163
|
+
__metadata("design:type", String)
|
|
164
|
+
], Company.prototype, "uspsApiKey", void 0);
|
|
165
|
+
__decorate([
|
|
166
|
+
Company.property({ type: String }),
|
|
167
|
+
__metadata("design:type", String)
|
|
168
|
+
], Company.prototype, "tntApiKey", void 0);
|
|
169
|
+
__decorate([
|
|
170
|
+
Company.property({ type: String }),
|
|
171
|
+
__metadata("design:type", String)
|
|
172
|
+
], Company.prototype, "tntApiSecret", void 0);
|
|
173
|
+
__decorate([
|
|
174
|
+
Company.property({ type: String }),
|
|
175
|
+
__metadata("design:type", String)
|
|
176
|
+
], Company.prototype, "aramexAccountNumber", void 0);
|
|
177
|
+
__decorate([
|
|
178
|
+
Company.property({ type: String }),
|
|
179
|
+
__metadata("design:type", String)
|
|
180
|
+
], Company.prototype, "aramexApiKey", void 0);
|
|
181
|
+
__decorate([
|
|
182
|
+
Company.property({ type: String }),
|
|
183
|
+
__metadata("design:type", String)
|
|
184
|
+
], Company.prototype, "aramexApiSecret", void 0);
|
|
185
|
+
__decorate([
|
|
186
|
+
Company.property({ type: String }),
|
|
187
|
+
__metadata("design:type", String)
|
|
188
|
+
], Company.prototype, "nzPostApiKey", void 0);
|
|
121
189
|
__decorate([
|
|
122
190
|
Company.property({ type: String }),
|
|
123
191
|
__metadata("design:type", String)
|
package/dist/entity.js
CHANGED
|
@@ -629,6 +629,9 @@ var Entity = /** @class */ (function () {
|
|
|
629
629
|
if (options.tab !== undefined) {
|
|
630
630
|
fetchOptions.query.push(['tab', options.tab]);
|
|
631
631
|
}
|
|
632
|
+
if (options.trackingNumber !== undefined) {
|
|
633
|
+
fetchOptions.query.push(['tracking_number', options.trackingNumber]);
|
|
634
|
+
}
|
|
632
635
|
if (options.as !== undefined) {
|
|
633
636
|
fetchOptions.query.push(['as', options.as]);
|
|
634
637
|
}
|
package/package.json
CHANGED
package/src/entities/company.ts
CHANGED
|
@@ -88,6 +88,57 @@ export class Company extends Entity {
|
|
|
88
88
|
@Company.property({type: String})
|
|
89
89
|
public unltdAiApiSecretKey?: string;
|
|
90
90
|
|
|
91
|
+
@Company.property({type: String})
|
|
92
|
+
public australiaPostApiKey?: string;
|
|
93
|
+
|
|
94
|
+
@Company.property({type: String})
|
|
95
|
+
public australiaPostPassword?: string;
|
|
96
|
+
|
|
97
|
+
@Company.property({type: String})
|
|
98
|
+
public startrackApiKey?: string;
|
|
99
|
+
|
|
100
|
+
@Company.property({type: String})
|
|
101
|
+
public startrackPassword?: string;
|
|
102
|
+
|
|
103
|
+
@Company.property({type: String})
|
|
104
|
+
public dhlApiKey?: string;
|
|
105
|
+
|
|
106
|
+
@Company.property({type: String})
|
|
107
|
+
public dhlApiSecret?: string;
|
|
108
|
+
|
|
109
|
+
@Company.property({type: String})
|
|
110
|
+
public fedexApiKey?: string;
|
|
111
|
+
|
|
112
|
+
@Company.property({type: String})
|
|
113
|
+
public fedexApiSecret?: string;
|
|
114
|
+
|
|
115
|
+
@Company.property({type: String})
|
|
116
|
+
public upsClientId?: string;
|
|
117
|
+
|
|
118
|
+
@Company.property({type: String})
|
|
119
|
+
public upsClientSecret?: string;
|
|
120
|
+
|
|
121
|
+
@Company.property({type: String})
|
|
122
|
+
public uspsApiKey?: string;
|
|
123
|
+
|
|
124
|
+
@Company.property({type: String})
|
|
125
|
+
public tntApiKey?: string;
|
|
126
|
+
|
|
127
|
+
@Company.property({type: String})
|
|
128
|
+
public tntApiSecret?: string;
|
|
129
|
+
|
|
130
|
+
@Company.property({type: String})
|
|
131
|
+
public aramexAccountNumber?: string;
|
|
132
|
+
|
|
133
|
+
@Company.property({type: String})
|
|
134
|
+
public aramexApiKey?: string;
|
|
135
|
+
|
|
136
|
+
@Company.property({type: String})
|
|
137
|
+
public aramexApiSecret?: string;
|
|
138
|
+
|
|
139
|
+
@Company.property({type: String})
|
|
140
|
+
public nzPostApiKey?: string;
|
|
141
|
+
|
|
91
142
|
@Company.property({type: String})
|
|
92
143
|
public internalUseNotes?: string;
|
|
93
144
|
|
package/src/entity.ts
CHANGED
|
@@ -150,6 +150,7 @@ interface ListOptions {
|
|
|
150
150
|
supplierResellOnly?: boolean;
|
|
151
151
|
tab?: string;
|
|
152
152
|
tags?: number[];
|
|
153
|
+
trackingNumber?: string;
|
|
153
154
|
tagsInternal?: number[];
|
|
154
155
|
excludeTags?: number[];
|
|
155
156
|
excludeTagsInternal?: number[];
|
|
@@ -430,6 +431,9 @@ export class Entity {
|
|
|
430
431
|
if (options.tab !== undefined) {
|
|
431
432
|
fetchOptions.query.push(['tab', options.tab]);
|
|
432
433
|
}
|
|
434
|
+
if (options.trackingNumber !== undefined) {
|
|
435
|
+
fetchOptions.query.push(['tracking_number', options.trackingNumber]);
|
|
436
|
+
}
|
|
433
437
|
if (options.as !== undefined) {
|
|
434
438
|
fetchOptions.query.push(['as', options.as]);
|
|
435
439
|
}
|