@arrowsphere/api-client 3.186.0-rc-bdj-2 → 3.186.0-rc-bdj-3

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.
@@ -182,5 +182,5 @@ export declare class OrdersClient extends AbstractRestfulClient {
182
182
  updateStaffContributorsOrder(orderReference: string, payload: UpdateContributorOrderInputType, parameters?: Parameters): Promise<void>;
183
183
  updateAdditionalInformationOrder(orderReference: string, payload: UpdateAdditionalInformationOrderInputType, parameters?: Parameters): Promise<void>;
184
184
  getAttachmentsOrder(orderReference: string, perPage?: number, page?: number, parameters?: Parameters): Promise<GetResult<AttachmentsListOrder>>;
185
- deleteAttachmentOrder(orderReference: string, parameters?: Parameters): Promise<void>;
185
+ deleteAttachmentOrder(orderReference: string, name: string, parameters?: Parameters): Promise<void>;
186
186
  }
@@ -149,8 +149,8 @@ class OrdersClient extends abstractRestfulClient_1.AbstractRestfulClient {
149
149
  }
150
150
  return new getResult_1.GetResult(attachment_1.AttachmentsListOrder, await this.get(parameters));
151
151
  }
152
- async deleteAttachmentOrder(orderReference, parameters = {}) {
153
- this.path = `/${orderReference}/attachment`;
152
+ async deleteAttachmentOrder(orderReference, name, parameters = {}) {
153
+ this.path = `/${orderReference}/attachment/${name}`;
154
154
  await this.delete(parameters);
155
155
  }
156
156
  }
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-2",
7
+ "version": "3.186.0-rc-bdj-3",
8
8
  "description": "Node.js client for ArrowSphere's public API",
9
9
  "main": "build/index.js",
10
10
  "types": "build/index.d.ts",