@arrowsphere/api-client 3.20.2 → 3.21.0-rc.2
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,12 @@
|
|
|
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.21.0] - 2023-03-06
|
|
7
|
+
|
|
8
|
+
### Changed
|
|
9
|
+
|
|
10
|
+
- Add id in customer invitation contact
|
|
11
|
+
|
|
6
12
|
## [3.20.2] - 2023-03-01
|
|
7
13
|
|
|
8
14
|
### Changed
|
|
@@ -1,21 +1,25 @@
|
|
|
1
1
|
import { AbstractEntity } from '../../../../abstractEntity';
|
|
2
|
-
import { SharedContactFields, SharedContactInterface } from '../../../../shared
|
|
2
|
+
import { SharedContactFields, SharedContactInterface } from '../../../../shared';
|
|
3
3
|
declare enum InvitationContactEnum {
|
|
4
|
-
COLUMN_USERNAME = "username"
|
|
4
|
+
COLUMN_USERNAME = "username",
|
|
5
|
+
COLUMN_REFERENCE = "reference"
|
|
5
6
|
}
|
|
6
7
|
export declare const InvitationContactFields: {
|
|
7
8
|
COLUMN_FIRSTNAME: SharedContactFields.COLUMN_FIRSTNAME;
|
|
8
9
|
COLUMN_LASTNAME: SharedContactFields.COLUMN_LASTNAME;
|
|
9
10
|
COLUMN_EMAIL: SharedContactFields.COLUMN_EMAIL;
|
|
10
11
|
COLUMN_USERNAME: InvitationContactEnum.COLUMN_USERNAME;
|
|
12
|
+
COLUMN_REFERENCE: InvitationContactEnum.COLUMN_REFERENCE;
|
|
11
13
|
};
|
|
12
14
|
interface InvitationContactInterface {
|
|
13
15
|
[InvitationContactFields.COLUMN_USERNAME]: string;
|
|
16
|
+
[InvitationContactFields.COLUMN_REFERENCE]: string;
|
|
14
17
|
}
|
|
15
18
|
export declare type InvitationContactType = InvitationContactInterface & SharedContactInterface;
|
|
16
19
|
export declare class InvitationContact extends AbstractEntity<InvitationContactType> {
|
|
17
20
|
#private;
|
|
18
21
|
constructor(getCustomersContactDataInput: InvitationContactType);
|
|
22
|
+
get reference(): string;
|
|
19
23
|
get username(): string;
|
|
20
24
|
get firstName(): string;
|
|
21
25
|
get lastName(): string;
|
|
@@ -12,30 +12,36 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
12
12
|
}
|
|
13
13
|
return privateMap.get(receiver);
|
|
14
14
|
};
|
|
15
|
-
var _username, _firstname, _lastname, _email;
|
|
15
|
+
var _reference, _username, _firstname, _lastname, _email;
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
exports.InvitationContact = exports.InvitationContactFields = void 0;
|
|
18
18
|
const abstractEntity_1 = require("../../../../abstractEntity");
|
|
19
|
-
const
|
|
19
|
+
const shared_1 = require("../../../../shared");
|
|
20
20
|
var InvitationContactEnum;
|
|
21
21
|
(function (InvitationContactEnum) {
|
|
22
22
|
InvitationContactEnum["COLUMN_USERNAME"] = "username";
|
|
23
|
+
InvitationContactEnum["COLUMN_REFERENCE"] = "reference";
|
|
23
24
|
})(InvitationContactEnum || (InvitationContactEnum = {}));
|
|
24
25
|
exports.InvitationContactFields = {
|
|
25
26
|
...InvitationContactEnum,
|
|
26
|
-
...
|
|
27
|
+
...shared_1.SharedContactFields,
|
|
27
28
|
};
|
|
28
29
|
class InvitationContact extends abstractEntity_1.AbstractEntity {
|
|
29
30
|
constructor(getCustomersContactDataInput) {
|
|
30
31
|
super(getCustomersContactDataInput);
|
|
32
|
+
_reference.set(this, void 0);
|
|
31
33
|
_username.set(this, void 0);
|
|
32
34
|
_firstname.set(this, void 0);
|
|
33
35
|
_lastname.set(this, void 0);
|
|
34
36
|
_email.set(this, void 0);
|
|
35
|
-
__classPrivateFieldSet(this,
|
|
37
|
+
__classPrivateFieldSet(this, _reference, getCustomersContactDataInput[exports.InvitationContactFields.COLUMN_REFERENCE]);
|
|
38
|
+
__classPrivateFieldSet(this, _firstname, getCustomersContactDataInput[shared_1.SharedContactFields.COLUMN_FIRSTNAME]);
|
|
36
39
|
__classPrivateFieldSet(this, _username, getCustomersContactDataInput[exports.InvitationContactFields.COLUMN_USERNAME]);
|
|
37
|
-
__classPrivateFieldSet(this, _lastname, getCustomersContactDataInput[
|
|
38
|
-
__classPrivateFieldSet(this, _email, getCustomersContactDataInput[
|
|
40
|
+
__classPrivateFieldSet(this, _lastname, getCustomersContactDataInput[shared_1.SharedContactFields.COLUMN_LASTNAME]);
|
|
41
|
+
__classPrivateFieldSet(this, _email, getCustomersContactDataInput[shared_1.SharedContactFields.COLUMN_EMAIL]);
|
|
42
|
+
}
|
|
43
|
+
get reference() {
|
|
44
|
+
return __classPrivateFieldGet(this, _reference);
|
|
39
45
|
}
|
|
40
46
|
get username() {
|
|
41
47
|
return __classPrivateFieldGet(this, _username);
|
|
@@ -51,13 +57,14 @@ class InvitationContact extends abstractEntity_1.AbstractEntity {
|
|
|
51
57
|
}
|
|
52
58
|
toJSON() {
|
|
53
59
|
return {
|
|
60
|
+
[exports.InvitationContactFields.COLUMN_REFERENCE]: this.reference,
|
|
54
61
|
[exports.InvitationContactFields.COLUMN_USERNAME]: this.username,
|
|
55
|
-
[
|
|
56
|
-
[
|
|
57
|
-
[
|
|
62
|
+
[exports.InvitationContactFields.COLUMN_FIRSTNAME]: this.firstName,
|
|
63
|
+
[exports.InvitationContactFields.COLUMN_LASTNAME]: this.lastName,
|
|
64
|
+
[exports.InvitationContactFields.COLUMN_EMAIL]: this.email,
|
|
58
65
|
};
|
|
59
66
|
}
|
|
60
67
|
}
|
|
61
68
|
exports.InvitationContact = InvitationContact;
|
|
62
|
-
_username = new WeakMap(), _firstname = new WeakMap(), _lastname = new WeakMap(), _email = new WeakMap();
|
|
69
|
+
_reference = new WeakMap(), _username = new WeakMap(), _firstname = new WeakMap(), _lastname = new WeakMap(), _email = new WeakMap();
|
|
63
70
|
//# sourceMappingURL=invitationContact.js.map
|
package/package.json
CHANGED