@partium/js-sdk 15.19.0 → 15.20.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.
@@ -30,6 +30,15 @@ export declare enum PartDataSupplierDiscoveryStatus {
30
30
  ERROR = "error",
31
31
  NO_DATA = "no_data"
32
32
  }
33
+ /**
34
+ * Machine-readable code describing why the latest part-data job did not produce results for a part.
35
+ */
36
+ export declare enum PartDataPartErrorCode {
37
+ /**
38
+ * The part had no usable UPIs (identifiers) needed for the job.
39
+ */
40
+ NO_UPIS_AVAILABLE = "no_upis_available"
41
+ }
33
42
  /**
34
43
  * The supplier discovery data of a part.
35
44
  */
@@ -46,6 +55,11 @@ export interface PartDataSupplierDiscoveryResponse {
46
55
  * The timestamp of the latest supplier discovery execution.
47
56
  */
48
57
  lastExecutedAt: string | null;
58
+ /**
59
+ * Code describing why the latest supplier discovery job did not produce results for the part,
60
+ * when applicable.
61
+ */
62
+ errorCode?: PartDataPartErrorCode | null;
49
63
  }
50
64
  /**
51
65
  * The identifiers status of the part data.
@@ -164,6 +178,11 @@ export interface PartDataAttributesResponse {
164
178
  * The timestamp of the latest enrichment execution.
165
179
  */
166
180
  lastExecutedAt: string | null;
181
+ /**
182
+ * Code describing why the latest enrichment job did not produce results for the part,
183
+ * when applicable.
184
+ */
185
+ errorCode?: PartDataPartErrorCode | null;
167
186
  }
