@arrowsphere/api-client 3.161.1 → 3.162.0-rc-bdj-1

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.
@@ -119,6 +119,7 @@ export declare class CustomersClient extends AbstractRestfulClient {
119
119
  patchCustomerContact(customerReference: string, contactReference: string, payload: PatchCustomerContactPayload, parameters?: Parameters): Promise<GetResult<CustomerContact>>;
120
120
  createCustomer(payload: PostCustomerPayload, parameters?: Parameters, returnAxiosData?: boolean): Promise<APIResponseResourceCreated | APIResponseError>;
121
121
  updateCustomer(customerReference: string, payload: Partial<PostCustomerPayload>, parameters?: Parameters, returnAxiosData?: boolean): Promise<APIResponseCustomerUpdated | APIResponseError>;
122
+ reactivateCustomer(customerRef: string, parameters?: Parameters): Promise<void>;
122
123
  postCustomerInvitation(payload: PostCustomerInvitation, parameters?: Parameters): Promise<GetResult<DataInvitation>>;
123
124
  postCustomerMigration(customerReference: string, payload: PostCustomerMigrationPayload, parameters?: Parameters, returnAxiosData?: boolean): Promise<APIResponseCustomerMigration | APIResponseError>;
124
125
  }
@@ -90,6 +90,10 @@ class CustomersClient extends abstractRestfulClient_1.AbstractRestfulClient {
90
90
  this.path = `/${customerReference}`;
91
91
  return await this.patch(payload, parameters, {}, { returnAxiosData });
92
92
  }
93
+ async reactivateCustomer(customerRef, parameters = {}) {
94
+ this.path = `/${customerRef}`;
95
+ return await this.put({}, parameters);
96
+ }
93
97
  async postCustomerInvitation(payload, parameters = {}) {
94
98
  this.path = `/invitations`;
95
99
  return new getResult_1.GetResult(dataInvitation_1.DataInvitation, await this.post(payload, parameters));
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.161.1",
7
+ "version": "3.162.0-rc-bdj-1",
8
8
  "description": "Node.js client for ArrowSphere's public API",
9
9
  "main": "build/index.js",
10
10
  "types": "build/index.d.ts",