@arrowsphere/api-client 3.175.0-rc-bdj-4 → 3.175.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,11 @@
3
3
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
4
4
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
5
5
 
6
+ ## [3.175.0] - 2025.02.17
7
+
8
+ ### Added
9
+ - [program] eav value can be boolean
10
+
6
11
  ## [3.174.0] - 2025.02.14
7
12
 
8
13
  ### Added
@@ -121,7 +121,6 @@ export declare class CustomersClient extends AbstractRestfulClient {
121
121
  getCustomerContactList(customerReference: string, parameters?: Parameters): Promise<GetResult<CustomerContactList>>;
122
122
  postCustomerContact(customerReference: string, payload: PostCustomerContactPayload, parameters?: Parameters): Promise<GetResult<CustomerContact>>;
123
123
  getCustomerContact(customerReference: string, contactReference: string, parameters?: Parameters): Promise<GetResult<CustomerContact>>;
124
- deleteCustomer(customerReference: string, parameters?: Parameters): Promise<void>;
125
124
  deleteCustomerContact(customerReference: string, contactReference: string, parameters?: Parameters): Promise<void>;
126
125
  patchCustomerContact(customerReference: string, contactReference: string, payload: PatchCustomerContactPayload, parameters?: Parameters): Promise<GetResult<CustomerContact>>;
127
126
  createCustomer(payload: PostCustomerPayload, parameters?: Parameters, returnAxiosData?: boolean): Promise<APIResponseResourceCreated | APIResponseError>;
@@ -129,5 +128,4 @@ export declare class CustomersClient extends AbstractRestfulClient {
129
128
  reactivateCustomer(customerRef: string, parameters?: Parameters): Promise<void>;
130
129
  postCustomerInvitation(payload: PostCustomerInvitation, parameters?: Parameters): Promise<GetResult<DataInvitation>>;
131
130
  postCustomerMigration(customerReference: string, payload: PostCustomerMigrationPayload, parameters?: Parameters, returnAxiosData?: boolean): Promise<APIResponseCustomerMigration | APIResponseError>;
132
- postReconciliationCustomers(program: string, parameters?: Parameters): Promise<void>;
133
131
  }
@@ -74,10 +74,6 @@ class CustomersClient extends abstractRestfulClient_1.AbstractRestfulClient {
74
74
  this.path = `/${customerReference}/contacts/${contactReference}`;
75
75
  return new getResult_1.GetResult(customerContact_1.CustomerContact, await this.get(parameters));
76
76
  }
77
- async deleteCustomer(customerReference, parameters = {}) {
78
- this.path = `/${customerReference}`;
79
- return await this.delete(parameters);
80
- }
81
77
  async deleteCustomerContact(customerReference, contactReference, parameters = {}) {
82
78
  this.path = `/${customerReference}/contacts/${contactReference}`;
83
79
  return await this.delete(parameters);
@@ -106,10 +102,6 @@ class CustomersClient extends abstractRestfulClient_1.AbstractRestfulClient {
106
102
  this.path = `/${customerReference}/migration`;
107
103
  return await this.post(payload, parameters, {}, { returnAxiosData });
108
104
  }
109
- async postReconciliationCustomers(program, parameters = {}) {
110
- this.path = '/reconciliation';
111
- await this.post({ program }, parameters);
112
- }
113
105
  }
114
106
  exports.CustomersClient = CustomersClient;
115
107
  //# sourceMappingURL=customersClient.js.map
@@ -1,4 +1,3 @@
1
- import { OrganizationUnitsType } from './organizationUnit';
2
1
  import { ContactsType } from './contact';
3
2
  import { CountableType } from './counting';
4
3
  import { CountryType } from './country';
@@ -40,10 +39,7 @@ declare type BaseCompanyType = {
40
39
  };
41
40
  export declare type EndCustomerType = BaseCompanyType & {
42
41
  country?: CountryType;
43
- orderCount?: CountableType;
44
- organizationUnit?: OrganizationUnitsType;
45
42
  partner?: PartnerType;
46
- reportCount?: CountableType;
47
43
  };
48
44
  export declare type CompanyExtraInformation = {
49
45
  id?: number;
@@ -35,7 +35,7 @@ export declare type SubscriptionCreationData = {
35
35
  sku: string;
36
36
  extraInformation?: {
37
37
  programs: {
38
- [programName: string]: Record<string, string>;
38
+ [programName: string]: Record<string, string | boolean>;
39
39
  };
40
40
  };
41
41
  };
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.175.0-rc-bdj-4",
7
+ "version": "3.175.0",
8
8
  "description": "Node.js client for ArrowSphere's public API",
9
9
  "main": "build/index.js",
10
10
  "types": "build/index.d.ts",