randmar-api-client 1.10.0 → 1.11.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
- body: any;
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;
@@ -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
  }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "randmar-api-client",
3
- "version": "1.10.0",
3
+ "version": "1.11.0",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",