@dynamic-labs/sdk-api 0.0.242 → 0.0.244

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/sdk-api",
3
- "version": "0.0.242",
3
+ "version": "0.0.244",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -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 or DOGE wallet address
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,
@@ -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,
@@ -154,6 +154,12 @@ export interface SdkUser {
154
154
  * @memberof SdkUser
155
155
  */
156
156
  kasWallet?: string | null;
157
+ /**
158
+ *
159
+ * @type {string}
160
+ * @memberof SdkUser
161
+ */
162
+ dogeWallet?: string | null;
157
163
  /**
158
164
  *
159
165
  * @type {boolean}
@@ -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,
@@ -47,6 +47,8 @@ exports.UnprocessableEntityErrorCode = void 0;
47
47
  UnprocessableEntityErrorCode["NoEnabledEmailProvider"] = "no_enabled_email_provider";
48
48
  UnprocessableEntityErrorCode["InvalidKeyExportUrl"] = "invalid_key_export_url";
49
49
  UnprocessableEntityErrorCode["InvalidDynamicProps"] = "invalid_dynamic_props";
50
+ UnprocessableEntityErrorCode["TooManyOrganizationsForUser"] = "too_many_organizations_for_user";
51
+ UnprocessableEntityErrorCode["TooManyProjectsForOrganization"] = "too_many_projects_for_organization";
50
52
  })(exports.UnprocessableEntityErrorCode || (exports.UnprocessableEntityErrorCode = {}));
51
53
  function UnprocessableEntityErrorCodeFromJSON(json) {
52
54
  return UnprocessableEntityErrorCodeFromJSONTyped(json);
@@ -39,7 +39,9 @@ export declare enum UnprocessableEntityErrorCode {
39
39
  EmptyChainName = "empty_chain_name",
40
40
  NoEnabledEmailProvider = "no_enabled_email_provider",
41
41
  InvalidKeyExportUrl = "invalid_key_export_url",
42
- InvalidDynamicProps = "invalid_dynamic_props"
42
+ InvalidDynamicProps = "invalid_dynamic_props",
43
+ TooManyOrganizationsForUser = "too_many_organizations_for_user",
44
+ TooManyProjectsForOrganization = "too_many_projects_for_organization"
43
45
  }
44
46
  export declare function UnprocessableEntityErrorCodeFromJSON(json: any): UnprocessableEntityErrorCode;
45
47
  export declare function UnprocessableEntityErrorCodeFromJSONTyped(json: any, ignoreDiscriminator: boolean): UnprocessableEntityErrorCode;
@@ -43,6 +43,8 @@ var UnprocessableEntityErrorCode;
43
43
  UnprocessableEntityErrorCode["NoEnabledEmailProvider"] = "no_enabled_email_provider";
44
44
  UnprocessableEntityErrorCode["InvalidKeyExportUrl"] = "invalid_key_export_url";
45
45
  UnprocessableEntityErrorCode["InvalidDynamicProps"] = "invalid_dynamic_props";
46
+ UnprocessableEntityErrorCode["TooManyOrganizationsForUser"] = "too_many_organizations_for_user";
47
+ UnprocessableEntityErrorCode["TooManyProjectsForOrganization"] = "too_many_projects_for_organization";
46
48
  })(UnprocessableEntityErrorCode || (UnprocessableEntityErrorCode = {}));
47
49
  function UnprocessableEntityErrorCodeFromJSON(json) {
48
50
  return UnprocessableEntityErrorCodeFromJSONTyped(json);
@@ -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,
@@ -158,6 +158,12 @@ export interface User {
158
158
  * @memberof User
159
159
  */
160
160
  kasWallet?: string | null;
161
+ /**
162
+ *
163
+ * @type {string}
164
+ * @memberof User
165
+ */
166
+ dogeWallet?: string | null;
161
167
  /**
162
168
  *
163
169
  * @type {boolean}
@@ -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 or DOGE wallet address
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}
@@ -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,