@arrowsphere/api-client 3.186.0-rc-bdj-4 → 3.186.0-rc-bdj-5

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.
@@ -3,7 +3,7 @@ import { GetResult } from '../getResult';
3
3
  import { DataListOrders } from './entities/dataListOrders';
4
4
  import { ReferenceLink } from './entities/referenceLink';
5
5
  import { UpdateOrderResult } from './entities/orders/updateOrderResult';
6
- import { AttachmentOrder, AttachmentsListOrder } from './entities/orders/attachment';
6
+ import { AttachmentsListOrder } from './entities/orders/attachment';
7
7
  export declare enum CreateOrderInputFields {
8
8
  COLUMN_CUSTOMER = "customer",
9
9
  COLUMN_REFERENCE = "reference",
@@ -191,5 +191,5 @@ export declare class OrdersClient extends AbstractRestfulClient {
191
191
  updateAdditionalInformationOrder(orderReference: string, payload: UpdateAdditionalInformationOrderInputType, parameters?: Parameters): Promise<void>;
192
192
  getAttachmentsOrder(orderReference: string, perPage?: number, page?: number, parameters?: Parameters): Promise<GetResult<AttachmentsListOrder>>;
193
193
  deleteAttachmentOrder(orderReference: string, name: string, parameters?: Parameters): Promise<void>;
194
- uploadAttachmentOrder(orderReference: string, payload: UploadAttachmentOrderInputType, parameters?: Parameters): Promise<GetResult<AttachmentOrder>>;
194
+ uploadAttachmentOrder(orderReference: string, payload: UploadAttachmentOrderInputType, parameters?: Parameters): Promise<void>;
195
195
  }
@@ -160,7 +160,7 @@ class OrdersClient extends abstractRestfulClient_1.AbstractRestfulClient {
160
160
  }
161
161
  async uploadAttachmentOrder(orderReference, payload, parameters = {}) {
162
162
  this.path = `/${orderReference}/attachment`;
163
- return new getResult_1.GetResult(attachment_1.AttachmentOrder, await this.post(payload, parameters));
163
+ await this.post(payload, parameters);
164
164
  }
165
165
  }
166
166
  exports.OrdersClient = OrdersClient;
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "type": "git",
5
5
  "url": "https://github.com/ArrowSphere/nodejs-api-client.git"
6
6
  },
7
- "version": "3.186.0-rc-bdj-4",
7
+ "version": "3.186.0-rc-bdj-5",
8
8
  "description": "Node.js client for ArrowSphere's public API",
9
9
  "main": "build/index.js",
10
10
  "types": "build/index.d.ts",