@forteplatforms/sdk 1.0.154 → 1.0.156
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/dist/generated/models/CreateUserInviteRequest.d.ts +8 -0
- package/dist/generated/models/CreateUserInviteRequest.js +2 -0
- package/dist/generated/models/ForteApiException.d.ts +1 -0
- package/dist/generated/models/ForteApiException.js +1 -0
- package/dist/generated/models/PendingUserInviteObject.d.ts +8 -0
- package/dist/generated/models/PendingUserInviteObject.js +2 -0
- package/package.json +1 -1
|
@@ -21,6 +21,14 @@ export interface CreateUserInviteRequest {
|
|
|
21
21
|
* @memberof CreateUserInviteRequest
|
|
22
22
|
*/
|
|
23
23
|
email: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {{ [key: string]: string; }}
|
|
27
|
+
* @memberof CreateUserInviteRequest
|
|
28
|
+
*/
|
|
29
|
+
customAttributes?: {
|
|
30
|
+
[key: string]: string;
|
|
31
|
+
};
|
|
24
32
|
}
|
|
25
33
|
/**
|
|
26
34
|
* Check if a given object implements the CreateUserInviteRequest interface.
|
|
@@ -35,6 +35,7 @@ function CreateUserInviteRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
35
|
}
|
|
36
36
|
return {
|
|
37
37
|
'email': json['email'],
|
|
38
|
+
'customAttributes': json['customAttributes'] == null ? undefined : json['customAttributes'],
|
|
38
39
|
};
|
|
39
40
|
}
|
|
40
41
|
function CreateUserInviteRequestToJSON(json) {
|
|
@@ -47,5 +48,6 @@ function CreateUserInviteRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
47
48
|
}
|
|
48
49
|
return {
|
|
49
50
|
'email': value['email'],
|
|
51
|
+
'customAttributes': value['customAttributes'],
|
|
50
52
|
};
|
|
51
53
|
}
|
|
@@ -134,6 +134,7 @@ export declare const ForteApiExceptionErrorCodeType: {
|
|
|
134
134
|
readonly COMPLIANCE_DOCUMENT_ENCRYPTED: "COMPLIANCE_DOCUMENT_ENCRYPTED";
|
|
135
135
|
readonly NOTIFICATION_TEMPLATE_INVALID: "NOTIFICATION_TEMPLATE_INVALID";
|
|
136
136
|
readonly NOTIFICATION_TEMPLATE_MISSING_REQUIRED_VARIABLE: "NOTIFICATION_TEMPLATE_MISSING_REQUIRED_VARIABLE";
|
|
137
|
+
readonly CUSTOM_ATTRIBUTE_RESERVED_KEY: "CUSTOM_ATTRIBUTE_RESERVED_KEY";
|
|
137
138
|
readonly CONTENT_NOT_FOUND: "CONTENT_NOT_FOUND";
|
|
138
139
|
readonly CONTENT_NOT_IN_PENDING_STATE: "CONTENT_NOT_IN_PENDING_STATE";
|
|
139
140
|
readonly CONTENT_UPLOAD_NOT_VERIFIED: "CONTENT_UPLOAD_NOT_VERIFIED";
|
|
@@ -119,6 +119,7 @@ exports.ForteApiExceptionErrorCodeType = {
|
|
|
119
119
|
COMPLIANCE_DOCUMENT_ENCRYPTED: 'COMPLIANCE_DOCUMENT_ENCRYPTED',
|
|
120
120
|
NOTIFICATION_TEMPLATE_INVALID: 'NOTIFICATION_TEMPLATE_INVALID',
|
|
121
121
|
NOTIFICATION_TEMPLATE_MISSING_REQUIRED_VARIABLE: 'NOTIFICATION_TEMPLATE_MISSING_REQUIRED_VARIABLE',
|
|
122
|
+
CUSTOM_ATTRIBUTE_RESERVED_KEY: 'CUSTOM_ATTRIBUTE_RESERVED_KEY',
|
|
122
123
|
CONTENT_NOT_FOUND: 'CONTENT_NOT_FOUND',
|
|
123
124
|
CONTENT_NOT_IN_PENDING_STATE: 'CONTENT_NOT_IN_PENDING_STATE',
|
|
124
125
|
CONTENT_UPLOAD_NOT_VERIFIED: 'CONTENT_UPLOAD_NOT_VERIFIED',
|
|
@@ -69,6 +69,14 @@ export interface PendingUserInviteObject {
|
|
|
69
69
|
* @memberof PendingUserInviteObject
|
|
70
70
|
*/
|
|
71
71
|
consumedByUserId?: string;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {{ [key: string]: string; }}
|
|
75
|
+
* @memberof PendingUserInviteObject
|
|
76
|
+
*/
|
|
77
|
+
customAttributes?: {
|
|
78
|
+
[key: string]: string;
|
|
79
|
+
};
|
|
72
80
|
}
|
|
73
81
|
/**
|
|
74
82
|
* Check if a given object implements the PendingUserInviteObject interface.
|
|
@@ -41,6 +41,7 @@ function PendingUserInviteObjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
41
41
|
'expiresAt': json['expiresAt'] == null ? undefined : (new Date(json['expiresAt'])),
|
|
42
42
|
'consumedAt': json['consumedAt'] == null ? undefined : (new Date(json['consumedAt'])),
|
|
43
43
|
'consumedByUserId': json['consumedByUserId'] == null ? undefined : json['consumedByUserId'],
|
|
44
|
+
'customAttributes': json['customAttributes'] == null ? undefined : json['customAttributes'],
|
|
44
45
|
};
|
|
45
46
|
}
|
|
46
47
|
function PendingUserInviteObjectToJSON(json) {
|
|
@@ -61,5 +62,6 @@ function PendingUserInviteObjectToJSONTyped(value, ignoreDiscriminator) {
|
|
|
61
62
|
'expiresAt': value['expiresAt'] == null ? value['expiresAt'] : value['expiresAt'].toISOString(),
|
|
62
63
|
'consumedAt': value['consumedAt'] == null ? value['consumedAt'] : value['consumedAt'].toISOString(),
|
|
63
64
|
'consumedByUserId': value['consumedByUserId'],
|
|
65
|
+
'customAttributes': value['customAttributes'],
|
|
64
66
|
};
|
|
65
67
|
}
|