@dynamic-labs/sdk-api 0.0.352 → 0.0.354
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/apis/AllowlistsApi.cjs +5 -5
- package/src/apis/AllowlistsApi.js +5 -5
- package/src/apis/AnalyticsApi.cjs +5 -5
- package/src/apis/AnalyticsApi.js +5 -5
- package/src/apis/ChainalysisApi.cjs +5 -5
- package/src/apis/ChainalysisApi.js +5 -5
- package/src/apis/ChainsApi.cjs +5 -5
- package/src/apis/ChainsApi.js +5 -5
- package/src/apis/EnvironmentsApi.cjs +5 -5
- package/src/apis/EnvironmentsApi.js +5 -5
- package/src/apis/EventsApi.cjs +5 -5
- package/src/apis/EventsApi.js +5 -5
- package/src/apis/ExportsApi.cjs +5 -5
- package/src/apis/ExportsApi.js +5 -5
- package/src/apis/GatesApi.cjs +5 -5
- package/src/apis/GatesApi.js +5 -5
- package/src/apis/InvitesApi.cjs +5 -5
- package/src/apis/InvitesApi.js +5 -5
- package/src/apis/MembersApi.cjs +5 -5
- package/src/apis/MembersApi.js +5 -5
- package/src/apis/OrganizationsApi.cjs +5 -5
- package/src/apis/OrganizationsApi.js +5 -5
- package/src/apis/OriginsApi.cjs +5 -5
- package/src/apis/OriginsApi.js +5 -5
- package/src/apis/ProjectsApi.cjs +5 -5
- package/src/apis/ProjectsApi.js +5 -5
- package/src/apis/SDKApi.cjs +5 -5
- package/src/apis/SDKApi.js +5 -5
- package/src/apis/SDKViewsApi.cjs +5 -5
- package/src/apis/SDKViewsApi.js +5 -5
- package/src/apis/SessionsApi.cjs +5 -5
- package/src/apis/SessionsApi.js +5 -5
- package/src/apis/SettingsApi.cjs +5 -5
- package/src/apis/SettingsApi.js +5 -5
- package/src/apis/TokensApi.cjs +5 -5
- package/src/apis/TokensApi.js +5 -5
- package/src/apis/UsersApi.cjs +5 -5
- package/src/apis/UsersApi.js +5 -5
- package/src/apis/VisitsApi.cjs +5 -5
- package/src/apis/VisitsApi.js +5 -5
- package/src/apis/WalletsApi.cjs +5 -5
- package/src/apis/WalletsApi.js +5 -5
- package/src/apis/WebhooksApi.cjs +5 -5
- package/src/apis/WebhooksApi.js +5 -5
- package/src/index.cjs +4 -0
- package/src/index.js +1 -0
- package/src/models/BaseUser.cjs +93 -0
- package/src/models/BaseUser.d.ts +203 -0
- package/src/models/BaseUser.js +87 -0
- package/src/models/RoleEnum.cjs +1 -0
- package/src/models/RoleEnum.d.ts +1 -0
- package/src/models/RoleEnum.js +1 -0
- package/src/models/SdkUser.cjs +2 -2
- package/src/models/SdkUser.d.ts +1 -1
- package/src/models/SdkUser.js +2 -2
- package/src/models/index.d.ts +1 -0
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
var JwtVerifiedCredential = require('./JwtVerifiedCredential.cjs');
|
|
7
|
+
var ProjectSettingsKyc = require('./ProjectSettingsKyc.cjs');
|
|
8
|
+
|
|
9
|
+
/* tslint:disable */
|
|
10
|
+
function BaseUserFromJSON(json) {
|
|
11
|
+
return BaseUserFromJSONTyped(json);
|
|
12
|
+
}
|
|
13
|
+
function BaseUserFromJSONTyped(json, ignoreDiscriminator) {
|
|
14
|
+
if ((json === undefined) || (json === null)) {
|
|
15
|
+
return json;
|
|
16
|
+
}
|
|
17
|
+
return {
|
|
18
|
+
'id': json['id'],
|
|
19
|
+
'projectEnvironmentId': json['projectEnvironmentId'],
|
|
20
|
+
'verifiedCredentials': !runtime.exists(json, 'verifiedCredentials') ? undefined : (json['verifiedCredentials'].map(JwtVerifiedCredential.JwtVerifiedCredentialFromJSON)),
|
|
21
|
+
'alias': !runtime.exists(json, 'alias') ? undefined : json['alias'],
|
|
22
|
+
'country': !runtime.exists(json, 'country') ? undefined : json['country'],
|
|
23
|
+
'email': !runtime.exists(json, 'email') ? undefined : json['email'],
|
|
24
|
+
'firstName': !runtime.exists(json, 'firstName') ? undefined : json['firstName'],
|
|
25
|
+
'jobTitle': !runtime.exists(json, 'jobTitle') ? undefined : json['jobTitle'],
|
|
26
|
+
'lastName': !runtime.exists(json, 'lastName') ? undefined : json['lastName'],
|
|
27
|
+
'phoneNumber': !runtime.exists(json, 'phoneNumber') ? undefined : json['phoneNumber'],
|
|
28
|
+
'policiesConsent': !runtime.exists(json, 'policiesConsent') ? undefined : json['policiesConsent'],
|
|
29
|
+
'tShirtSize': !runtime.exists(json, 'tShirtSize') ? undefined : json['tShirtSize'],
|
|
30
|
+
'team': !runtime.exists(json, 'team') ? undefined : json['team'],
|
|
31
|
+
'username': !runtime.exists(json, 'username') ? undefined : json['username'],
|
|
32
|
+
'firstVisit': !runtime.exists(json, 'firstVisit') ? undefined : (new Date(json['firstVisit'])),
|
|
33
|
+
'lastVisit': !runtime.exists(json, 'lastVisit') ? undefined : (new Date(json['lastVisit'])),
|
|
34
|
+
'newUser': !runtime.exists(json, 'newUser') ? undefined : json['newUser'],
|
|
35
|
+
'metadata': !runtime.exists(json, 'metadata') ? undefined : json['metadata'],
|
|
36
|
+
'btcWallet': !runtime.exists(json, 'btcWallet') ? undefined : json['btcWallet'],
|
|
37
|
+
'kdaWallet': !runtime.exists(json, 'kdaWallet') ? undefined : json['kdaWallet'],
|
|
38
|
+
'ltcWallet': !runtime.exists(json, 'ltcWallet') ? undefined : json['ltcWallet'],
|
|
39
|
+
'ckbWallet': !runtime.exists(json, 'ckbWallet') ? undefined : json['ckbWallet'],
|
|
40
|
+
'kasWallet': !runtime.exists(json, 'kasWallet') ? undefined : json['kasWallet'],
|
|
41
|
+
'dogeWallet': !runtime.exists(json, 'dogeWallet') ? undefined : json['dogeWallet'],
|
|
42
|
+
'emailNotification': !runtime.exists(json, 'emailNotification') ? undefined : json['emailNotification'],
|
|
43
|
+
'discordNotification': !runtime.exists(json, 'discordNotification') ? undefined : json['discordNotification'],
|
|
44
|
+
'newsletterNotification': !runtime.exists(json, 'newsletterNotification') ? undefined : json['newsletterNotification'],
|
|
45
|
+
'lists': !runtime.exists(json, 'lists') ? undefined : json['lists'],
|
|
46
|
+
'scope': !runtime.exists(json, 'scope') ? undefined : json['scope'],
|
|
47
|
+
'missingFields': !runtime.exists(json, 'missingFields') ? undefined : (json['missingFields'].map(ProjectSettingsKyc.ProjectSettingsKycFromJSON)),
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
function BaseUserToJSON(value) {
|
|
51
|
+
if (value === undefined) {
|
|
52
|
+
return undefined;
|
|
53
|
+
}
|
|
54
|
+
if (value === null) {
|
|
55
|
+
return null;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'id': value.id,
|
|
59
|
+
'projectEnvironmentId': value.projectEnvironmentId,
|
|
60
|
+
'verifiedCredentials': value.verifiedCredentials === undefined ? undefined : (value.verifiedCredentials.map(JwtVerifiedCredential.JwtVerifiedCredentialToJSON)),
|
|
61
|
+
'alias': value.alias,
|
|
62
|
+
'country': value.country,
|
|
63
|
+
'email': value.email,
|
|
64
|
+
'firstName': value.firstName,
|
|
65
|
+
'jobTitle': value.jobTitle,
|
|
66
|
+
'lastName': value.lastName,
|
|
67
|
+
'phoneNumber': value.phoneNumber,
|
|
68
|
+
'policiesConsent': value.policiesConsent,
|
|
69
|
+
'tShirtSize': value.tShirtSize,
|
|
70
|
+
'team': value.team,
|
|
71
|
+
'username': value.username,
|
|
72
|
+
'firstVisit': value.firstVisit === undefined ? undefined : (value.firstVisit.toISOString()),
|
|
73
|
+
'lastVisit': value.lastVisit === undefined ? undefined : (value.lastVisit.toISOString()),
|
|
74
|
+
'newUser': value.newUser,
|
|
75
|
+
'metadata': value.metadata,
|
|
76
|
+
'btcWallet': value.btcWallet,
|
|
77
|
+
'kdaWallet': value.kdaWallet,
|
|
78
|
+
'ltcWallet': value.ltcWallet,
|
|
79
|
+
'ckbWallet': value.ckbWallet,
|
|
80
|
+
'kasWallet': value.kasWallet,
|
|
81
|
+
'dogeWallet': value.dogeWallet,
|
|
82
|
+
'emailNotification': value.emailNotification,
|
|
83
|
+
'discordNotification': value.discordNotification,
|
|
84
|
+
'newsletterNotification': value.newsletterNotification,
|
|
85
|
+
'lists': value.lists,
|
|
86
|
+
'scope': value.scope,
|
|
87
|
+
'missingFields': value.missingFields === undefined ? undefined : (value.missingFields.map(ProjectSettingsKyc.ProjectSettingsKycToJSON)),
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
exports.BaseUserFromJSON = BaseUserFromJSON;
|
|
92
|
+
exports.BaseUserFromJSONTyped = BaseUserFromJSONTyped;
|
|
93
|
+
exports.BaseUserToJSON = BaseUserToJSON;
|
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { JwtVerifiedCredential } from './JwtVerifiedCredential';
|
|
13
|
+
import { ProjectSettingsKyc } from './ProjectSettingsKyc';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface BaseUser
|
|
18
|
+
*/
|
|
19
|
+
export interface BaseUser {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof BaseUser
|
|
24
|
+
*/
|
|
25
|
+
id: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof BaseUser
|
|
30
|
+
*/
|
|
31
|
+
projectEnvironmentId: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {Array<JwtVerifiedCredential>}
|
|
35
|
+
* @memberof BaseUser
|
|
36
|
+
*/
|
|
37
|
+
verifiedCredentials?: Array<JwtVerifiedCredential>;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof BaseUser
|
|
42
|
+
*/
|
|
43
|
+
alias?: string | null;
|
|
44
|
+
/**
|
|
45
|
+
* Standard ISO 3166-1 alpha-2 two-letter country code
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof BaseUser
|
|
48
|
+
*/
|
|
49
|
+
country?: string | null;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof BaseUser
|
|
54
|
+
*/
|
|
55
|
+
email?: string | null;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof BaseUser
|
|
60
|
+
*/
|
|
61
|
+
firstName?: string | null;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof BaseUser
|
|
66
|
+
*/
|
|
67
|
+
jobTitle?: string | null;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof BaseUser
|
|
72
|
+
*/
|
|
73
|
+
lastName?: string | null;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {string}
|
|
77
|
+
* @memberof BaseUser
|
|
78
|
+
*/
|
|
79
|
+
phoneNumber?: string | null;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {boolean}
|
|
83
|
+
* @memberof BaseUser
|
|
84
|
+
*/
|
|
85
|
+
policiesConsent?: boolean | null;
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @type {string}
|
|
89
|
+
* @memberof BaseUser
|
|
90
|
+
*/
|
|
91
|
+
tShirtSize?: string | null;
|
|
92
|
+
/**
|
|
93
|
+
*
|
|
94
|
+
* @type {string}
|
|
95
|
+
* @memberof BaseUser
|
|
96
|
+
*/
|
|
97
|
+
team?: string | null;
|
|
98
|
+
/**
|
|
99
|
+
*
|
|
100
|
+
* @type {string}
|
|
101
|
+
* @memberof BaseUser
|
|
102
|
+
*/
|
|
103
|
+
username?: string | null;
|
|
104
|
+
/**
|
|
105
|
+
*
|
|
106
|
+
* @type {Date}
|
|
107
|
+
* @memberof BaseUser
|
|
108
|
+
*/
|
|
109
|
+
firstVisit?: Date;
|
|
110
|
+
/**
|
|
111
|
+
*
|
|
112
|
+
* @type {Date}
|
|
113
|
+
* @memberof BaseUser
|
|
114
|
+
*/
|
|
115
|
+
lastVisit?: Date;
|
|
116
|
+
/**
|
|
117
|
+
*
|
|
118
|
+
* @type {boolean}
|
|
119
|
+
* @memberof BaseUser
|
|
120
|
+
*/
|
|
121
|
+
newUser?: boolean;
|
|
122
|
+
/**
|
|
123
|
+
*
|
|
124
|
+
* @type {object}
|
|
125
|
+
* @memberof BaseUser
|
|
126
|
+
*/
|
|
127
|
+
metadata?: object;
|
|
128
|
+
/**
|
|
129
|
+
*
|
|
130
|
+
* @type {string}
|
|
131
|
+
* @memberof BaseUser
|
|
132
|
+
*/
|
|
133
|
+
btcWallet?: string | null;
|
|
134
|
+
/**
|
|
135
|
+
*
|
|
136
|
+
* @type {string}
|
|
137
|
+
* @memberof BaseUser
|
|
138
|
+
*/
|
|
139
|
+
kdaWallet?: string | null;
|
|
140
|
+
/**
|
|
141
|
+
*
|
|
142
|
+
* @type {string}
|
|
143
|
+
* @memberof BaseUser
|
|
144
|
+
*/
|
|
145
|
+
ltcWallet?: string | null;
|
|
146
|
+
/**
|
|
147
|
+
*
|
|
148
|
+
* @type {string}
|
|
149
|
+
* @memberof BaseUser
|
|
150
|
+
*/
|
|
151
|
+
ckbWallet?: string | null;
|
|
152
|
+
/**
|
|
153
|
+
*
|
|
154
|
+
* @type {string}
|
|
155
|
+
* @memberof BaseUser
|
|
156
|
+
*/
|
|
157
|
+
kasWallet?: string | null;
|
|
158
|
+
/**
|
|
159
|
+
*
|
|
160
|
+
* @type {string}
|
|
161
|
+
* @memberof BaseUser
|
|
162
|
+
*/
|
|
163
|
+
dogeWallet?: string | null;
|
|
164
|
+
/**
|
|
165
|
+
*
|
|
166
|
+
* @type {boolean}
|
|
167
|
+
* @memberof BaseUser
|
|
168
|
+
*/
|
|
169
|
+
emailNotification?: boolean | null;
|
|
170
|
+
/**
|
|
171
|
+
*
|
|
172
|
+
* @type {boolean}
|
|
173
|
+
* @memberof BaseUser
|
|
174
|
+
*/
|
|
175
|
+
discordNotification?: boolean | null;
|
|
176
|
+
/**
|
|
177
|
+
*
|
|
178
|
+
* @type {boolean}
|
|
179
|
+
* @memberof BaseUser
|
|
180
|
+
*/
|
|
181
|
+
newsletterNotification?: boolean | null;
|
|
182
|
+
/**
|
|
183
|
+
* Access lists evaluated by Dynamic when considering access for the user.
|
|
184
|
+
* @type {Array<string>}
|
|
185
|
+
* @memberof BaseUser
|
|
186
|
+
*/
|
|
187
|
+
lists?: Array<string>;
|
|
188
|
+
/**
|
|
189
|
+
* A whitespace-separate list of permissions associated with the JWT token issued. This conforms to the JWT standard for scope claims: https://datatracker.ietf.org/doc/html/rfc8693#section-4.2
|
|
190
|
+
* @type {string}
|
|
191
|
+
* @memberof BaseUser
|
|
192
|
+
*/
|
|
193
|
+
scope?: string;
|
|
194
|
+
/**
|
|
195
|
+
*
|
|
196
|
+
* @type {Array<ProjectSettingsKyc>}
|
|
197
|
+
* @memberof BaseUser
|
|
198
|
+
*/
|
|
199
|
+
missingFields?: Array<ProjectSettingsKyc>;
|
|
200
|
+
}
|
|
201
|
+
export declare function BaseUserFromJSON(json: any): BaseUser;
|
|
202
|
+
export declare function BaseUserFromJSONTyped(json: any, ignoreDiscriminator: boolean): BaseUser;
|
|
203
|
+
export declare function BaseUserToJSON(value?: BaseUser | null): any;
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { JwtVerifiedCredentialFromJSON, JwtVerifiedCredentialToJSON } from './JwtVerifiedCredential.js';
|
|
3
|
+
import { ProjectSettingsKycFromJSON, ProjectSettingsKycToJSON } from './ProjectSettingsKyc.js';
|
|
4
|
+
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
function BaseUserFromJSON(json) {
|
|
7
|
+
return BaseUserFromJSONTyped(json);
|
|
8
|
+
}
|
|
9
|
+
function BaseUserFromJSONTyped(json, ignoreDiscriminator) {
|
|
10
|
+
if ((json === undefined) || (json === null)) {
|
|
11
|
+
return json;
|
|
12
|
+
}
|
|
13
|
+
return {
|
|
14
|
+
'id': json['id'],
|
|
15
|
+
'projectEnvironmentId': json['projectEnvironmentId'],
|
|
16
|
+
'verifiedCredentials': !exists(json, 'verifiedCredentials') ? undefined : (json['verifiedCredentials'].map(JwtVerifiedCredentialFromJSON)),
|
|
17
|
+
'alias': !exists(json, 'alias') ? undefined : json['alias'],
|
|
18
|
+
'country': !exists(json, 'country') ? undefined : json['country'],
|
|
19
|
+
'email': !exists(json, 'email') ? undefined : json['email'],
|
|
20
|
+
'firstName': !exists(json, 'firstName') ? undefined : json['firstName'],
|
|
21
|
+
'jobTitle': !exists(json, 'jobTitle') ? undefined : json['jobTitle'],
|
|
22
|
+
'lastName': !exists(json, 'lastName') ? undefined : json['lastName'],
|
|
23
|
+
'phoneNumber': !exists(json, 'phoneNumber') ? undefined : json['phoneNumber'],
|
|
24
|
+
'policiesConsent': !exists(json, 'policiesConsent') ? undefined : json['policiesConsent'],
|
|
25
|
+
'tShirtSize': !exists(json, 'tShirtSize') ? undefined : json['tShirtSize'],
|
|
26
|
+
'team': !exists(json, 'team') ? undefined : json['team'],
|
|
27
|
+
'username': !exists(json, 'username') ? undefined : json['username'],
|
|
28
|
+
'firstVisit': !exists(json, 'firstVisit') ? undefined : (new Date(json['firstVisit'])),
|
|
29
|
+
'lastVisit': !exists(json, 'lastVisit') ? undefined : (new Date(json['lastVisit'])),
|
|
30
|
+
'newUser': !exists(json, 'newUser') ? undefined : json['newUser'],
|
|
31
|
+
'metadata': !exists(json, 'metadata') ? undefined : json['metadata'],
|
|
32
|
+
'btcWallet': !exists(json, 'btcWallet') ? undefined : json['btcWallet'],
|
|
33
|
+
'kdaWallet': !exists(json, 'kdaWallet') ? undefined : json['kdaWallet'],
|
|
34
|
+
'ltcWallet': !exists(json, 'ltcWallet') ? undefined : json['ltcWallet'],
|
|
35
|
+
'ckbWallet': !exists(json, 'ckbWallet') ? undefined : json['ckbWallet'],
|
|
36
|
+
'kasWallet': !exists(json, 'kasWallet') ? undefined : json['kasWallet'],
|
|
37
|
+
'dogeWallet': !exists(json, 'dogeWallet') ? undefined : json['dogeWallet'],
|
|
38
|
+
'emailNotification': !exists(json, 'emailNotification') ? undefined : json['emailNotification'],
|
|
39
|
+
'discordNotification': !exists(json, 'discordNotification') ? undefined : json['discordNotification'],
|
|
40
|
+
'newsletterNotification': !exists(json, 'newsletterNotification') ? undefined : json['newsletterNotification'],
|
|
41
|
+
'lists': !exists(json, 'lists') ? undefined : json['lists'],
|
|
42
|
+
'scope': !exists(json, 'scope') ? undefined : json['scope'],
|
|
43
|
+
'missingFields': !exists(json, 'missingFields') ? undefined : (json['missingFields'].map(ProjectSettingsKycFromJSON)),
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function BaseUserToJSON(value) {
|
|
47
|
+
if (value === undefined) {
|
|
48
|
+
return undefined;
|
|
49
|
+
}
|
|
50
|
+
if (value === null) {
|
|
51
|
+
return null;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'id': value.id,
|
|
55
|
+
'projectEnvironmentId': value.projectEnvironmentId,
|
|
56
|
+
'verifiedCredentials': value.verifiedCredentials === undefined ? undefined : (value.verifiedCredentials.map(JwtVerifiedCredentialToJSON)),
|
|
57
|
+
'alias': value.alias,
|
|
58
|
+
'country': value.country,
|
|
59
|
+
'email': value.email,
|
|
60
|
+
'firstName': value.firstName,
|
|
61
|
+
'jobTitle': value.jobTitle,
|
|
62
|
+
'lastName': value.lastName,
|
|
63
|
+
'phoneNumber': value.phoneNumber,
|
|
64
|
+
'policiesConsent': value.policiesConsent,
|
|
65
|
+
'tShirtSize': value.tShirtSize,
|
|
66
|
+
'team': value.team,
|
|
67
|
+
'username': value.username,
|
|
68
|
+
'firstVisit': value.firstVisit === undefined ? undefined : (value.firstVisit.toISOString()),
|
|
69
|
+
'lastVisit': value.lastVisit === undefined ? undefined : (value.lastVisit.toISOString()),
|
|
70
|
+
'newUser': value.newUser,
|
|
71
|
+
'metadata': value.metadata,
|
|
72
|
+
'btcWallet': value.btcWallet,
|
|
73
|
+
'kdaWallet': value.kdaWallet,
|
|
74
|
+
'ltcWallet': value.ltcWallet,
|
|
75
|
+
'ckbWallet': value.ckbWallet,
|
|
76
|
+
'kasWallet': value.kasWallet,
|
|
77
|
+
'dogeWallet': value.dogeWallet,
|
|
78
|
+
'emailNotification': value.emailNotification,
|
|
79
|
+
'discordNotification': value.discordNotification,
|
|
80
|
+
'newsletterNotification': value.newsletterNotification,
|
|
81
|
+
'lists': value.lists,
|
|
82
|
+
'scope': value.scope,
|
|
83
|
+
'missingFields': value.missingFields === undefined ? undefined : (value.missingFields.map(ProjectSettingsKycToJSON)),
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export { BaseUserFromJSON, BaseUserFromJSONTyped, BaseUserToJSON };
|
package/src/models/RoleEnum.cjs
CHANGED
|
@@ -22,6 +22,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
22
22
|
*/
|
|
23
23
|
exports.RoleEnum = void 0;
|
|
24
24
|
(function (RoleEnum) {
|
|
25
|
+
RoleEnum["Owner"] = "owner";
|
|
25
26
|
RoleEnum["Admin"] = "admin";
|
|
26
27
|
RoleEnum["Viewer"] = "viewer";
|
|
27
28
|
})(exports.RoleEnum || (exports.RoleEnum = {}));
|
package/src/models/RoleEnum.d.ts
CHANGED
package/src/models/RoleEnum.js
CHANGED
package/src/models/SdkUser.cjs
CHANGED
|
@@ -17,7 +17,7 @@ function SdkUserFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
17
17
|
return {
|
|
18
18
|
'id': json['id'],
|
|
19
19
|
'projectEnvironmentId': json['projectEnvironmentId'],
|
|
20
|
-
'verifiedCredentials':
|
|
20
|
+
'verifiedCredentials': (json['verifiedCredentials'].map(JwtVerifiedCredential.JwtVerifiedCredentialFromJSON)),
|
|
21
21
|
'alias': !runtime.exists(json, 'alias') ? undefined : json['alias'],
|
|
22
22
|
'country': !runtime.exists(json, 'country') ? undefined : json['country'],
|
|
23
23
|
'email': !runtime.exists(json, 'email') ? undefined : json['email'],
|
|
@@ -57,7 +57,7 @@ function SdkUserToJSON(value) {
|
|
|
57
57
|
return {
|
|
58
58
|
'id': value.id,
|
|
59
59
|
'projectEnvironmentId': value.projectEnvironmentId,
|
|
60
|
-
'verifiedCredentials':
|
|
60
|
+
'verifiedCredentials': (value.verifiedCredentials.map(JwtVerifiedCredential.JwtVerifiedCredentialToJSON)),
|
|
61
61
|
'alias': value.alias,
|
|
62
62
|
'country': value.country,
|
|
63
63
|
'email': value.email,
|
package/src/models/SdkUser.d.ts
CHANGED
package/src/models/SdkUser.js
CHANGED
|
@@ -13,7 +13,7 @@ function SdkUserFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
13
13
|
return {
|
|
14
14
|
'id': json['id'],
|
|
15
15
|
'projectEnvironmentId': json['projectEnvironmentId'],
|
|
16
|
-
'verifiedCredentials':
|
|
16
|
+
'verifiedCredentials': (json['verifiedCredentials'].map(JwtVerifiedCredentialFromJSON)),
|
|
17
17
|
'alias': !exists(json, 'alias') ? undefined : json['alias'],
|
|
18
18
|
'country': !exists(json, 'country') ? undefined : json['country'],
|
|
19
19
|
'email': !exists(json, 'email') ? undefined : json['email'],
|
|
@@ -53,7 +53,7 @@ function SdkUserToJSON(value) {
|
|
|
53
53
|
return {
|
|
54
54
|
'id': value.id,
|
|
55
55
|
'projectEnvironmentId': value.projectEnvironmentId,
|
|
56
|
-
'verifiedCredentials':
|
|
56
|
+
'verifiedCredentials': (value.verifiedCredentials.map(JwtVerifiedCredentialToJSON)),
|
|
57
57
|
'alias': value.alias,
|
|
58
58
|
'country': value.country,
|
|
59
59
|
'email': value.email,
|
package/src/models/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export * from './AnalyticsVisitResponse';
|
|
|
8
8
|
export * from './AuthModeEnum';
|
|
9
9
|
export * from './AuthenticatorTransportProtocol';
|
|
10
10
|
export * from './BadRequest';
|
|
11
|
+
export * from './BaseUser';
|
|
11
12
|
export * from './BillingSubscription';
|
|
12
13
|
export * from './BillingSubscriptionPlanTypeEnum';
|
|
13
14
|
export * from './ChainEnum';
|