@partium/js-sdk 15.0.0 → 15.1.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.
package/data/index.d.ts
CHANGED
|
@@ -16,6 +16,9 @@ export * from './models/announcement';
|
|
|
16
16
|
export * from './models/inquiry';
|
|
17
17
|
export * from './models/mounting-location';
|
|
18
18
|
export * from './models/part-enrichment-data';
|
|
19
|
+
export * from './models/get-part-data-request';
|
|
20
|
+
export * from './models/get-part-data-response';
|
|
21
|
+
export * from './models/part-data';
|
|
19
22
|
export * from './services/part.service';
|
|
20
23
|
export * from './services/part-enrichment.service';
|
|
21
24
|
export * from './services/related-parts.service';
|
package/data/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Copyright © 2022-2026 Partium, Inc. DBA Partium
|
|
2
|
-
"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(e,r,t,s){void 0===s&&(s=t);var o=Object.getOwnPropertyDescriptor(r,t);o&&!("get"in o?!r.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return r[t]}}),Object.defineProperty(e,s,o)}:function(e,r,t,s){void 0===s&&(s=t),e[s]=r[t]}),__exportStar=this&&this.__exportStar||function(e,r){for(var t in e)"default"===t||Object.prototype.hasOwnProperty.call(r,t)||__createBinding(r,e,t)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(require("./models/part"),exports),__exportStar(require("./models/document"),exports),__exportStar(require("./models/assembly-hierarchy-node"),exports),__exportStar(require("./models/assembly-hierarchy-node-breadcrumb"),exports),__exportStar(require("./models/image"),exports),__exportStar(require("./models/attribute"),exports),__exportStar(require("./models/csa-request"),exports),__exportStar(require("./models/csa-request-status"),exports),__exportStar(require("./models/filter-key"),exports),__exportStar(require("./models/filter-option-value"),exports),__exportStar(require("./models/shopping-cart"),exports),__exportStar(require("./models/multiple-expert-searches"),exports),__exportStar(require("./models/csa-request-search"),exports),__exportStar(require("./models/announcement"),exports),__exportStar(require("./models/inquiry"),exports),__exportStar(require("./models/mounting-location"),exports),__exportStar(require("./models/part-enrichment-data"),exports),__exportStar(require("./services/part.service"),exports),__exportStar(require("./services/part-enrichment.service"),exports),__exportStar(require("./services/related-parts.service"),exports),__exportStar(require("./services/assembly-hierarchy-nodes.service"),exports),__exportStar(require("./services/part-attribute.service"),exports),__exportStar(require("./services/customer-service-assistance.service"),exports),__exportStar(require("./services/filter.service"),exports),__exportStar(require("./services/shopping-cart.service"),exports),__exportStar(require("./services/inquiry.service"),exports),__exportStar(require("./services/announcement.service"),exports),__exportStar(require("./services/data.service"),exports);
|
|
2
|
+
"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(e,r,t,s){void 0===s&&(s=t);var o=Object.getOwnPropertyDescriptor(r,t);o&&!("get"in o?!r.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return r[t]}}),Object.defineProperty(e,s,o)}:function(e,r,t,s){void 0===s&&(s=t),e[s]=r[t]}),__exportStar=this&&this.__exportStar||function(e,r){for(var t in e)"default"===t||Object.prototype.hasOwnProperty.call(r,t)||__createBinding(r,e,t)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(require("./models/part"),exports),__exportStar(require("./models/document"),exports),__exportStar(require("./models/assembly-hierarchy-node"),exports),__exportStar(require("./models/assembly-hierarchy-node-breadcrumb"),exports),__exportStar(require("./models/image"),exports),__exportStar(require("./models/attribute"),exports),__exportStar(require("./models/csa-request"),exports),__exportStar(require("./models/csa-request-status"),exports),__exportStar(require("./models/filter-key"),exports),__exportStar(require("./models/filter-option-value"),exports),__exportStar(require("./models/shopping-cart"),exports),__exportStar(require("./models/multiple-expert-searches"),exports),__exportStar(require("./models/csa-request-search"),exports),__exportStar(require("./models/announcement"),exports),__exportStar(require("./models/inquiry"),exports),__exportStar(require("./models/mounting-location"),exports),__exportStar(require("./models/part-enrichment-data"),exports),__exportStar(require("./models/get-part-data-request"),exports),__exportStar(require("./models/get-part-data-response"),exports),__exportStar(require("./models/part-data"),exports),__exportStar(require("./services/part.service"),exports),__exportStar(require("./services/part-enrichment.service"),exports),__exportStar(require("./services/related-parts.service"),exports),__exportStar(require("./services/assembly-hierarchy-nodes.service"),exports),__exportStar(require("./services/part-attribute.service"),exports),__exportStar(require("./services/customer-service-assistance.service"),exports),__exportStar(require("./services/filter.service"),exports),__exportStar(require("./services/shopping-cart.service"),exports),__exportStar(require("./services/inquiry.service"),exports),__exportStar(require("./services/announcement.service"),exports),__exportStar(require("./services/data.service"),exports);
|
|
@@ -20,6 +20,102 @@ export interface PartDataImage {
|
|
|
20
20
|
*/
|
|
21
21
|
expireAt: string;
|
|
22
22
|
}
|
|
23
|
+
/**
|
|
24
|
+
* The supplier discovery status of the part data.
|
|
25
|
+
*/
|
|
26
|
+
export declare enum PartDataSupplierDiscoveryStatus {
|
|
27
|
+
NOT_REQUESTED = "not_requested",
|
|
28
|
+
IN_PROGRESS = "in_progress",
|
|
29
|
+
SUCCESS = "success",
|
|
30
|
+
ERROR = "error"
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* The supplier discovery data of a part.
|
|
34
|
+
*/
|
|
35
|
+
export interface PartDataSupplierDiscoveryResponse {
|
|
36
|
+
/**
|
|
37
|
+
* The status of supplier discovery for the part.
|
|
38
|
+
*/
|
|
39
|
+
supplierDiscoveryStatus: PartDataSupplierDiscoveryStatus;
|
|
40
|
+
/**
|
|
41
|
+
* The supplier discovery data for the part.
|
|
42
|
+
*/
|
|
43
|
+
supplierDiscoveryData: string | null;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* The identifiers status of the part data.
|
|
47
|
+
*/
|
|
48
|
+
export declare enum PartDataIdentifiersStatus {
|
|
49
|
+
NOT_REQUESTED = "not_requested",
|
|
50
|
+
SUCCESS = "success"
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* The identifiers label of a part.
|
|
54
|
+
*/
|
|
55
|
+
export declare enum PartDataIdentifierLabel {
|
|
56
|
+
UPC = "upc",
|
|
57
|
+
SUPPLIER_NAME = "supplier_name",
|
|
58
|
+
SUPPLIER_ID = "supplier_id",
|
|
59
|
+
STANDARD = "standard",
|
|
60
|
+
SKU = "sku",
|
|
61
|
+
SERIAL_NUMBER = "serial_number",
|
|
62
|
+
OPM_NAME = "opm_name",
|
|
63
|
+
OPM_ID = "opm_id",
|
|
64
|
+
OEM_NAME = "oem_name",
|
|
65
|
+
OEM_ID = "oem_id",
|
|
66
|
+
MANUFACTURER_PART_NUMBER = "manufacturer_part_number",
|
|
67
|
+
MANUFACTURER_NAME = "manufacturer_name",
|
|
68
|
+
IDENTIFIER = "identifier",
|
|
69
|
+
EAN = "ean",
|
|
70
|
+
ARTICLE_BRAND = "article_brand",
|
|
71
|
+
ARTICLE_NUMBER = "article_number"
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* The identifiers origin of a part.
|
|
75
|
+
*/
|
|
76
|
+
export declare enum PartDataIdentifierOrigin {
|
|
77
|
+
INGESTED = "ingested",
|
|
78
|
+
EXTRACTED_FROM_PART_DATA = "extracted_from_part_data",
|
|
79
|
+
EXTRACTED_FROM_ENRICHMENT = "extracted_from_enrichment"
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* The identifier entry for a part.
|
|
83
|
+
*/
|
|
84
|
+
export interface PartDataIdentifierEntry {
|
|
85
|
+
/**
|
|
86
|
+
* The unique part identifier.
|
|
87
|
+
*/
|
|
88
|
+
upi: string;
|
|
89
|
+
/**
|
|
90
|
+
* The labels for the identifier.
|
|
91
|
+
*/
|
|
92
|
+
labels: PartDataIdentifierLabel[];
|
|
93
|
+
/**
|
|
94
|
+
* The origin of the identifier.
|
|
95
|
+
*/
|
|
96
|
+
origin: PartDataIdentifierOrigin;
|
|
97
|
+
/**
|
|
98
|
+
* The article brand for the identifier.
|
|
99
|
+
*/
|
|
100
|
+
articleBrand?: string | null;
|
|
101
|
+
/**
|
|
102
|
+
* The article number for the identifier.
|
|
103
|
+
*/
|
|
104
|
+
articleNumber?: string | null;
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* The identifiers data of a part.
|
|
108
|
+
*/
|
|
109
|
+
export interface PartDataIdentifiersResponse {
|
|
110
|
+
/**
|
|
111
|
+
* The status of identifiers for the part.
|
|
112
|
+
*/
|
|
113
|
+
identifiersStatus: PartDataIdentifiersStatus;
|
|
114
|
+
/**
|
|
115
|
+
* The identifiers for the part.
|
|
116
|
+
*/
|
|
117
|
+
identifiers: PartDataIdentifierEntry[];
|
|
118
|
+
}
|
|
23
119
|
/**
|
|
24
120
|
* The data of a part.
|
|
25
121
|
*/
|
|
@@ -36,4 +132,12 @@ export interface PartData {
|
|
|
36
132
|
* The images of the part.
|
|
37
133
|
*/
|
|
38
134
|
images?: PartDataImage[];
|
|
135
|
+
/**
|
|
136
|
+
* The supplier discovery data of the part.
|
|
137
|
+
*/
|
|
138
|
+
supplierDiscovery?: PartDataSupplierDiscoveryResponse;
|
|
139
|
+
/**
|
|
140
|
+
* The identifiers data of the part.
|
|
141
|
+
*/
|
|
142
|
+
identifiers?: PartDataIdentifiersResponse;
|
|
39
143
|
}
|
package/data/models/part-data.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Copyright © 2022-2026 Partium, Inc. DBA Partium
|
|
2
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});
|
|
2
|
+
"use strict";var PartDataSupplierDiscoveryStatus,PartDataIdentifiersStatus,PartDataIdentifierLabel,PartDataIdentifierOrigin;Object.defineProperty(exports,"__esModule",{value:!0}),exports.PartDataIdentifierOrigin=exports.PartDataIdentifierLabel=exports.PartDataIdentifiersStatus=exports.PartDataSupplierDiscoveryStatus=void 0,function(t){t.NOT_REQUESTED="not_requested",t.IN_PROGRESS="in_progress",t.SUCCESS="success",t.ERROR="error"}(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={}));
|
package/gen/sdk-version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Copyright © 2022-2026 Partium, Inc. DBA Partium
|
|
2
|
-
export declare const SDK_VERSION_NUMBER = "15.
|
|
2
|
+
export declare const SDK_VERSION_NUMBER = "15.1.0";
|
package/gen/sdk-version.js
CHANGED
|
@@ -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.
|
|
2
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.SDK_VERSION_NUMBER=void 0,exports.SDK_VERSION_NUMBER="15.1.0";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@partium/js-sdk",
|
|
3
|
-
"version": "15.
|
|
3
|
+
"version": "15.1.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.",
|