@dynamic-labs/sdk-api 0.0.407 → 0.0.408
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/package.json +1 -1
- package/src/models/Invite.cjs +2 -0
- package/src/models/Invite.d.ts +6 -0
- package/src/models/Invite.js +2 -0
package/package.json
CHANGED
package/src/models/Invite.cjs
CHANGED
|
@@ -23,6 +23,7 @@ function InviteFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
23
23
|
'alias': !runtime.exists(json, 'alias') ? undefined : json['alias'],
|
|
24
24
|
'walletPublicKey': !runtime.exists(json, 'walletPublicKey') ? undefined : json['walletPublicKey'],
|
|
25
25
|
'role': !runtime.exists(json, 'role') ? undefined : RoleEnum.RoleEnumFromJSON(json['role']),
|
|
26
|
+
'createdByEmail': !runtime.exists(json, 'createdByEmail') ? undefined : json['createdByEmail'],
|
|
26
27
|
};
|
|
27
28
|
}
|
|
28
29
|
function InviteToJSON(value) {
|
|
@@ -41,6 +42,7 @@ function InviteToJSON(value) {
|
|
|
41
42
|
'alias': value.alias,
|
|
42
43
|
'walletPublicKey': value.walletPublicKey,
|
|
43
44
|
'role': RoleEnum.RoleEnumToJSON(value.role),
|
|
45
|
+
'createdByEmail': value.createdByEmail,
|
|
44
46
|
};
|
|
45
47
|
}
|
|
46
48
|
|
package/src/models/Invite.d.ts
CHANGED
|
@@ -65,6 +65,12 @@ export interface Invite {
|
|
|
65
65
|
* @memberof Invite
|
|
66
66
|
*/
|
|
67
67
|
role?: RoleEnum;
|
|
68
|
+
/**
|
|
69
|
+
* Email of the user that created the invitation
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof Invite
|
|
72
|
+
*/
|
|
73
|
+
createdByEmail?: string;
|
|
68
74
|
}
|
|
69
75
|
export declare function InviteFromJSON(json: any): Invite;
|
|
70
76
|
export declare function InviteFromJSONTyped(json: any, ignoreDiscriminator: boolean): Invite;
|
package/src/models/Invite.js
CHANGED
|
@@ -19,6 +19,7 @@ function InviteFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
19
19
|
'alias': !exists(json, 'alias') ? undefined : json['alias'],
|
|
20
20
|
'walletPublicKey': !exists(json, 'walletPublicKey') ? undefined : json['walletPublicKey'],
|
|
21
21
|
'role': !exists(json, 'role') ? undefined : RoleEnumFromJSON(json['role']),
|
|
22
|
+
'createdByEmail': !exists(json, 'createdByEmail') ? undefined : json['createdByEmail'],
|
|
22
23
|
};
|
|
23
24
|
}
|
|
24
25
|
function InviteToJSON(value) {
|
|
@@ -37,6 +38,7 @@ function InviteToJSON(value) {
|
|
|
37
38
|
'alias': value.alias,
|
|
38
39
|
'walletPublicKey': value.walletPublicKey,
|
|
39
40
|
'role': RoleEnumToJSON(value.role),
|
|
41
|
+
'createdByEmail': value.createdByEmail,
|
|
40
42
|
};
|
|
41
43
|
}
|
|
42
44
|
|