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