merchi_sdk_ts 1.2.17 → 1.2.19
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.
|
@@ -296,6 +296,8 @@ test('can list products with options set', function () {
|
|
|
296
296
|
tab: 'job',
|
|
297
297
|
tags: [2, 3, 5],
|
|
298
298
|
tagsInternal: [2, 3, 5],
|
|
299
|
+
excludeTags: [6, 7, 8],
|
|
300
|
+
excludeTagsInternal: [6, 7, 8],
|
|
299
301
|
tagNames: ['a'],
|
|
300
302
|
teamOnly: false,
|
|
301
303
|
turnaroundTimeDays: 7,
|
package/dist/entities/user.js
CHANGED
|
@@ -243,6 +243,10 @@ var User = /** @class */ (function (_super) {
|
|
|
243
243
|
User.property(),
|
|
244
244
|
__metadata("design:type", Boolean)
|
|
245
245
|
], User.prototype, "hasStore", void 0);
|
|
246
|
+
__decorate([
|
|
247
|
+
User.property(),
|
|
248
|
+
__metadata("design:type", Boolean)
|
|
249
|
+
], User.prototype, "lastJobReceived", void 0);
|
|
246
250
|
__decorate([
|
|
247
251
|
User.property(),
|
|
248
252
|
__metadata("design:type", Boolean)
|
package/dist/entity.js
CHANGED
|
@@ -834,6 +834,12 @@ var Entity = /** @class */ (function () {
|
|
|
834
834
|
if (options.tags !== undefined) {
|
|
835
835
|
fetchOptions.query.push(['tags', options.tags.join(',')]);
|
|
836
836
|
}
|
|
837
|
+
if (options.excludeTags !== undefined) {
|
|
838
|
+
fetchOptions.query.push(['exclude_tags', options.excludeTags.join(',')]);
|
|
839
|
+
}
|
|
840
|
+
if (options.excludeTagsInternal !== undefined) {
|
|
841
|
+
fetchOptions.query.push(['exclude_tags_internal', options.excludeTagsInternal.join(',')]);
|
|
842
|
+
}
|
|
837
843
|
if (options.tagsInternal !== undefined) {
|
|
838
844
|
fetchOptions.query.push(['tags_internal', options.tagsInternal.join(',')]);
|
|
839
845
|
}
|
package/package.json
CHANGED
package/src/entities/user.ts
CHANGED
package/src/entity.ts
CHANGED
|
@@ -148,6 +148,8 @@ interface ListOptions {
|
|
|
148
148
|
tab?: string;
|
|
149
149
|
tags?: number[];
|
|
150
150
|
tagsInternal?: number[];
|
|
151
|
+
excludeTags?: number[];
|
|
152
|
+
excludeTagsInternal?: number[];
|
|
151
153
|
tagNames?: string[];
|
|
152
154
|
teamOnly?: boolean;
|
|
153
155
|
turnaroundTimeDays?: number;
|
|
@@ -633,6 +635,12 @@ export class Entity {
|
|
|
633
635
|
if (options.tags !== undefined) {
|
|
634
636
|
fetchOptions.query.push(['tags', options.tags.join(',')]);
|
|
635
637
|
}
|
|
638
|
+
if (options.excludeTags !== undefined) {
|
|
639
|
+
fetchOptions.query.push(['exclude_tags', options.excludeTags.join(',')]);
|
|
640
|
+
}
|
|
641
|
+
if (options.excludeTagsInternal !== undefined) {
|
|
642
|
+
fetchOptions.query.push(['exclude_tags_internal', options.excludeTagsInternal.join(',')]);
|
|
643
|
+
}
|
|
636
644
|
if (options.tagsInternal !== undefined) {
|
|
637
645
|
fetchOptions.query.push(['tags_internal', options.tagsInternal.join(',')]);
|
|
638
646
|
}
|