randmar-api-client 1.217.0 → 1.218.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.
@@ -3123,6 +3123,8 @@ export type PostV4ResellerByRouteResellerIdReturnAndReturnNumberDeclineApiArg =
3123
3123
  routeResellerId: string;
3124
3124
  /** The return number that is to be declined. */
3125
3125
  returnNumber: string;
3126
+ /** The optional reason for declining the return. */
3127
+ reason?: string;
3126
3128
  };
3127
3129
  export type PutV4ResellerByRouteResellerIdReturnAndReturnNumberAdminCreditApiResponse =
3128
3130
  /** status 200 Returns a result object indicating success. */ string;
@@ -2450,6 +2450,9 @@ const injectedRtkApi = api.injectEndpoints({
2450
2450
  query: (queryArg) => ({
2451
2451
  url: `/V4/Reseller/${queryArg.routeResellerId}/Return/${queryArg.returnNumber}/Decline`,
2452
2452
  method: "POST",
2453
+ params: {
2454
+ reason: queryArg.reason,
2455
+ },
2453
2456
  }),
2454
2457
  }),
2455
2458
  putV4ResellerByRouteResellerIdReturnAndReturnNumberAdminCredit: build.mutation({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "randmar-api-client",
3
- "version": "1.217.0",
3
+ "version": "1.218.0",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",