@dynamic-labs/sdk-api 0.0.238 → 0.0.240
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/SDKApi.cjs +3 -0
- package/src/apis/SDKApi.d.ts +1 -1
- package/src/apis/SDKApi.js +3 -0
- package/src/models/DynamicJwt.cjs +2 -0
- package/src/models/DynamicJwt.d.ts +6 -0
- package/src/models/DynamicJwt.js +2 -0
- package/src/models/InternalUserFields.cjs +2 -0
- package/src/models/InternalUserFields.d.ts +6 -0
- 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/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 +6 -0
- package/src/models/UserFields.js +2 -0
package/package.json
CHANGED
package/src/apis/SDKApi.cjs
CHANGED
|
@@ -549,6 +549,9 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
549
549
|
if (requestParameters.providerType === null || requestParameters.providerType === undefined) {
|
|
550
550
|
throw new runtime.RequiredError('providerType', 'Required parameter requestParameters.providerType was null or undefined when calling oauthRedirectCode.');
|
|
551
551
|
}
|
|
552
|
+
if (requestParameters.code === null || requestParameters.code === undefined) {
|
|
553
|
+
throw new runtime.RequiredError('code', 'Required parameter requestParameters.code was null or undefined when calling oauthRedirectCode.');
|
|
554
|
+
}
|
|
552
555
|
const queryParameters = {};
|
|
553
556
|
if (requestParameters.code !== undefined) {
|
|
554
557
|
queryParameters['code'] = requestParameters.code;
|
package/src/apis/SDKApi.d.ts
CHANGED
package/src/apis/SDKApi.js
CHANGED
|
@@ -545,6 +545,9 @@ class SDKApi extends BaseAPI {
|
|
|
545
545
|
if (requestParameters.providerType === null || requestParameters.providerType === undefined) {
|
|
546
546
|
throw new RequiredError('providerType', 'Required parameter requestParameters.providerType was null or undefined when calling oauthRedirectCode.');
|
|
547
547
|
}
|
|
548
|
+
if (requestParameters.code === null || requestParameters.code === undefined) {
|
|
549
|
+
throw new RequiredError('code', 'Required parameter requestParameters.code was null or undefined when calling oauthRedirectCode.');
|
|
550
|
+
}
|
|
548
551
|
const queryParameters = {};
|
|
549
552
|
if (requestParameters.code !== undefined) {
|
|
550
553
|
queryParameters['code'] = requestParameters.code;
|
|
@@ -51,6 +51,7 @@ function DynamicJwtFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
51
51
|
'kdaWallet': !runtime.exists(json, 'kda_wallet') ? undefined : json['kda_wallet'],
|
|
52
52
|
'ltcWallet': !runtime.exists(json, 'ltc_wallet') ? undefined : json['ltc_wallet'],
|
|
53
53
|
'ckbWallet': !runtime.exists(json, 'ckb_wallet') ? undefined : json['ckb_wallet'],
|
|
54
|
+
'kasWallet': !runtime.exists(json, 'kas_wallet') ? undefined : json['kas_wallet'],
|
|
54
55
|
'emailNotification': !runtime.exists(json, 'email_notification') ? undefined : json['email_notification'],
|
|
55
56
|
'discordNotification': !runtime.exists(json, 'discord_notification') ? undefined : json['discord_notification'],
|
|
56
57
|
'newsletterNotification': !runtime.exists(json, 'newsletter_notification') ? undefined : json['newsletter_notification'],
|
|
@@ -99,6 +100,7 @@ function DynamicJwtToJSON(value) {
|
|
|
99
100
|
'kda_wallet': value.kdaWallet,
|
|
100
101
|
'ltc_wallet': value.ltcWallet,
|
|
101
102
|
'ckb_wallet': value.ckbWallet,
|
|
103
|
+
'kas_wallet': value.kasWallet,
|
|
102
104
|
'email_notification': value.emailNotification,
|
|
103
105
|
'discord_notification': value.discordNotification,
|
|
104
106
|
'newsletter_notification': value.newsletterNotification,
|
package/src/models/DynamicJwt.js
CHANGED
|
@@ -47,6 +47,7 @@ function DynamicJwtFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
47
47
|
'kdaWallet': !exists(json, 'kda_wallet') ? undefined : json['kda_wallet'],
|
|
48
48
|
'ltcWallet': !exists(json, 'ltc_wallet') ? undefined : json['ltc_wallet'],
|
|
49
49
|
'ckbWallet': !exists(json, 'ckb_wallet') ? undefined : json['ckb_wallet'],
|
|
50
|
+
'kasWallet': !exists(json, 'kas_wallet') ? undefined : json['kas_wallet'],
|
|
50
51
|
'emailNotification': !exists(json, 'email_notification') ? undefined : json['email_notification'],
|
|
51
52
|
'discordNotification': !exists(json, 'discord_notification') ? undefined : json['discord_notification'],
|
|
52
53
|
'newsletterNotification': !exists(json, 'newsletter_notification') ? undefined : json['newsletter_notification'],
|
|
@@ -95,6 +96,7 @@ function DynamicJwtToJSON(value) {
|
|
|
95
96
|
'kda_wallet': value.kdaWallet,
|
|
96
97
|
'ltc_wallet': value.ltcWallet,
|
|
97
98
|
'ckb_wallet': value.ckbWallet,
|
|
99
|
+
'kas_wallet': value.kasWallet,
|
|
98
100
|
'email_notification': value.emailNotification,
|
|
99
101
|
'discord_notification': value.discordNotification,
|
|
100
102
|
'newsletter_notification': value.newsletterNotification,
|
|
@@ -28,6 +28,7 @@ function InternalUserFieldsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
28
28
|
'kdaWallet': !runtime.exists(json, 'kdaWallet') ? undefined : json['kdaWallet'],
|
|
29
29
|
'ltcWallet': !runtime.exists(json, 'ltcWallet') ? undefined : json['ltcWallet'],
|
|
30
30
|
'ckbWallet': !runtime.exists(json, 'ckbWallet') ? undefined : json['ckbWallet'],
|
|
31
|
+
'kasWallet': !runtime.exists(json, 'kasWallet') ? undefined : json['kasWallet'],
|
|
31
32
|
'emailNotification': !runtime.exists(json, 'emailNotification') ? undefined : json['emailNotification'],
|
|
32
33
|
'discordNotification': !runtime.exists(json, 'discordNotification') ? undefined : json['discordNotification'],
|
|
33
34
|
'newsletterNotification': !runtime.exists(json, 'newsletterNotification') ? undefined : json['newsletterNotification'],
|
|
@@ -56,6 +57,7 @@ function InternalUserFieldsToJSON(value) {
|
|
|
56
57
|
'kdaWallet': value.kdaWallet,
|
|
57
58
|
'ltcWallet': value.ltcWallet,
|
|
58
59
|
'ckbWallet': value.ckbWallet,
|
|
60
|
+
'kasWallet': value.kasWallet,
|
|
59
61
|
'emailNotification': value.emailNotification,
|
|
60
62
|
'discordNotification': value.discordNotification,
|
|
61
63
|
'newsletterNotification': value.newsletterNotification,
|
|
@@ -24,6 +24,7 @@ function InternalUserFieldsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
24
24
|
'kdaWallet': !exists(json, 'kdaWallet') ? undefined : json['kdaWallet'],
|
|
25
25
|
'ltcWallet': !exists(json, 'ltcWallet') ? undefined : json['ltcWallet'],
|
|
26
26
|
'ckbWallet': !exists(json, 'ckbWallet') ? undefined : json['ckbWallet'],
|
|
27
|
+
'kasWallet': !exists(json, 'kasWallet') ? undefined : json['kasWallet'],
|
|
27
28
|
'emailNotification': !exists(json, 'emailNotification') ? undefined : json['emailNotification'],
|
|
28
29
|
'discordNotification': !exists(json, 'discordNotification') ? undefined : json['discordNotification'],
|
|
29
30
|
'newsletterNotification': !exists(json, 'newsletterNotification') ? undefined : json['newsletterNotification'],
|
|
@@ -52,6 +53,7 @@ function InternalUserFieldsToJSON(value) {
|
|
|
52
53
|
'kdaWallet': value.kdaWallet,
|
|
53
54
|
'ltcWallet': value.ltcWallet,
|
|
54
55
|
'ckbWallet': value.ckbWallet,
|
|
56
|
+
'kasWallet': value.kasWallet,
|
|
55
57
|
'emailNotification': value.emailNotification,
|
|
56
58
|
'discordNotification': value.discordNotification,
|
|
57
59
|
'newsletterNotification': value.newsletterNotification,
|
package/src/models/SdkUser.cjs
CHANGED
|
@@ -36,6 +36,7 @@ function SdkUserFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
36
|
'kdaWallet': !runtime.exists(json, 'kdaWallet') ? undefined : json['kdaWallet'],
|
|
37
37
|
'ltcWallet': !runtime.exists(json, 'ltcWallet') ? undefined : json['ltcWallet'],
|
|
38
38
|
'ckbWallet': !runtime.exists(json, 'ckbWallet') ? undefined : json['ckbWallet'],
|
|
39
|
+
'kasWallet': !runtime.exists(json, 'kasWallet') ? undefined : json['kasWallet'],
|
|
39
40
|
'emailNotification': !runtime.exists(json, 'emailNotification') ? undefined : json['emailNotification'],
|
|
40
41
|
'discordNotification': !runtime.exists(json, 'discordNotification') ? undefined : json['discordNotification'],
|
|
41
42
|
'newsletterNotification': !runtime.exists(json, 'newsletterNotification') ? undefined : json['newsletterNotification'],
|
|
@@ -71,6 +72,7 @@ function SdkUserToJSON(value) {
|
|
|
71
72
|
'kdaWallet': value.kdaWallet,
|
|
72
73
|
'ltcWallet': value.ltcWallet,
|
|
73
74
|
'ckbWallet': value.ckbWallet,
|
|
75
|
+
'kasWallet': value.kasWallet,
|
|
74
76
|
'emailNotification': value.emailNotification,
|
|
75
77
|
'discordNotification': value.discordNotification,
|
|
76
78
|
'newsletterNotification': value.newsletterNotification,
|
package/src/models/SdkUser.d.ts
CHANGED
package/src/models/SdkUser.js
CHANGED
|
@@ -32,6 +32,7 @@ function SdkUserFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
32
32
|
'kdaWallet': !exists(json, 'kdaWallet') ? undefined : json['kdaWallet'],
|
|
33
33
|
'ltcWallet': !exists(json, 'ltcWallet') ? undefined : json['ltcWallet'],
|
|
34
34
|
'ckbWallet': !exists(json, 'ckbWallet') ? undefined : json['ckbWallet'],
|
|
35
|
+
'kasWallet': !exists(json, 'kasWallet') ? undefined : json['kasWallet'],
|
|
35
36
|
'emailNotification': !exists(json, 'emailNotification') ? undefined : json['emailNotification'],
|
|
36
37
|
'discordNotification': !exists(json, 'discordNotification') ? undefined : json['discordNotification'],
|
|
37
38
|
'newsletterNotification': !exists(json, 'newsletterNotification') ? undefined : json['newsletterNotification'],
|
|
@@ -67,6 +68,7 @@ function SdkUserToJSON(value) {
|
|
|
67
68
|
'kdaWallet': value.kdaWallet,
|
|
68
69
|
'ltcWallet': value.ltcWallet,
|
|
69
70
|
'ckbWallet': value.ckbWallet,
|
|
71
|
+
'kasWallet': value.kasWallet,
|
|
70
72
|
'emailNotification': value.emailNotification,
|
|
71
73
|
'discordNotification': value.discordNotification,
|
|
72
74
|
'newsletterNotification': value.newsletterNotification,
|
package/src/models/User.cjs
CHANGED
|
@@ -40,6 +40,7 @@ function UserFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
40
40
|
'kdaWallet': !runtime.exists(json, 'kdaWallet') ? undefined : json['kdaWallet'],
|
|
41
41
|
'ltcWallet': !runtime.exists(json, 'ltcWallet') ? undefined : json['ltcWallet'],
|
|
42
42
|
'ckbWallet': !runtime.exists(json, 'ckbWallet') ? undefined : json['ckbWallet'],
|
|
43
|
+
'kasWallet': !runtime.exists(json, 'kasWallet') ? undefined : json['kasWallet'],
|
|
43
44
|
'emailNotification': !runtime.exists(json, 'emailNotification') ? undefined : json['emailNotification'],
|
|
44
45
|
'discordNotification': !runtime.exists(json, 'discordNotification') ? undefined : json['discordNotification'],
|
|
45
46
|
'newsletterNotification': !runtime.exists(json, 'newsletterNotification') ? undefined : json['newsletterNotification'],
|
|
@@ -83,6 +84,7 @@ function UserToJSON(value) {
|
|
|
83
84
|
'kdaWallet': value.kdaWallet,
|
|
84
85
|
'ltcWallet': value.ltcWallet,
|
|
85
86
|
'ckbWallet': value.ckbWallet,
|
|
87
|
+
'kasWallet': value.kasWallet,
|
|
86
88
|
'emailNotification': value.emailNotification,
|
|
87
89
|
'discordNotification': value.discordNotification,
|
|
88
90
|
'newsletterNotification': value.newsletterNotification,
|
package/src/models/User.d.ts
CHANGED
package/src/models/User.js
CHANGED
|
@@ -36,6 +36,7 @@ function UserFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
36
|
'kdaWallet': !exists(json, 'kdaWallet') ? undefined : json['kdaWallet'],
|
|
37
37
|
'ltcWallet': !exists(json, 'ltcWallet') ? undefined : json['ltcWallet'],
|
|
38
38
|
'ckbWallet': !exists(json, 'ckbWallet') ? undefined : json['ckbWallet'],
|
|
39
|
+
'kasWallet': !exists(json, 'kasWallet') ? undefined : json['kasWallet'],
|
|
39
40
|
'emailNotification': !exists(json, 'emailNotification') ? undefined : json['emailNotification'],
|
|
40
41
|
'discordNotification': !exists(json, 'discordNotification') ? undefined : json['discordNotification'],
|
|
41
42
|
'newsletterNotification': !exists(json, 'newsletterNotification') ? undefined : json['newsletterNotification'],
|
|
@@ -79,6 +80,7 @@ function UserToJSON(value) {
|
|
|
79
80
|
'kdaWallet': value.kdaWallet,
|
|
80
81
|
'ltcWallet': value.ltcWallet,
|
|
81
82
|
'ckbWallet': value.ckbWallet,
|
|
83
|
+
'kasWallet': value.kasWallet,
|
|
82
84
|
'emailNotification': value.emailNotification,
|
|
83
85
|
'discordNotification': value.discordNotification,
|
|
84
86
|
'newsletterNotification': value.newsletterNotification,
|
|
@@ -30,6 +30,7 @@ function UserFieldsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
30
30
|
'kdaWallet': !runtime.exists(json, 'kdaWallet') ? undefined : json['kdaWallet'],
|
|
31
31
|
'ltcWallet': !runtime.exists(json, 'ltcWallet') ? undefined : json['ltcWallet'],
|
|
32
32
|
'ckbWallet': !runtime.exists(json, 'ckbWallet') ? undefined : json['ckbWallet'],
|
|
33
|
+
'kasWallet': !runtime.exists(json, 'kasWallet') ? undefined : json['kasWallet'],
|
|
33
34
|
'emailNotification': !runtime.exists(json, 'emailNotification') ? undefined : json['emailNotification'],
|
|
34
35
|
'discordNotification': !runtime.exists(json, 'discordNotification') ? undefined : json['discordNotification'],
|
|
35
36
|
'newsletterNotification': !runtime.exists(json, 'newsletterNotification') ? undefined : json['newsletterNotification'],
|
|
@@ -60,6 +61,7 @@ function UserFieldsToJSON(value) {
|
|
|
60
61
|
'kdaWallet': value.kdaWallet,
|
|
61
62
|
'ltcWallet': value.ltcWallet,
|
|
62
63
|
'ckbWallet': value.ckbWallet,
|
|
64
|
+
'kasWallet': value.kasWallet,
|
|
63
65
|
'emailNotification': value.emailNotification,
|
|
64
66
|
'discordNotification': value.discordNotification,
|
|
65
67
|
'newsletterNotification': value.newsletterNotification,
|
package/src/models/UserFields.js
CHANGED
|
@@ -26,6 +26,7 @@ function UserFieldsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
26
26
|
'kdaWallet': !exists(json, 'kdaWallet') ? undefined : json['kdaWallet'],
|
|
27
27
|
'ltcWallet': !exists(json, 'ltcWallet') ? undefined : json['ltcWallet'],
|
|
28
28
|
'ckbWallet': !exists(json, 'ckbWallet') ? undefined : json['ckbWallet'],
|
|
29
|
+
'kasWallet': !exists(json, 'kasWallet') ? undefined : json['kasWallet'],
|
|
29
30
|
'emailNotification': !exists(json, 'emailNotification') ? undefined : json['emailNotification'],
|
|
30
31
|
'discordNotification': !exists(json, 'discordNotification') ? undefined : json['discordNotification'],
|
|
31
32
|
'newsletterNotification': !exists(json, 'newsletterNotification') ? undefined : json['newsletterNotification'],
|
|
@@ -56,6 +57,7 @@ function UserFieldsToJSON(value) {
|
|
|
56
57
|
'kdaWallet': value.kdaWallet,
|
|
57
58
|
'ltcWallet': value.ltcWallet,
|
|
58
59
|
'ckbWallet': value.ckbWallet,
|
|
60
|
+
'kasWallet': value.kasWallet,
|
|
59
61
|
'emailNotification': value.emailNotification,
|
|
60
62
|
'discordNotification': value.discordNotification,
|
|
61
63
|
'newsletterNotification': value.newsletterNotification,
|