@attlaz/client 1.135.0 → 1.136.0
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.
|
@@ -4,7 +4,8 @@ import { MatchDecisionSource } from './MatchDecisionSource.js';
|
|
|
4
4
|
export type ReviewMatchOrder = 'newest' | 'confidence_desc' | 'confidence_asc';
|
|
5
5
|
/**
|
|
6
6
|
* Narrows the review queue. Omitting `statuses` returns the pending ones. `competitor`, `gtin` and
|
|
7
|
-
* `search` apply to the competitor product; `ownSearch` matches your own product's name, GTIN or SKU
|
|
7
|
+
* `search` apply to the competitor product; `ownSearch` matches your own product's name, GTIN or SKU;
|
|
8
|
+
* `ownProduct` is one of your own vendor product ids.
|
|
8
9
|
*/
|
|
9
10
|
export type ReviewMatchFilters = {
|
|
10
11
|
statuses?: string[];
|
|
@@ -14,5 +15,6 @@ export type ReviewMatchFilters = {
|
|
|
14
15
|
gtin?: string;
|
|
15
16
|
search?: string;
|
|
16
17
|
ownSearch?: string;
|
|
18
|
+
ownProduct?: string;
|
|
17
19
|
order?: ReviewMatchOrder;
|
|
18
20
|
};
|
|
@@ -24,6 +24,9 @@ export class ProductMatchEndpoint extends Endpoint {
|
|
|
24
24
|
if (filters.ownSearch) {
|
|
25
25
|
queryString.set('own_search', filters.ownSearch);
|
|
26
26
|
}
|
|
27
|
+
if (filters.ownProduct) {
|
|
28
|
+
queryString.set('own_product', filters.ownProduct);
|
|
29
|
+
}
|
|
27
30
|
if (filters.decisionSources && filters.decisionSources.length > 0) {
|
|
28
31
|
queryString.set('decision_source', filters.decisionSources.join(','));
|
|
29
32
|
}
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "1.
|
|
1
|
+
export declare const VERSION = "1.135.0";
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = "1.
|
|
1
|
+
export const VERSION = "1.135.0";
|