reach-api-sdk 1.0.122 → 1.0.123

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/dist/reach-sdk.js CHANGED
@@ -12430,7 +12430,7 @@ const request = (config, options, axiosClient = axios) => {
12430
12430
  requestBody
12431
12431
  }) {
12432
12432
  return this.httpRequest.request({
12433
- method: "GET",
12433
+ method: "POST",
12434
12434
  url: "/api/orders/update-basket",
12435
12435
  body: requestBody,
12436
12436
  mediaType: "application/json",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "reach-api-sdk",
3
- "version": "1.0.122",
3
+ "version": "1.0.123",
4
4
  "description": "sdk for reach api",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -36291,7 +36291,7 @@ paths:
36291
36291
  schema:
36292
36292
  $ref: '#/components/schemas/ValidationResultModel'
36293
36293
  /api/orders/update-basket:
36294
- get:
36294
+ post:
36295
36295
  tags:
36296
36296
  - Orders
36297
36297
  summary: Gets an Order and includes checks to ensure it is bookable.
@@ -311,7 +311,7 @@ export class OrdersService {
311
311
  requestBody?: Order;
312
312
  }): CancelablePromise<Order> {
313
313
  return this.httpRequest.request({
314
- method: 'GET',
314
+ method: 'POST',
315
315
  url: '/api/orders/update-basket',
316
316
  body: requestBody,
317
317
  mediaType: 'application/json',