168
187
  /**
169
188
  * The data of a part.
@@ -1,2 +1,2 @@
1
1
  // Copyright © 2022-2026 Partium, Inc. DBA Partium
2
- "use strict";var PartDataSupplierDiscoveryStatus,PartDataIdentifiersStatus,PartDataIdentifierLabel,PartDataIdentifierOrigin,PartDataEnrichmentStatus;Object.defineProperty(exports,"__esModule",{value:!0}),exports.PartDataEnrichmentStatus=exports.PartDataIdentifierOrigin=exports.PartDataIdentifierLabel=exports.PartDataIdentifiersStatus=exports.PartDataSupplierDiscoveryStatus=void 0,function(t){t.NOT_TRIGGERED="not_triggered",t.IN_PROGRESS="in_progress",t.COMPLETED="completed",t.ERROR="error",t.NO_DATA="no_data"}(PartDataSupplierDiscoveryStatus||(exports.PartDataSupplierDiscoveryStatus=PartDataSupplierDiscoveryStatus={})),function(t){t.NOT_REQUESTED="not_requested",t.SUCCESS="success"}(PartDataIdentifiersStatus||(exports.PartDataIdentifiersStatus=PartDataIdentifiersStatus={})),function(t){t.UPC="upc",t.SUPPLIER_NAME="supplier_name",t.SUPPLIER_ID="supplier_id",t.STANDARD="standard",t.SKU="sku",t.SERIAL_NUMBER="serial_number",t.OPM_NAME="opm_name",t.OPM_ID="opm_id",t.OEM_NAME="oem_name",t.OEM_ID="oem_id",t.MANUFACTURER_PART_NUMBER="manufacturer_part_number",t.MANUFACTURER_NAME="manufacturer_name",t.IDENTIFIER="identifier",t.EAN="ean",t.ARTICLE_BRAND="article_brand",t.ARTICLE_NUMBER="article_number"}(PartDataIdentifierLabel||(exports.PartDataIdentifierLabel=PartDataIdentifierLabel={})),function(t){t.INGESTED="ingested",t.EXTRACTED_FROM_PART_DATA="extracted_from_part_data",t.EXTRACTED_FROM_ENRICHMENT="extracted_from_enrichment"}(PartDataIdentifierOrigin||(exports.PartDataIdentifierOrigin=PartDataIdentifierOrigin={})),function(t){t.NOT_TRIGGERED="not_triggered",t.IN_PROGRESS="in_progress",t.COMPLETED="completed",t.ERROR="error",t.NO_RESULTS="no_results"}(PartDataEnrichmentStatus||(exports.PartDataEnrichmentStatus=PartDataEnrichmentStatus={}));
2
+ "use strict";var PartDataSupplierDiscoveryStatus,PartDataPartErrorCode,PartDataIdentifiersStatus,PartDataIdentifierLabel,PartDataIdentifierOrigin,PartDataEnrichmentStatus;Object.defineProperty(exports,"__esModule",{value:!0}),exports.PartDataEnrichmentStatus=exports.PartDataIdentifierOrigin=exports.PartDataIdentifierLabel=exports.PartDataIdentifiersStatus=exports.PartDataPartErrorCode=exports.PartDataSupplierDiscoveryStatus=void 0,function(t){t.NOT_TRIGGERED="not_triggered",t.IN_PROGRESS="in_progress",t.COMPLETED="completed",t.ERROR="error",t.NO_DATA="no_data"}(PartDataSupplierDiscoveryStatus||(exports.PartDataSupplierDiscoveryStatus=PartDataSupplierDiscoveryStatus={})),function(t){t.NO_UPIS_AVAILABLE="no_upis_available"}(PartDataPartErrorCode||(exports.PartDataPartErrorCode=PartDataPartErrorCode={})),function(t){t.NOT_REQUESTED="not_requested",t.SUCCESS="success"}(PartDataIdentifiersStatus||(exports.PartDataIdentifiersStatus=PartDataIdentifiersStatus={})),function(t){t.UPC="upc",t.SUPPLIER_NAME="supplier_name",t.SUPPLIER_ID="supplier_id",t.STANDARD="standard",t.SKU="sku",t.SERIAL_NUMBER="serial_number",t.OPM_NAME="opm_name",t.OPM_ID="opm_id",t.OEM_NAME="oem_name",t.OEM_ID="oem_id",t.MANUFACTURER_PART_NUMBER="manufacturer_part_number",t.MANUFACTURER_NAME="manufacturer_name",t.IDENTIFIER="identifier",t.EAN="ean",t.ARTICLE_BRAND="article_brand",t.ARTICLE_NUMBER="article_number"}(PartDataIdentifierLabel||(exports.PartDataIdentifierLabel=PartDataIdentifierLabel={})),function(t){t.INGESTED="ingested",t.EXTRACTED_FROM_PART_DATA="extracted_from_part_data",t.EXTRACTED_FROM_ENRICHMENT="extracted_from_enrichment"}(PartDataIdentifierOrigin||(exports.PartDataIdentifierOrigin=PartDataIdentifierOrigin={})),function(t){t.NOT_TRIGGERED="not_triggered",t.IN_PROGRESS="in_progress",t.COMPLETED="completed",t.ERROR="error",t.NO_RESULTS="no_results"}(PartDataEnrichmentStatus||(exports.PartDataEnrichmentStatus=PartDataEnrichmentStatus={}));
@@ -1,2 +1,2 @@
1
1
  // Copyright © 2022-2026 Partium, Inc. DBA Partium
2
- export declare const SDK_VERSION_NUMBER = "15.19.0";
2
+ export declare const SDK_VERSION_NUMBER = "15.20.0";
@@ -1,2 +1,2 @@
1
1
  // Copyright © 2022-2026 Partium, Inc. DBA Partium
2
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.SDK_VERSION_NUMBER=void 0,exports.SDK_VERSION_NUMBER="15.19.0";
2
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.SDK_VERSION_NUMBER=void 0,exports.SDK_VERSION_NUMBER="15.20.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@partium/js-sdk",
3
- "version": "15.19.0",
3
+ "version": "15.20.0",
4
4
  "author": "Partium Inc.",
5
5
  "license": "See LICENSE.txt",
6
6
  "description": "The Partium Find SDK enables integration of Partium’s parts and materials search capabilities into JavaScript-based applications.",