@arrowsphere/api-client 3.175.0-rc-bdj-2 → 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>;
|
|
@@ -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);
|
|
@@ -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;
|
package/package.json
CHANGED