@dynamic-labs/sdk-api 0.0.501 → 0.0.503
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 +1 -0
- package/src/apis/AllowlistsApi.js +1 -0
- package/src/apis/AnalyticsApi.cjs +1 -0
- package/src/apis/AnalyticsApi.js +1 -0
- package/src/apis/ChainalysisApi.cjs +1 -0
- package/src/apis/ChainalysisApi.js +1 -0
- package/src/apis/ChainsApi.cjs +1 -0
- package/src/apis/ChainsApi.js +1 -0
- package/src/apis/CustomFieldsApi.cjs +1 -0
- package/src/apis/CustomFieldsApi.js +1 -0
- package/src/apis/CustomHostnamesApi.cjs +1 -0
- package/src/apis/CustomHostnamesApi.js +1 -0
- package/src/apis/DeeplinkUrlsApi.cjs +1 -0
- package/src/apis/DeeplinkUrlsApi.js +1 -0
- package/src/apis/EnvironmentsApi.cjs +1 -0
- package/src/apis/EnvironmentsApi.js +1 -0
- package/src/apis/EventsApi.cjs +1 -0
- package/src/apis/EventsApi.js +1 -0
- package/src/apis/ExportsApi.cjs +1 -0
- package/src/apis/ExportsApi.js +1 -0
- package/src/apis/ExternalJwtApi.cjs +1 -0
- package/src/apis/ExternalJwtApi.js +1 -0
- package/src/apis/GatesApi.cjs +1 -0
- package/src/apis/GatesApi.js +1 -0
- package/src/apis/InvitesApi.cjs +1 -0
- package/src/apis/InvitesApi.js +1 -0
- package/src/apis/MembersApi.cjs +1 -0
- package/src/apis/MembersApi.js +1 -0
- package/src/apis/MfaSettingsApi.cjs +1 -0
- package/src/apis/MfaSettingsApi.js +1 -0
- package/src/apis/OrganizationsApi.cjs +1 -0
- package/src/apis/OrganizationsApi.js +1 -0
- package/src/apis/OriginsApi.cjs +1 -0
- package/src/apis/OriginsApi.js +1 -0
- package/src/apis/ProjectsApi.cjs +1 -0
- package/src/apis/ProjectsApi.js +1 -0
- package/src/apis/SDKApi.cjs +1 -0
- package/src/apis/SDKApi.js +1 -0
- package/src/apis/SDKViewsApi.cjs +1 -0
- package/src/apis/SDKViewsApi.js +1 -0
- package/src/apis/SessionsApi.cjs +1 -0
- package/src/apis/SessionsApi.js +1 -0
- package/src/apis/SettingsApi.cjs +1 -0
- package/src/apis/SettingsApi.js +1 -0
- package/src/apis/TestAccountApi.cjs +1 -0
- package/src/apis/TestAccountApi.js +1 -0
- package/src/apis/TokensApi.cjs +1 -0
- package/src/apis/TokensApi.js +1 -0
- package/src/apis/UsersApi.cjs +5 -3
- package/src/apis/UsersApi.d.ts +2 -2
- package/src/apis/UsersApi.js +5 -3
- package/src/apis/VisitsApi.cjs +1 -0
- package/src/apis/VisitsApi.js +1 -0
- package/src/apis/WalletsApi.cjs +3 -0
- package/src/apis/WalletsApi.d.ts +2 -0
- package/src/apis/WalletsApi.js +3 -0
- package/src/apis/WebhooksApi.cjs +1 -0
- package/src/apis/WebhooksApi.js +1 -0
- package/src/index.cjs +16 -0
- package/src/index.js +3 -0
- package/src/models/CreateEmbeddedWalletParams.cjs +5 -5
- package/src/models/CreateEmbeddedWalletParams.d.ts +5 -5
- package/src/models/CreateEmbeddedWalletParams.js +5 -5
- package/src/models/CreateUserEmbeddedWalletsFromFarcasterRequest.cjs +3 -3
- package/src/models/CreateUserEmbeddedWalletsFromFarcasterRequest.d.ts +3 -3
- package/src/models/CreateUserEmbeddedWalletsFromFarcasterRequest.js +3 -3
- package/src/models/CreateUserEmbeddedWalletsRequest.cjs +5 -5
- package/src/models/CreateUserEmbeddedWalletsRequest.d.ts +5 -5
- package/src/models/CreateUserEmbeddedWalletsRequest.js +5 -5
- package/src/models/EmbeddedWalletChainEnum.cjs +40 -0
- package/src/models/EmbeddedWalletChainEnum.d.ts +23 -0
- package/src/models/EmbeddedWalletChainEnum.js +34 -0
- package/src/models/InternalUpdatableUserFields.cjs +76 -0
- package/src/models/InternalUpdatableUserFields.d.ts +154 -0
- package/src/models/InternalUpdatableUserFields.js +70 -0
- package/src/models/InternalUserFields.d.ts +1 -1
- package/src/models/InternalUserFieldsAllOf.cjs +41 -0
- package/src/models/InternalUserFieldsAllOf.d.ts +47 -0
- package/src/models/InternalUserFieldsAllOf.js +35 -0
- package/src/models/index.d.ts +3 -0
|
@@ -0,0 +1,154 @@
|
|
|
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 { MfaBackupCodeAcknowledgement } from './MfaBackupCodeAcknowledgement';
|
|
13
|
+
/**
|
|
14
|
+
* User fields that can be updated on dashboard or through the rest API which do not involve any uniqueness checks or further verification
|
|
15
|
+
* @export
|
|
16
|
+
* @interface InternalUpdatableUserFields
|
|
17
|
+
*/
|
|
18
|
+
export interface InternalUpdatableUserFields {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof InternalUpdatableUserFields
|
|
23
|
+
*/
|
|
24
|
+
id?: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof InternalUpdatableUserFields
|
|
29
|
+
*/
|
|
30
|
+
alias?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof InternalUpdatableUserFields
|
|
35
|
+
*/
|
|
36
|
+
firstName?: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof InternalUpdatableUserFields
|
|
41
|
+
*/
|
|
42
|
+
lastName?: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof InternalUpdatableUserFields
|
|
47
|
+
*/
|
|
48
|
+
jobTitle?: string;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof InternalUpdatableUserFields
|
|
53
|
+
*/
|
|
54
|
+
phoneNumber?: string;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {object}
|
|
58
|
+
* @memberof InternalUpdatableUserFields
|
|
59
|
+
*/
|
|
60
|
+
metadata?: object;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {MfaBackupCodeAcknowledgement}
|
|
64
|
+
* @memberof InternalUpdatableUserFields
|
|
65
|
+
*/
|
|
66
|
+
mfaBackupCodeAcknowledgement?: MfaBackupCodeAcknowledgement | null;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof InternalUpdatableUserFields
|
|
71
|
+
*/
|
|
72
|
+
tShirtSize?: string;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof InternalUpdatableUserFields
|
|
77
|
+
*/
|
|
78
|
+
team?: string;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {boolean}
|
|
82
|
+
* @memberof InternalUpdatableUserFields
|
|
83
|
+
*/
|
|
84
|
+
policiesConsent?: boolean;
|
|
85
|
+
/**
|
|
86
|
+
* Standard ISO 3166-1 alpha-2 two-letter country code
|
|
87
|
+
* @type {string}
|
|
88
|
+
* @memberof InternalUpdatableUserFields
|
|
89
|
+
*/
|
|
90
|
+
country?: string | null;
|
|
91
|
+
/**
|
|
92
|
+
* Alphanumeric with slugs and underscores username
|
|
93
|
+
* @type {string}
|
|
94
|
+
* @memberof InternalUpdatableUserFields
|
|
95
|
+
*/
|
|
96
|
+
username?: string | null;
|
|
97
|
+
/**
|
|
98
|
+
* BTC wallet address
|
|
99
|
+
* @type {string}
|
|
100
|
+
* @memberof InternalUpdatableUserFields
|
|
101
|
+
*/
|
|
102
|
+
btcWallet?: string | null;
|
|
103
|
+
/**
|
|
104
|
+
* KDA wallet address
|
|
105
|
+
* @type {string}
|
|
106
|
+
* @memberof InternalUpdatableUserFields
|
|
107
|
+
*/
|
|
108
|
+
kdaWallet?: string | null;
|
|
109
|
+
/**
|
|
110
|
+
* LTC wallet address
|
|
111
|
+
* @type {string}
|
|
112
|
+
* @memberof InternalUpdatableUserFields
|
|
113
|
+
*/
|
|
114
|
+
ltcWallet?: string | null;
|
|
115
|
+
/**
|
|
116
|
+
* CKB wallet address
|
|
117
|
+
* @type {string}
|
|
118
|
+
* @memberof InternalUpdatableUserFields
|
|
119
|
+
*/
|
|
120
|
+
ckbWallet?: string | null;
|
|
121
|
+
/**
|
|
122
|
+
* KAS wallet address
|
|
123
|
+
* @type {string}
|
|
124
|
+
* @memberof InternalUpdatableUserFields
|
|
125
|
+
*/
|
|
126
|
+
kasWallet?: string | null;
|
|
127
|
+
/**
|
|
128
|
+
* DOGE wallet address
|
|
129
|
+
* @type {string}
|
|
130
|
+
* @memberof InternalUpdatableUserFields
|
|
131
|
+
*/
|
|
132
|
+
dogeWallet?: string | null;
|
|
133
|
+
/**
|
|
134
|
+
*
|
|
135
|
+
* @type {boolean}
|
|
136
|
+
* @memberof InternalUpdatableUserFields
|
|
137
|
+
*/
|
|
138
|
+
emailNotification?: boolean;
|
|
139
|
+
/**
|
|
140
|
+
*
|
|
141
|
+
* @type {boolean}
|
|
142
|
+
* @memberof InternalUpdatableUserFields
|
|
143
|
+
*/
|
|
144
|
+
discordNotification?: boolean;
|
|
145
|
+
/**
|
|
146
|
+
*
|
|
147
|
+
* @type {boolean}
|
|
148
|
+
* @memberof InternalUpdatableUserFields
|
|
149
|
+
*/
|
|
150
|
+
newsletterNotification?: boolean;
|
|
151
|
+
}
|
|
152
|
+
export declare function InternalUpdatableUserFieldsFromJSON(json: any): InternalUpdatableUserFields;
|
|
153
|
+
export declare function InternalUpdatableUserFieldsFromJSONTyped(json: any, ignoreDiscriminator: boolean): InternalUpdatableUserFields;
|
|
154
|
+
export declare function InternalUpdatableUserFieldsToJSON(value?: InternalUpdatableUserFields | null): any;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { MfaBackupCodeAcknowledgementFromJSON, MfaBackupCodeAcknowledgementToJSON } from './MfaBackupCodeAcknowledgement.js';
|
|
3
|
+
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
function InternalUpdatableUserFieldsFromJSON(json) {
|
|
6
|
+
return InternalUpdatableUserFieldsFromJSONTyped(json);
|
|
7
|
+
}
|
|
8
|
+
function InternalUpdatableUserFieldsFromJSONTyped(json, ignoreDiscriminator) {
|
|
9
|
+
if ((json === undefined) || (json === null)) {
|
|
10
|
+
return json;
|
|
11
|
+
}
|
|
12
|
+
return {
|
|
13
|
+
'id': !exists(json, 'id') ? undefined : json['id'],
|
|
14
|
+
'alias': !exists(json, 'alias') ? undefined : json['alias'],
|
|
15
|
+
'firstName': !exists(json, 'firstName') ? undefined : json['firstName'],
|
|
16
|
+
'lastName': !exists(json, 'lastName') ? undefined : json['lastName'],
|
|
17
|
+
'jobTitle': !exists(json, 'jobTitle') ? undefined : json['jobTitle'],
|
|
18
|
+
'phoneNumber': !exists(json, 'phoneNumber') ? undefined : json['phoneNumber'],
|
|
19
|
+
'metadata': !exists(json, 'metadata') ? undefined : json['metadata'],
|
|
20
|
+
'mfaBackupCodeAcknowledgement': !exists(json, 'mfaBackupCodeAcknowledgement') ? undefined : MfaBackupCodeAcknowledgementFromJSON(json['mfaBackupCodeAcknowledgement']),
|
|
21
|
+
'tShirtSize': !exists(json, 'tShirtSize') ? undefined : json['tShirtSize'],
|
|
22
|
+
'team': !exists(json, 'team') ? undefined : json['team'],
|
|
23
|
+
'policiesConsent': !exists(json, 'policiesConsent') ? undefined : json['policiesConsent'],
|
|
24
|
+
'country': !exists(json, 'country') ? undefined : json['country'],
|
|
25
|
+
'username': !exists(json, 'username') ? undefined : json['username'],
|
|
26
|
+
'btcWallet': !exists(json, 'btcWallet') ? undefined : json['btcWallet'],
|
|
27
|
+
'kdaWallet': !exists(json, 'kdaWallet') ? undefined : json['kdaWallet'],
|
|
28
|
+
'ltcWallet': !exists(json, 'ltcWallet') ? undefined : json['ltcWallet'],
|
|
29
|
+
'ckbWallet': !exists(json, 'ckbWallet') ? undefined : json['ckbWallet'],
|
|
30
|
+
'kasWallet': !exists(json, 'kasWallet') ? undefined : json['kasWallet'],
|
|
31
|
+
'dogeWallet': !exists(json, 'dogeWallet') ? undefined : json['dogeWallet'],
|
|
32
|
+
'emailNotification': !exists(json, 'emailNotification') ? undefined : json['emailNotification'],
|
|
33
|
+
'discordNotification': !exists(json, 'discordNotification') ? undefined : json['discordNotification'],
|
|
34
|
+
'newsletterNotification': !exists(json, 'newsletterNotification') ? undefined : json['newsletterNotification'],
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
function InternalUpdatableUserFieldsToJSON(value) {
|
|
38
|
+
if (value === undefined) {
|
|
39
|
+
return undefined;
|
|
40
|
+
}
|
|
41
|
+
if (value === null) {
|
|
42
|
+
return null;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'id': value.id,
|
|
46
|
+
'alias': value.alias,
|
|
47
|
+
'firstName': value.firstName,
|
|
48
|
+
'lastName': value.lastName,
|
|
49
|
+
'jobTitle': value.jobTitle,
|
|
50
|
+
'phoneNumber': value.phoneNumber,
|
|
51
|
+
'metadata': value.metadata,
|
|
52
|
+
'mfaBackupCodeAcknowledgement': MfaBackupCodeAcknowledgementToJSON(value.mfaBackupCodeAcknowledgement),
|
|
53
|
+
'tShirtSize': value.tShirtSize,
|
|
54
|
+
'team': value.team,
|
|
55
|
+
'policiesConsent': value.policiesConsent,
|
|
56
|
+
'country': value.country,
|
|
57
|
+
'username': value.username,
|
|
58
|
+
'btcWallet': value.btcWallet,
|
|
59
|
+
'kdaWallet': value.kdaWallet,
|
|
60
|
+
'ltcWallet': value.ltcWallet,
|
|
61
|
+
'ckbWallet': value.ckbWallet,
|
|
62
|
+
'kasWallet': value.kasWallet,
|
|
63
|
+
'dogeWallet': value.dogeWallet,
|
|
64
|
+
'emailNotification': value.emailNotification,
|
|
65
|
+
'discordNotification': value.discordNotification,
|
|
66
|
+
'newsletterNotification': value.newsletterNotification,
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export { InternalUpdatableUserFieldsFromJSON, InternalUpdatableUserFieldsFromJSONTyped, InternalUpdatableUserFieldsToJSON };
|
|
@@ -13,7 +13,7 @@ import { CreateUserOauthRequest } from './CreateUserOauthRequest';
|
|
|
13
13
|
import { CreateWalletRequest } from './CreateWalletRequest';
|
|
14
14
|
import { MfaBackupCodeAcknowledgement } from './MfaBackupCodeAcknowledgement';
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
16
|
+
*
|
|
17
17
|
* @export
|
|
18
18
|
* @interface InternalUserFields
|
|
19
19
|
*/
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
var CreateUserOauthRequest = require('./CreateUserOauthRequest.cjs');
|
|
7
|
+
var CreateWalletRequest = require('./CreateWalletRequest.cjs');
|
|
8
|
+
|
|
9
|
+
/* tslint:disable */
|
|
10
|
+
function InternalUserFieldsAllOfFromJSON(json) {
|
|
11
|
+
return InternalUserFieldsAllOfFromJSONTyped(json);
|
|
12
|
+
}
|
|
13
|
+
function InternalUserFieldsAllOfFromJSONTyped(json, ignoreDiscriminator) {
|
|
14
|
+
if ((json === undefined) || (json === null)) {
|
|
15
|
+
return json;
|
|
16
|
+
}
|
|
17
|
+
return {
|
|
18
|
+
'emailVerifiedAt': !runtime.exists(json, 'emailVerifiedAt') ? undefined : (new Date(json['emailVerifiedAt'])),
|
|
19
|
+
'email': !runtime.exists(json, 'email') ? undefined : json['email'],
|
|
20
|
+
'wallets': !runtime.exists(json, 'wallets') ? undefined : (json['wallets'].map(CreateWalletRequest.CreateWalletRequestFromJSON)),
|
|
21
|
+
'oauthAccounts': !runtime.exists(json, 'oauthAccounts') ? undefined : (json['oauthAccounts'].map(CreateUserOauthRequest.CreateUserOauthRequestFromJSON)),
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
function InternalUserFieldsAllOfToJSON(value) {
|
|
25
|
+
if (value === undefined) {
|
|
26
|
+
return undefined;
|
|
27
|
+
}
|
|
28
|
+
if (value === null) {
|
|
29
|
+
return null;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'emailVerifiedAt': value.emailVerifiedAt === undefined ? undefined : (value.emailVerifiedAt.toISOString()),
|
|
33
|
+
'email': value.email,
|
|
34
|
+
'wallets': value.wallets === undefined ? undefined : (value.wallets.map(CreateWalletRequest.CreateWalletRequestToJSON)),
|
|
35
|
+
'oauthAccounts': value.oauthAccounts === undefined ? undefined : (value.oauthAccounts.map(CreateUserOauthRequest.CreateUserOauthRequestToJSON)),
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
exports.InternalUserFieldsAllOfFromJSON = InternalUserFieldsAllOfFromJSON;
|
|
40
|
+
exports.InternalUserFieldsAllOfFromJSONTyped = InternalUserFieldsAllOfFromJSONTyped;
|
|
41
|
+
exports.InternalUserFieldsAllOfToJSON = InternalUserFieldsAllOfToJSON;
|
|
@@ -0,0 +1,47 @@
|
|
|
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 { CreateUserOauthRequest } from './CreateUserOauthRequest';
|
|
13
|
+
import { CreateWalletRequest } from './CreateWalletRequest';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface InternalUserFieldsAllOf
|
|
18
|
+
*/
|
|
19
|
+
export interface InternalUserFieldsAllOf {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Date}
|
|
23
|
+
* @memberof InternalUserFieldsAllOf
|
|
24
|
+
*/
|
|
25
|
+
emailVerifiedAt?: Date;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof InternalUserFieldsAllOf
|
|
30
|
+
*/
|
|
31
|
+
email?: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {Array<CreateWalletRequest>}
|
|
35
|
+
* @memberof InternalUserFieldsAllOf
|
|
36
|
+
*/
|
|
37
|
+
wallets?: Array<CreateWalletRequest>;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {Array<CreateUserOauthRequest>}
|
|
41
|
+
* @memberof InternalUserFieldsAllOf
|
|
42
|
+
*/
|
|
43
|
+
oauthAccounts?: Array<CreateUserOauthRequest>;
|
|
44
|
+
}
|
|
45
|
+
export declare function InternalUserFieldsAllOfFromJSON(json: any): InternalUserFieldsAllOf;
|
|
46
|
+
export declare function InternalUserFieldsAllOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): InternalUserFieldsAllOf;
|
|
47
|
+
export declare function InternalUserFieldsAllOfToJSON(value?: InternalUserFieldsAllOf | null): any;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { CreateUserOauthRequestFromJSON, CreateUserOauthRequestToJSON } from './CreateUserOauthRequest.js';
|
|
3
|
+
import { CreateWalletRequestFromJSON, CreateWalletRequestToJSON } from './CreateWalletRequest.js';
|
|
4
|
+
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
function InternalUserFieldsAllOfFromJSON(json) {
|
|
7
|
+
return InternalUserFieldsAllOfFromJSONTyped(json);
|
|
8
|
+
}
|
|
9
|
+
function InternalUserFieldsAllOfFromJSONTyped(json, ignoreDiscriminator) {
|
|
10
|
+
if ((json === undefined) || (json === null)) {
|
|
11
|
+
return json;
|
|
12
|
+
}
|
|
13
|
+
return {
|
|
14
|
+
'emailVerifiedAt': !exists(json, 'emailVerifiedAt') ? undefined : (new Date(json['emailVerifiedAt'])),
|
|
15
|
+
'email': !exists(json, 'email') ? undefined : json['email'],
|
|
16
|
+
'wallets': !exists(json, 'wallets') ? undefined : (json['wallets'].map(CreateWalletRequestFromJSON)),
|
|
17
|
+
'oauthAccounts': !exists(json, 'oauthAccounts') ? undefined : (json['oauthAccounts'].map(CreateUserOauthRequestFromJSON)),
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
function InternalUserFieldsAllOfToJSON(value) {
|
|
21
|
+
if (value === undefined) {
|
|
22
|
+
return undefined;
|
|
23
|
+
}
|
|
24
|
+
if (value === null) {
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'emailVerifiedAt': value.emailVerifiedAt === undefined ? undefined : (value.emailVerifiedAt.toISOString()),
|
|
29
|
+
'email': value.email,
|
|
30
|
+
'wallets': value.wallets === undefined ? undefined : (value.wallets.map(CreateWalletRequestToJSON)),
|
|
31
|
+
'oauthAccounts': value.oauthAccounts === undefined ? undefined : (value.oauthAccounts.map(CreateUserOauthRequestToJSON)),
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export { InternalUserFieldsAllOfFromJSON, InternalUserFieldsAllOfFromJSONTyped, InternalUserFieldsAllOfToJSON };
|
package/src/models/index.d.ts
CHANGED
|
@@ -65,6 +65,7 @@ export * from './EmailVerificationRetryRequest';
|
|
|
65
65
|
export * from './EmailVerificationVerifyRequest';
|
|
66
66
|
export * from './EmbeddedWalletAuthToken';
|
|
67
67
|
export * from './EmbeddedWalletAuthType';
|
|
68
|
+
export * from './EmbeddedWalletChainEnum';
|
|
68
69
|
export * from './EmbeddedWalletPasscodeClaimRequest';
|
|
69
70
|
export * from './EmbeddedWalletProviderEnum';
|
|
70
71
|
export * from './EmbeddedWalletSecret';
|
|
@@ -119,7 +120,9 @@ export * from './InlineResponse201';
|
|
|
119
120
|
export * from './InlineResponse400';
|
|
120
121
|
export * from './IntegrationSetting';
|
|
121
122
|
export * from './InternalServerError';
|
|
123
|
+
export * from './InternalUpdatableUserFields';
|
|
122
124
|
export * from './InternalUserFields';
|
|
125
|
+
export * from './InternalUserFieldsAllOf';
|
|
123
126
|
export * from './Invite';
|
|
124
127
|
export * from './InviteConflictResponse';
|
|
125
128
|
export * from './InviteSendRequest';
|