merchi_sdk_ts 1.2.18 → 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/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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "merchi_sdk_ts",
3
- "version": "1.2.18",
3
+ "version": "1.2.19",
4
4
  "main": "dist/index.js",
5
5
  "type": "module",
6
6
  "repository": "git@github.com:merchisdk/merchi_sdk_ts.git",
@@ -320,6 +320,8 @@ test('can list products with options set', () => {
320
320
  tab: 'job',
321
321
  tags: [2, 3, 5],
322
322
  tagsInternal: [2, 3, 5],
323
+ excludeTags: [6, 7, 8],
324
+ excludeTagsInternal: [6, 7, 8],
323
325
  tagNames: ['a'],
324
326
  teamOnly: false,
325
327
  turnaroundTimeDays: 7,
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
  }