merchi_sdk_ts 1.6.8 → 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/entity.js +3 -0
- package/package.json +1 -1
- package/src/entity.ts +4 -0
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/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
|
}
|