randmar-api-client 1.10.0 → 1.12.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.
|
@@ -454,7 +454,7 @@ export type PostV4PartnerByApplicationIdAccountFeedbackApiArg = {
|
|
|
454
454
|
/** The email address to receive the response. */
|
|
455
455
|
emailAddress?: string;
|
|
456
456
|
/** The feedback or comment text. */
|
|
457
|
-
|
|
457
|
+
comment?: string;
|
|
458
458
|
};
|
|
459
459
|
export type PostV4PartnerByApplicationIdAccountDebugFeedbackApiResponse = unknown;
|
|
460
460
|
export type PostV4PartnerByApplicationIdAccountDebugFeedbackApiArg = {
|
|
@@ -1360,9 +1360,13 @@ export type PutV4ManufacturerByRouteManufacturerIdProductApiArg = {
|
|
|
1360
1360
|
};
|
|
1361
1361
|
export type PostV4ManufacturerByRouteManufacturerIdProductAndProductNumberFieldNameApiResponse = unknown;
|
|
1362
1362
|
export type PostV4ManufacturerByRouteManufacturerIdProductAndProductNumberFieldNameApiArg = {
|
|
1363
|
+
/** The application ID of the requestor. */
|
|
1363
1364
|
routeManufacturerId: string;
|
|
1365
|
+
/** The Randmar SKU, MPN or UPC of the product to edit. */
|
|
1364
1366
|
productNumber: string;
|
|
1367
|
+
/** The name of the product field to edit. Case-sensitive, so use the field name as seen in the JSON received from API. */
|
|
1365
1368
|
fieldName: string;
|
|
1369
|
+
/** The new value for the field. */
|
|
1366
1370
|
newValue?: string;
|
|
1367
1371
|
};
|
|
1368
1372
|
export type PostV4ManufacturerByRouteManufacturerIdProductAndProductNumberBodyHtmlApiResponse = unknown;
|
|
@@ -2193,6 +2197,12 @@ export type SalesData = {
|
|
|
2193
2197
|
ManufacturerId?: string | null;
|
|
2194
2198
|
ResellerId?: string | null;
|
|
2195
2199
|
};
|
|
2200
|
+
export type SalesStatistic = {
|
|
2201
|
+
Day?: number;
|
|
2202
|
+
ExtendedPrice?: number;
|
|
2203
|
+
Quantity?: number;
|
|
2204
|
+
RandmarSKU?: string | null;
|
|
2205
|
+
};
|
|
2196
2206
|
export type Manufacturer = {
|
|
2197
2207
|
AutoUpdate?: boolean;
|
|
2198
2208
|
OpenToWork?: boolean;
|
|
@@ -2237,6 +2247,7 @@ export type Manufacturer = {
|
|
|
2237
2247
|
TermsCode?: string | null;
|
|
2238
2248
|
Website?: string | null;
|
|
2239
2249
|
YoutubePlaylist?: string | null;
|
|
2250
|
+
SalesStatistics?: SalesStatistic[] | null;
|
|
2240
2251
|
};
|
|
2241
2252
|
export type OrderDetail = {
|
|
2242
2253
|
DocumentDate?: number;
|
|
@@ -2291,6 +2302,7 @@ export type Reseller = {
|
|
|
2291
2302
|
PriceProfile?: number;
|
|
2292
2303
|
ActiveOrderDetails?: OrderDetail[] | null;
|
|
2293
2304
|
Qualifications?: Qualification[] | null;
|
|
2305
|
+
SalesStatistics?: SalesStatistic[] | null;
|
|
2294
2306
|
SalesData?: SalesData;
|
|
2295
2307
|
Statement?: Statement;
|
|
2296
2308
|
About?: string | null;
|
|
@@ -2763,12 +2775,6 @@ export type Return = {
|
|
|
2763
2775
|
Status?: string | null;
|
|
2764
2776
|
WarehouseLocation?: string | null;
|
|
2765
2777
|
};
|
|
2766
|
-
export type SalesStatistic = {
|
|
2767
|
-
Day?: number;
|
|
2768
|
-
ExtendedPrice?: number;
|
|
2769
|
-
Quantity?: number;
|
|
2770
|
-
RandmarSKU?: string | null;
|
|
2771
|
-
};
|
|
2772
2778
|
export type Shipment = {
|
|
2773
2779
|
ExtendedPrice?: number;
|
|
2774
2780
|
QuantityBackOrder?: number;
|
package/dist/store/randmarApi.js
CHANGED
|
@@ -162,9 +162,9 @@ const injectedRtkApi = api.injectEndpoints({
|
|
|
162
162
|
query: (queryArg) => ({
|
|
163
163
|
url: `/V4/Partner/${queryArg.applicationId}/Account/Feedback`,
|
|
164
164
|
method: "POST",
|
|
165
|
-
body: queryArg.body,
|
|
166
165
|
params: {
|
|
167
166
|
emailAddress: queryArg.emailAddress,
|
|
167
|
+
comment: queryArg.comment,
|
|
168
168
|
},
|
|
169
169
|
}),
|
|
170
170
|
}),
|