@arrowsphere/api-client 3.20.0 → 3.20.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.
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,24 @@
|
|
|
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.20.1] - 2023-02-23
|
|
7
|
+
|
|
8
|
+
### Changed
|
|
9
|
+
|
|
10
|
+
- Fix customer contact payloads exports
|
|
11
|
+
|
|
12
|
+
## [3.20.0] - 2023-02-22
|
|
13
|
+
|
|
14
|
+
### Changed
|
|
15
|
+
|
|
16
|
+
- Add customerContact endpoints
|
|
17
|
+
|
|
18
|
+
## [3.19.1] - 2023-02-21
|
|
19
|
+
|
|
20
|
+
### Changed
|
|
21
|
+
|
|
22
|
+
- Add imageUuid on feature item campaign v2
|
|
23
|
+
|
|
6
24
|
## [3.19.0] - 2023-01-23
|
|
7
25
|
|
|
8
26
|
### Changed
|
|
@@ -5,7 +5,7 @@ import { DataInvitation } from './entities/dataInvitation';
|
|
|
5
5
|
import { DataListOrders } from '../orders';
|
|
6
6
|
import { CustomerContactList } from './entities/customers/customerContact/customerContactList';
|
|
7
7
|
import { CustomerContact, CustomerContactRoleType, CustomerContactTypeType } from './entities/customers/customerContact/customerContact';
|
|
8
|
-
declare enum CustomerContactPayloadFields {
|
|
8
|
+
export declare enum CustomerContactPayloadFields {
|
|
9
9
|
COLUMN_FIRST_NAME = "firstName",
|
|
10
10
|
COLUMN_LAST_NAME = "lastName",
|
|
11
11
|
COLUMN_EMAIL = "email",
|
|
@@ -14,7 +14,7 @@ declare enum CustomerContactPayloadFields {
|
|
|
14
14
|
COLUMN_TYPE = "type",
|
|
15
15
|
COLUMN_ROLE = "role"
|
|
16
16
|
}
|
|
17
|
-
declare type PostCustomerContactPayload = {
|
|
17
|
+
export declare type PostCustomerContactPayload = {
|
|
18
18
|
[CustomerContactPayloadFields.COLUMN_FIRST_NAME]: string;
|
|
19
19
|
[CustomerContactPayloadFields.COLUMN_LAST_NAME]: string;
|
|
20
20
|
[CustomerContactPayloadFields.COLUMN_EMAIL]: string;
|
|
@@ -23,7 +23,7 @@ declare type PostCustomerContactPayload = {
|
|
|
23
23
|
[CustomerContactPayloadFields.COLUMN_TYPE]: CustomerContactTypeType;
|
|
24
24
|
[CustomerContactPayloadFields.COLUMN_ROLE]: CustomerContactRoleType;
|
|
25
25
|
};
|
|
26
|
-
declare type PatchCustomerContactPayload = {
|
|
26
|
+
export declare type PatchCustomerContactPayload = {
|
|
27
27
|
[Property in keyof PostCustomerContactPayload]?: PostCustomerContactPayload[Property];
|
|
28
28
|
};
|
|
29
29
|
export declare class CustomersClient extends AbstractClient {
|
|
@@ -40,4 +40,3 @@ export declare class CustomersClient extends AbstractClient {
|
|
|
40
40
|
deleteCustomerContact(customerReference: string, contactReference: string, parameters?: Parameters): Promise<void>;
|
|
41
41
|
patchCustomerContact(customerReference: string, contactReference: string, payload: PatchCustomerContactPayload, parameters?: Parameters): Promise<GetResult<CustomerContact>>;
|
|
42
42
|
}
|
|
43
|
-
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CustomersClient = void 0;
|
|
3
|
+
exports.CustomersClient = exports.CustomerContactPayloadFields = void 0;
|
|
4
4
|
const abstractClient_1 = require("../abstractClient");
|
|
5
5
|
const getResult_1 = require("../getResult");
|
|
6
6
|
const dataCustomers_1 = require("./entities/dataCustomers");
|
|
@@ -17,7 +17,7 @@ var CustomerContactPayloadFields;
|
|
|
17
17
|
CustomerContactPayloadFields["COLUMN_USERNAME"] = "username";
|
|
18
18
|
CustomerContactPayloadFields["COLUMN_TYPE"] = "type";
|
|
19
19
|
CustomerContactPayloadFields["COLUMN_ROLE"] = "role";
|
|
20
|
-
})(CustomerContactPayloadFields || (CustomerContactPayloadFields = {}));
|
|
20
|
+
})(CustomerContactPayloadFields = exports.CustomerContactPayloadFields || (exports.CustomerContactPayloadFields = {}));
|
|
21
21
|
class CustomersClient extends abstractClient_1.AbstractClient {
|
|
22
22
|
constructor() {
|
|
23
23
|
super(...arguments);
|
package/package.json
CHANGED