@dynamic-labs/sdk-api 0.0.243 → 0.0.245
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/index.cjs +4 -0
- package/src/index.js +1 -0
- package/src/models/InternalUserFields.cjs +2 -0
- package/src/models/InternalUserFields.d.ts +7 -1
- package/src/models/InternalUserFields.js +2 -0
- package/src/models/SdkUser.cjs +2 -0
- package/src/models/SdkUser.d.ts +6 -0
- package/src/models/SdkUser.js +2 -0
- package/src/models/UnprocessableEntity.cjs +3 -0
- package/src/models/UnprocessableEntity.d.ts +7 -0
- package/src/models/UnprocessableEntity.js +3 -0
- package/src/models/UnprocessableEntityErrorPayload.cjs +40 -0
- package/src/models/UnprocessableEntityErrorPayload.d.ts +46 -0
- package/src/models/UnprocessableEntityErrorPayload.js +34 -0
- package/src/models/User.cjs +2 -0
- package/src/models/User.d.ts +6 -0
- package/src/models/User.js +2 -0
- package/src/models/UserFields.cjs +2 -0
- package/src/models/UserFields.d.ts +7 -1
- package/src/models/UserFields.js +2 -0
- package/src/models/index.d.ts +1 -0
package/package.json
CHANGED
package/src/index.cjs
CHANGED
|
@@ -169,6 +169,7 @@ var TokensResponse = require('./models/TokensResponse.cjs');
|
|
|
169
169
|
var Unauthorized = require('./models/Unauthorized.cjs');
|
|
170
170
|
var UnprocessableEntity = require('./models/UnprocessableEntity.cjs');
|
|
171
171
|
var UnprocessableEntityErrorCode = require('./models/UnprocessableEntityErrorCode.cjs');
|
|
172
|
+
var UnprocessableEntityErrorPayload = require('./models/UnprocessableEntityErrorPayload.cjs');
|
|
172
173
|
var UpdateProjectRequest = require('./models/UpdateProjectRequest.cjs');
|
|
173
174
|
var UpdateProjectResponse = require('./models/UpdateProjectResponse.cjs');
|
|
174
175
|
var UpdateSelfResponse = require('./models/UpdateSelfResponse.cjs');
|
|
@@ -749,6 +750,9 @@ Object.defineProperty(exports, 'UnprocessableEntityErrorCode', {
|
|
|
749
750
|
exports.UnprocessableEntityErrorCodeFromJSON = UnprocessableEntityErrorCode.UnprocessableEntityErrorCodeFromJSON;
|
|
750
751
|
exports.UnprocessableEntityErrorCodeFromJSONTyped = UnprocessableEntityErrorCode.UnprocessableEntityErrorCodeFromJSONTyped;
|
|
751
752
|
exports.UnprocessableEntityErrorCodeToJSON = UnprocessableEntityErrorCode.UnprocessableEntityErrorCodeToJSON;
|
|
753
|
+
exports.UnprocessableEntityErrorPayloadFromJSON = UnprocessableEntityErrorPayload.UnprocessableEntityErrorPayloadFromJSON;
|
|
754
|
+
exports.UnprocessableEntityErrorPayloadFromJSONTyped = UnprocessableEntityErrorPayload.UnprocessableEntityErrorPayloadFromJSONTyped;
|
|
755
|
+
exports.UnprocessableEntityErrorPayloadToJSON = UnprocessableEntityErrorPayload.UnprocessableEntityErrorPayloadToJSON;
|
|
752
756
|
exports.UpdateProjectRequestFromJSON = UpdateProjectRequest.UpdateProjectRequestFromJSON;
|
|
753
757
|
exports.UpdateProjectRequestFromJSONTyped = UpdateProjectRequest.UpdateProjectRequestFromJSONTyped;
|
|
754
758
|
exports.UpdateProjectRequestToJSON = UpdateProjectRequest.UpdateProjectRequestToJSON;
|
package/src/index.js
CHANGED
|
@@ -165,6 +165,7 @@ export { TokensResponseFromJSON, TokensResponseFromJSONTyped, TokensResponseToJS
|
|
|
165
165
|
export { UnauthorizedFromJSON, UnauthorizedFromJSONTyped, UnauthorizedToJSON } from './models/Unauthorized.js';
|
|
166
166
|
export { UnprocessableEntityFromJSON, UnprocessableEntityFromJSONTyped, UnprocessableEntityToJSON } from './models/UnprocessableEntity.js';
|
|
167
167
|
export { UnprocessableEntityErrorCode, UnprocessableEntityErrorCodeFromJSON, UnprocessableEntityErrorCodeFromJSONTyped, UnprocessableEntityErrorCodeToJSON } from './models/UnprocessableEntityErrorCode.js';
|
|
168
|
+
export { UnprocessableEntityErrorPayloadFromJSON, UnprocessableEntityErrorPayloadFromJSONTyped, UnprocessableEntityErrorPayloadToJSON } from './models/UnprocessableEntityErrorPayload.js';
|
|
168
169
|
export { UpdateProjectRequestFromJSON, UpdateProjectRequestFromJSONTyped, UpdateProjectRequestToJSON } from './models/UpdateProjectRequest.js';
|
|
169
170
|
export { UpdateProjectResponseFromJSON, UpdateProjectResponseFromJSONTyped, UpdateProjectResponseToJSON } from './models/UpdateProjectResponse.js';
|
|
170
171
|
export { UpdateSelfResponseFromJSON, UpdateSelfResponseFromJSONTyped, UpdateSelfResponseToJSON } from './models/UpdateSelfResponse.js';
|
|
@@ -29,6 +29,7 @@ function InternalUserFieldsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
29
29
|
'ltcWallet': !runtime.exists(json, 'ltcWallet') ? undefined : json['ltcWallet'],
|
|
30
30
|
'ckbWallet': !runtime.exists(json, 'ckbWallet') ? undefined : json['ckbWallet'],
|
|
31
31
|
'kasWallet': !runtime.exists(json, 'kasWallet') ? undefined : json['kasWallet'],
|
|
32
|
+
'dogeWallet': !runtime.exists(json, 'dogeWallet') ? undefined : json['dogeWallet'],
|
|
32
33
|
'emailNotification': !runtime.exists(json, 'emailNotification') ? undefined : json['emailNotification'],
|
|
33
34
|
'discordNotification': !runtime.exists(json, 'discordNotification') ? undefined : json['discordNotification'],
|
|
34
35
|
'newsletterNotification': !runtime.exists(json, 'newsletterNotification') ? undefined : json['newsletterNotification'],
|
|
@@ -58,6 +59,7 @@ function InternalUserFieldsToJSON(value) {
|
|
|
58
59
|
'ltcWallet': value.ltcWallet,
|
|
59
60
|
'ckbWallet': value.ckbWallet,
|
|
60
61
|
'kasWallet': value.kasWallet,
|
|
62
|
+
'dogeWallet': value.dogeWallet,
|
|
61
63
|
'emailNotification': value.emailNotification,
|
|
62
64
|
'discordNotification': value.discordNotification,
|
|
63
65
|
'newsletterNotification': value.newsletterNotification,
|
|
@@ -94,7 +94,7 @@ export interface InternalUserFields {
|
|
|
94
94
|
*/
|
|
95
95
|
kdaWallet?: string | null;
|
|
96
96
|
/**
|
|
97
|
-
* LTC
|
|
97
|
+
* LTC wallet address
|
|
98
98
|
* @type {string}
|
|
99
99
|
* @memberof InternalUserFields
|
|
100
100
|
*/
|
|
@@ -111,6 +111,12 @@ export interface InternalUserFields {
|
|
|
111
111
|
* @memberof InternalUserFields
|
|
112
112
|
*/
|
|
113
113
|
kasWallet?: string | null;
|
|
114
|
+
/**
|
|
115
|
+
* DOGE wallet address
|
|
116
|
+
* @type {string}
|
|
117
|
+
* @memberof InternalUserFields
|
|
118
|
+
*/
|
|
119
|
+
dogeWallet?: string | null;
|
|
114
120
|
/**
|
|
115
121
|
*
|
|
116
122
|
* @type {boolean}
|
|
@@ -25,6 +25,7 @@ function InternalUserFieldsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
25
25
|
'ltcWallet': !exists(json, 'ltcWallet') ? undefined : json['ltcWallet'],
|
|
26
26
|
'ckbWallet': !exists(json, 'ckbWallet') ? undefined : json['ckbWallet'],
|
|
27
27
|
'kasWallet': !exists(json, 'kasWallet') ? undefined : json['kasWallet'],
|
|
28
|
+
'dogeWallet': !exists(json, 'dogeWallet') ? undefined : json['dogeWallet'],
|
|
28
29
|
'emailNotification': !exists(json, 'emailNotification') ? undefined : json['emailNotification'],
|
|
29
30
|
'discordNotification': !exists(json, 'discordNotification') ? undefined : json['discordNotification'],
|
|
30
31
|
'newsletterNotification': !exists(json, 'newsletterNotification') ? undefined : json['newsletterNotification'],
|
|
@@ -54,6 +55,7 @@ function InternalUserFieldsToJSON(value) {
|
|
|
54
55
|
'ltcWallet': value.ltcWallet,
|
|
55
56
|
'ckbWallet': value.ckbWallet,
|
|
56
57
|
'kasWallet': value.kasWallet,
|
|
58
|
+
'dogeWallet': value.dogeWallet,
|
|
57
59
|
'emailNotification': value.emailNotification,
|
|
58
60
|
'discordNotification': value.discordNotification,
|
|
59
61
|
'newsletterNotification': value.newsletterNotification,
|
package/src/models/SdkUser.cjs
CHANGED
|
@@ -37,6 +37,7 @@ function SdkUserFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
37
|
'ltcWallet': !runtime.exists(json, 'ltcWallet') ? undefined : json['ltcWallet'],
|
|
38
38
|
'ckbWallet': !runtime.exists(json, 'ckbWallet') ? undefined : json['ckbWallet'],
|
|
39
39
|
'kasWallet': !runtime.exists(json, 'kasWallet') ? undefined : json['kasWallet'],
|
|
40
|
+
'dogeWallet': !runtime.exists(json, 'dogeWallet') ? undefined : json['dogeWallet'],
|
|
40
41
|
'emailNotification': !runtime.exists(json, 'emailNotification') ? undefined : json['emailNotification'],
|
|
41
42
|
'discordNotification': !runtime.exists(json, 'discordNotification') ? undefined : json['discordNotification'],
|
|
42
43
|
'newsletterNotification': !runtime.exists(json, 'newsletterNotification') ? undefined : json['newsletterNotification'],
|
|
@@ -73,6 +74,7 @@ function SdkUserToJSON(value) {
|
|
|
73
74
|
'ltcWallet': value.ltcWallet,
|
|
74
75
|
'ckbWallet': value.ckbWallet,
|
|
75
76
|
'kasWallet': value.kasWallet,
|
|
77
|
+
'dogeWallet': value.dogeWallet,
|
|
76
78
|
'emailNotification': value.emailNotification,
|
|
77
79
|
'discordNotification': value.discordNotification,
|
|
78
80
|
'newsletterNotification': value.newsletterNotification,
|
package/src/models/SdkUser.d.ts
CHANGED
package/src/models/SdkUser.js
CHANGED
|
@@ -33,6 +33,7 @@ function SdkUserFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
33
33
|
'ltcWallet': !exists(json, 'ltcWallet') ? undefined : json['ltcWallet'],
|
|
34
34
|
'ckbWallet': !exists(json, 'ckbWallet') ? undefined : json['ckbWallet'],
|
|
35
35
|
'kasWallet': !exists(json, 'kasWallet') ? undefined : json['kasWallet'],
|
|
36
|
+
'dogeWallet': !exists(json, 'dogeWallet') ? undefined : json['dogeWallet'],
|
|
36
37
|
'emailNotification': !exists(json, 'emailNotification') ? undefined : json['emailNotification'],
|
|
37
38
|
'discordNotification': !exists(json, 'discordNotification') ? undefined : json['discordNotification'],
|
|
38
39
|
'newsletterNotification': !exists(json, 'newsletterNotification') ? undefined : json['newsletterNotification'],
|
|
@@ -69,6 +70,7 @@ function SdkUserToJSON(value) {
|
|
|
69
70
|
'ltcWallet': value.ltcWallet,
|
|
70
71
|
'ckbWallet': value.ckbWallet,
|
|
71
72
|
'kasWallet': value.kasWallet,
|
|
73
|
+
'dogeWallet': value.dogeWallet,
|
|
72
74
|
'emailNotification': value.emailNotification,
|
|
73
75
|
'discordNotification': value.discordNotification,
|
|
74
76
|
'newsletterNotification': value.newsletterNotification,
|
|
@@ -4,6 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var runtime = require('../runtime.cjs');
|
|
6
6
|
var UnprocessableEntityErrorCode = require('./UnprocessableEntityErrorCode.cjs');
|
|
7
|
+
var UnprocessableEntityErrorPayload = require('./UnprocessableEntityErrorPayload.cjs');
|
|
7
8
|
|
|
8
9
|
/* tslint:disable */
|
|
9
10
|
function UnprocessableEntityFromJSON(json) {
|
|
@@ -16,6 +17,7 @@ function UnprocessableEntityFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
16
17
|
return {
|
|
17
18
|
'error': json['error'],
|
|
18
19
|
'code': !runtime.exists(json, 'code') ? undefined : UnprocessableEntityErrorCode.UnprocessableEntityErrorCodeFromJSON(json['code']),
|
|
20
|
+
'payload': !runtime.exists(json, 'payload') ? undefined : UnprocessableEntityErrorPayload.UnprocessableEntityErrorPayloadFromJSON(json['payload']),
|
|
19
21
|
};
|
|
20
22
|
}
|
|
21
23
|
function UnprocessableEntityToJSON(value) {
|
|
@@ -28,6 +30,7 @@ function UnprocessableEntityToJSON(value) {
|
|
|
28
30
|
return {
|
|
29
31
|
'error': value.error,
|
|
30
32
|
'code': UnprocessableEntityErrorCode.UnprocessableEntityErrorCodeToJSON(value.code),
|
|
33
|
+
'payload': UnprocessableEntityErrorPayload.UnprocessableEntityErrorPayloadToJSON(value.payload),
|
|
31
34
|
};
|
|
32
35
|
}
|
|
33
36
|
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { UnprocessableEntityErrorCode } from './UnprocessableEntityErrorCode';
|
|
13
|
+
import { UnprocessableEntityErrorPayload } from './UnprocessableEntityErrorPayload';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
15
16
|
* @export
|
|
@@ -28,6 +29,12 @@ export interface UnprocessableEntity {
|
|
|
28
29
|
* @memberof UnprocessableEntity
|
|
29
30
|
*/
|
|
30
31
|
code?: UnprocessableEntityErrorCode;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {UnprocessableEntityErrorPayload}
|
|
35
|
+
* @memberof UnprocessableEntity
|
|
36
|
+
*/
|
|
37
|
+
payload?: UnprocessableEntityErrorPayload;
|
|
31
38
|
}
|
|
32
39
|
export declare function UnprocessableEntityFromJSON(json: any): UnprocessableEntity;
|
|
33
40
|
export declare function UnprocessableEntityFromJSONTyped(json: any, ignoreDiscriminator: boolean): UnprocessableEntity;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
2
|
import { UnprocessableEntityErrorCodeFromJSON, UnprocessableEntityErrorCodeToJSON } from './UnprocessableEntityErrorCode.js';
|
|
3
|
+
import { UnprocessableEntityErrorPayloadFromJSON, UnprocessableEntityErrorPayloadToJSON } from './UnprocessableEntityErrorPayload.js';
|
|
3
4
|
|
|
4
5
|
/* tslint:disable */
|
|
5
6
|
function UnprocessableEntityFromJSON(json) {
|
|
@@ -12,6 +13,7 @@ function UnprocessableEntityFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
12
13
|
return {
|
|
13
14
|
'error': json['error'],
|
|
14
15
|
'code': !exists(json, 'code') ? undefined : UnprocessableEntityErrorCodeFromJSON(json['code']),
|
|
16
|
+
'payload': !exists(json, 'payload') ? undefined : UnprocessableEntityErrorPayloadFromJSON(json['payload']),
|
|
15
17
|
};
|
|
16
18
|
}
|
|
17
19
|
function UnprocessableEntityToJSON(value) {
|
|
@@ -24,6 +26,7 @@ function UnprocessableEntityToJSON(value) {
|
|
|
24
26
|
return {
|
|
25
27
|
'error': value.error,
|
|
26
28
|
'code': UnprocessableEntityErrorCodeToJSON(value.code),
|
|
29
|
+
'payload': UnprocessableEntityErrorPayloadToJSON(value.payload),
|
|
27
30
|
};
|
|
28
31
|
}
|
|
29
32
|
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
var ProviderEnum = require('./ProviderEnum.cjs');
|
|
7
|
+
|
|
8
|
+
/* tslint:disable */
|
|
9
|
+
function UnprocessableEntityErrorPayloadFromJSON(json) {
|
|
10
|
+
return UnprocessableEntityErrorPayloadFromJSONTyped(json);
|
|
11
|
+
}
|
|
12
|
+
function UnprocessableEntityErrorPayloadFromJSONTyped(json, ignoreDiscriminator) {
|
|
13
|
+
if ((json === undefined) || (json === null)) {
|
|
14
|
+
return json;
|
|
15
|
+
}
|
|
16
|
+
return {
|
|
17
|
+
'email': !runtime.exists(json, 'email') ? undefined : json['email'],
|
|
18
|
+
'loginProvider': !runtime.exists(json, 'loginProvider') ? undefined : ProviderEnum.ProviderEnumFromJSON(json['loginProvider']),
|
|
19
|
+
'embeddedWalletName': !runtime.exists(json, 'embeddedWalletName') ? undefined : json['embeddedWalletName'],
|
|
20
|
+
'embeddedSocialSigninProvider': !runtime.exists(json, 'embeddedSocialSigninProvider') ? undefined : ProviderEnum.ProviderEnumFromJSON(json['embeddedSocialSigninProvider']),
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
function UnprocessableEntityErrorPayloadToJSON(value) {
|
|
24
|
+
if (value === undefined) {
|
|
25
|
+
return undefined;
|
|
26
|
+
}
|
|
27
|
+
if (value === null) {
|
|
28
|
+
return null;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'email': value.email,
|
|
32
|
+
'loginProvider': ProviderEnum.ProviderEnumToJSON(value.loginProvider),
|
|
33
|
+
'embeddedWalletName': value.embeddedWalletName,
|
|
34
|
+
'embeddedSocialSigninProvider': ProviderEnum.ProviderEnumToJSON(value.embeddedSocialSigninProvider),
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
exports.UnprocessableEntityErrorPayloadFromJSON = UnprocessableEntityErrorPayloadFromJSON;
|
|
39
|
+
exports.UnprocessableEntityErrorPayloadFromJSONTyped = UnprocessableEntityErrorPayloadFromJSONTyped;
|
|
40
|
+
exports.UnprocessableEntityErrorPayloadToJSON = UnprocessableEntityErrorPayloadToJSON;
|
|
@@ -0,0 +1,46 @@
|
|
|
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 { ProviderEnum } from './ProviderEnum';
|
|
13
|
+
/**
|
|
14
|
+
* Contains information which the integrating client of this API can use to tailor an experience to a customer to fix the underlying issue that triggered this error.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface UnprocessableEntityErrorPayload
|
|
17
|
+
*/
|
|
18
|
+
export interface UnprocessableEntityErrorPayload {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof UnprocessableEntityErrorPayload
|
|
23
|
+
*/
|
|
24
|
+
email?: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {ProviderEnum}
|
|
28
|
+
* @memberof UnprocessableEntityErrorPayload
|
|
29
|
+
*/
|
|
30
|
+
loginProvider?: ProviderEnum;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof UnprocessableEntityErrorPayload
|
|
35
|
+
*/
|
|
36
|
+
embeddedWalletName?: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {ProviderEnum}
|
|
40
|
+
* @memberof UnprocessableEntityErrorPayload
|
|
41
|
+
*/
|
|
42
|
+
embeddedSocialSigninProvider?: ProviderEnum;
|
|
43
|
+
}
|
|
44
|
+
export declare function UnprocessableEntityErrorPayloadFromJSON(json: any): UnprocessableEntityErrorPayload;
|
|
45
|
+
export declare function UnprocessableEntityErrorPayloadFromJSONTyped(json: any, ignoreDiscriminator: boolean): UnprocessableEntityErrorPayload;
|
|
46
|
+
export declare function UnprocessableEntityErrorPayloadToJSON(value?: UnprocessableEntityErrorPayload | null): any;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { ProviderEnumFromJSON, ProviderEnumToJSON } from './ProviderEnum.js';
|
|
3
|
+
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
function UnprocessableEntityErrorPayloadFromJSON(json) {
|
|
6
|
+
return UnprocessableEntityErrorPayloadFromJSONTyped(json);
|
|
7
|
+
}
|
|
8
|
+
function UnprocessableEntityErrorPayloadFromJSONTyped(json, ignoreDiscriminator) {
|
|
9
|
+
if ((json === undefined) || (json === null)) {
|
|
10
|
+
return json;
|
|
11
|
+
}
|
|
12
|
+
return {
|
|
13
|
+
'email': !exists(json, 'email') ? undefined : json['email'],
|
|
14
|
+
'loginProvider': !exists(json, 'loginProvider') ? undefined : ProviderEnumFromJSON(json['loginProvider']),
|
|
15
|
+
'embeddedWalletName': !exists(json, 'embeddedWalletName') ? undefined : json['embeddedWalletName'],
|
|
16
|
+
'embeddedSocialSigninProvider': !exists(json, 'embeddedSocialSigninProvider') ? undefined : ProviderEnumFromJSON(json['embeddedSocialSigninProvider']),
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
function UnprocessableEntityErrorPayloadToJSON(value) {
|
|
20
|
+
if (value === undefined) {
|
|
21
|
+
return undefined;
|
|
22
|
+
}
|
|
23
|
+
if (value === null) {
|
|
24
|
+
return null;
|
|
25
|
+
}
|
|
26
|
+
return {
|
|
27
|
+
'email': value.email,
|
|
28
|
+
'loginProvider': ProviderEnumToJSON(value.loginProvider),
|
|
29
|
+
'embeddedWalletName': value.embeddedWalletName,
|
|
30
|
+
'embeddedSocialSigninProvider': ProviderEnumToJSON(value.embeddedSocialSigninProvider),
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export { UnprocessableEntityErrorPayloadFromJSON, UnprocessableEntityErrorPayloadFromJSONTyped, UnprocessableEntityErrorPayloadToJSON };
|
package/src/models/User.cjs
CHANGED
|
@@ -41,6 +41,7 @@ function UserFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
41
41
|
'ltcWallet': !runtime.exists(json, 'ltcWallet') ? undefined : json['ltcWallet'],
|
|
42
42
|
'ckbWallet': !runtime.exists(json, 'ckbWallet') ? undefined : json['ckbWallet'],
|
|
43
43
|
'kasWallet': !runtime.exists(json, 'kasWallet') ? undefined : json['kasWallet'],
|
|
44
|
+
'dogeWallet': !runtime.exists(json, 'dogeWallet') ? undefined : json['dogeWallet'],
|
|
44
45
|
'emailNotification': !runtime.exists(json, 'emailNotification') ? undefined : json['emailNotification'],
|
|
45
46
|
'discordNotification': !runtime.exists(json, 'discordNotification') ? undefined : json['discordNotification'],
|
|
46
47
|
'newsletterNotification': !runtime.exists(json, 'newsletterNotification') ? undefined : json['newsletterNotification'],
|
|
@@ -85,6 +86,7 @@ function UserToJSON(value) {
|
|
|
85
86
|
'ltcWallet': value.ltcWallet,
|
|
86
87
|
'ckbWallet': value.ckbWallet,
|
|
87
88
|
'kasWallet': value.kasWallet,
|
|
89
|
+
'dogeWallet': value.dogeWallet,
|
|
88
90
|
'emailNotification': value.emailNotification,
|
|
89
91
|
'discordNotification': value.discordNotification,
|
|
90
92
|
'newsletterNotification': value.newsletterNotification,
|
package/src/models/User.d.ts
CHANGED
package/src/models/User.js
CHANGED
|
@@ -37,6 +37,7 @@ function UserFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
37
|
'ltcWallet': !exists(json, 'ltcWallet') ? undefined : json['ltcWallet'],
|
|
38
38
|
'ckbWallet': !exists(json, 'ckbWallet') ? undefined : json['ckbWallet'],
|
|
39
39
|
'kasWallet': !exists(json, 'kasWallet') ? undefined : json['kasWallet'],
|
|
40
|
+
'dogeWallet': !exists(json, 'dogeWallet') ? undefined : json['dogeWallet'],
|
|
40
41
|
'emailNotification': !exists(json, 'emailNotification') ? undefined : json['emailNotification'],
|
|
41
42
|
'discordNotification': !exists(json, 'discordNotification') ? undefined : json['discordNotification'],
|
|
42
43
|
'newsletterNotification': !exists(json, 'newsletterNotification') ? undefined : json['newsletterNotification'],
|
|
@@ -81,6 +82,7 @@ function UserToJSON(value) {
|
|
|
81
82
|
'ltcWallet': value.ltcWallet,
|
|
82
83
|
'ckbWallet': value.ckbWallet,
|
|
83
84
|
'kasWallet': value.kasWallet,
|
|
85
|
+
'dogeWallet': value.dogeWallet,
|
|
84
86
|
'emailNotification': value.emailNotification,
|
|
85
87
|
'discordNotification': value.discordNotification,
|
|
86
88
|
'newsletterNotification': value.newsletterNotification,
|
|
@@ -31,6 +31,7 @@ function UserFieldsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
31
31
|
'ltcWallet': !runtime.exists(json, 'ltcWallet') ? undefined : json['ltcWallet'],
|
|
32
32
|
'ckbWallet': !runtime.exists(json, 'ckbWallet') ? undefined : json['ckbWallet'],
|
|
33
33
|
'kasWallet': !runtime.exists(json, 'kasWallet') ? undefined : json['kasWallet'],
|
|
34
|
+
'dogeWallet': !runtime.exists(json, 'dogeWallet') ? undefined : json['dogeWallet'],
|
|
34
35
|
'emailNotification': !runtime.exists(json, 'emailNotification') ? undefined : json['emailNotification'],
|
|
35
36
|
'discordNotification': !runtime.exists(json, 'discordNotification') ? undefined : json['discordNotification'],
|
|
36
37
|
'newsletterNotification': !runtime.exists(json, 'newsletterNotification') ? undefined : json['newsletterNotification'],
|
|
@@ -62,6 +63,7 @@ function UserFieldsToJSON(value) {
|
|
|
62
63
|
'ltcWallet': value.ltcWallet,
|
|
63
64
|
'ckbWallet': value.ckbWallet,
|
|
64
65
|
'kasWallet': value.kasWallet,
|
|
66
|
+
'dogeWallet': value.dogeWallet,
|
|
65
67
|
'emailNotification': value.emailNotification,
|
|
66
68
|
'discordNotification': value.discordNotification,
|
|
67
69
|
'newsletterNotification': value.newsletterNotification,
|
|
@@ -106,7 +106,7 @@ export interface UserFields {
|
|
|
106
106
|
*/
|
|
107
107
|
kdaWallet?: string | null;
|
|
108
108
|
/**
|
|
109
|
-
* LTC
|
|
109
|
+
* LTC wallet address
|
|
110
110
|
* @type {string}
|
|
111
111
|
* @memberof UserFields
|
|
112
112
|
*/
|
|
@@ -123,6 +123,12 @@ export interface UserFields {
|
|
|
123
123
|
* @memberof UserFields
|
|
124
124
|
*/
|
|
125
125
|
kasWallet?: string | null;
|
|
126
|
+
/**
|
|
127
|
+
* DOGE wallet address
|
|
128
|
+
* @type {string}
|
|
129
|
+
* @memberof UserFields
|
|
130
|
+
*/
|
|
131
|
+
dogeWallet?: string | null;
|
|
126
132
|
/**
|
|
127
133
|
*
|
|
128
134
|
* @type {boolean}
|
package/src/models/UserFields.js
CHANGED
|
@@ -27,6 +27,7 @@ function UserFieldsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
27
27
|
'ltcWallet': !exists(json, 'ltcWallet') ? undefined : json['ltcWallet'],
|
|
28
28
|
'ckbWallet': !exists(json, 'ckbWallet') ? undefined : json['ckbWallet'],
|
|
29
29
|
'kasWallet': !exists(json, 'kasWallet') ? undefined : json['kasWallet'],
|
|
30
|
+
'dogeWallet': !exists(json, 'dogeWallet') ? undefined : json['dogeWallet'],
|
|
30
31
|
'emailNotification': !exists(json, 'emailNotification') ? undefined : json['emailNotification'],
|
|
31
32
|
'discordNotification': !exists(json, 'discordNotification') ? undefined : json['discordNotification'],
|
|
32
33
|
'newsletterNotification': !exists(json, 'newsletterNotification') ? undefined : json['newsletterNotification'],
|
|
@@ -58,6 +59,7 @@ function UserFieldsToJSON(value) {
|
|
|
58
59
|
'ltcWallet': value.ltcWallet,
|
|
59
60
|
'ckbWallet': value.ckbWallet,
|
|
60
61
|
'kasWallet': value.kasWallet,
|
|
62
|
+
'dogeWallet': value.dogeWallet,
|
|
61
63
|
'emailNotification': value.emailNotification,
|
|
62
64
|
'discordNotification': value.discordNotification,
|
|
63
65
|
'newsletterNotification': value.newsletterNotification,
|
package/src/models/index.d.ts
CHANGED
|
@@ -145,6 +145,7 @@ export * from './TokensResponse';
|
|
|
145
145
|
export * from './Unauthorized';
|
|
146
146
|
export * from './UnprocessableEntity';
|
|
147
147
|
export * from './UnprocessableEntityErrorCode';
|
|
148
|
+
export * from './UnprocessableEntityErrorPayload';
|
|
148
149
|
export * from './UpdateProjectRequest';
|
|
149
150
|
export * from './UpdateProjectResponse';
|
|
150
151
|
export * from './UpdateSelfResponse';
|