@dynamic-labs/sdk-api 0.0.476 → 0.0.478
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/models/AllowlistEntry.cjs +6 -0
- package/src/models/AllowlistEntry.d.ts +18 -0
- package/src/models/AllowlistEntry.js +6 -0
- package/src/models/JwtVerifiedCredential.d.ts +2 -2
- package/src/models/PostAllowlistEntriesRequest.cjs +6 -0
- package/src/models/PostAllowlistEntriesRequest.d.ts +18 -0
- package/src/models/PostAllowlistEntriesRequest.js +6 -0
package/package.json
CHANGED
|
@@ -18,6 +18,9 @@ function AllowlistEntryFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
18
18
|
'walletPublicKey': !runtime.exists(json, 'walletPublicKey') ? undefined : json['walletPublicKey'],
|
|
19
19
|
'email': !runtime.exists(json, 'email') ? undefined : json['email'],
|
|
20
20
|
'phoneNumber': !runtime.exists(json, 'phoneNumber') ? undefined : json['phoneNumber'],
|
|
21
|
+
'discordUsername': !runtime.exists(json, 'discordUsername') ? undefined : json['discordUsername'],
|
|
22
|
+
'twitterUsername': !runtime.exists(json, 'twitterUsername') ? undefined : json['twitterUsername'],
|
|
23
|
+
'farcasterFid': !runtime.exists(json, 'farcasterFid') ? undefined : json['farcasterFid'],
|
|
21
24
|
'alias': !runtime.exists(json, 'alias') ? undefined : json['alias'],
|
|
22
25
|
};
|
|
23
26
|
}
|
|
@@ -34,6 +37,9 @@ function AllowlistEntryToJSON(value) {
|
|
|
34
37
|
'walletPublicKey': value.walletPublicKey,
|
|
35
38
|
'email': value.email,
|
|
36
39
|
'phoneNumber': value.phoneNumber,
|
|
40
|
+
'discordUsername': value.discordUsername,
|
|
41
|
+
'twitterUsername': value.twitterUsername,
|
|
42
|
+
'farcasterFid': value.farcasterFid,
|
|
37
43
|
'alias': value.alias,
|
|
38
44
|
};
|
|
39
45
|
}
|
|
@@ -45,6 +45,24 @@ export interface AllowlistEntry {
|
|
|
45
45
|
* @memberof AllowlistEntry
|
|
46
46
|
*/
|
|
47
47
|
phoneNumber?: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof AllowlistEntry
|
|
52
|
+
*/
|
|
53
|
+
discordUsername?: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof AllowlistEntry
|
|
58
|
+
*/
|
|
59
|
+
twitterUsername?: string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof AllowlistEntry
|
|
64
|
+
*/
|
|
65
|
+
farcasterFid?: number;
|
|
48
66
|
/**
|
|
49
67
|
*
|
|
50
68
|
* @type {string}
|
|
@@ -14,6 +14,9 @@ function AllowlistEntryFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
14
14
|
'walletPublicKey': !exists(json, 'walletPublicKey') ? undefined : json['walletPublicKey'],
|
|
15
15
|
'email': !exists(json, 'email') ? undefined : json['email'],
|
|
16
16
|
'phoneNumber': !exists(json, 'phoneNumber') ? undefined : json['phoneNumber'],
|
|
17
|
+
'discordUsername': !exists(json, 'discordUsername') ? undefined : json['discordUsername'],
|
|
18
|
+
'twitterUsername': !exists(json, 'twitterUsername') ? undefined : json['twitterUsername'],
|
|
19
|
+
'farcasterFid': !exists(json, 'farcasterFid') ? undefined : json['farcasterFid'],
|
|
17
20
|
'alias': !exists(json, 'alias') ? undefined : json['alias'],
|
|
18
21
|
};
|
|
19
22
|
}
|
|
@@ -30,6 +33,9 @@ function AllowlistEntryToJSON(value) {
|
|
|
30
33
|
'walletPublicKey': value.walletPublicKey,
|
|
31
34
|
'email': value.email,
|
|
32
35
|
'phoneNumber': value.phoneNumber,
|
|
36
|
+
'discordUsername': value.discordUsername,
|
|
37
|
+
'twitterUsername': value.twitterUsername,
|
|
38
|
+
'farcasterFid': value.farcasterFid,
|
|
33
39
|
'alias': value.alias,
|
|
34
40
|
};
|
|
35
41
|
}
|
|
@@ -110,13 +110,13 @@ export interface JwtVerifiedCredential {
|
|
|
110
110
|
* @type {string}
|
|
111
111
|
* @memberof JwtVerifiedCredential
|
|
112
112
|
*/
|
|
113
|
-
oauthDisplayName?: string;
|
|
113
|
+
oauthDisplayName?: string | null;
|
|
114
114
|
/**
|
|
115
115
|
*
|
|
116
116
|
* @type {string}
|
|
117
117
|
* @memberof JwtVerifiedCredential
|
|
118
118
|
*/
|
|
119
|
-
oauthAccountId?: string;
|
|
119
|
+
oauthAccountId?: string | null;
|
|
120
120
|
/**
|
|
121
121
|
* This field contains the phone number in the country. This could also contain the area code within a country.
|
|
122
122
|
* @type {string}
|
|
@@ -17,6 +17,9 @@ function PostAllowlistEntriesRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
17
17
|
'email': !runtime.exists(json, 'email') ? undefined : json['email'],
|
|
18
18
|
'phoneNumber': !runtime.exists(json, 'phoneNumber') ? undefined : json['phoneNumber'],
|
|
19
19
|
'alias': !runtime.exists(json, 'alias') ? undefined : json['alias'],
|
|
20
|
+
'discordUsername': !runtime.exists(json, 'discordUsername') ? undefined : json['discordUsername'],
|
|
21
|
+
'twitterUsername': !runtime.exists(json, 'twitterUsername') ? undefined : json['twitterUsername'],
|
|
22
|
+
'farcasterFid': !runtime.exists(json, 'farcasterFid') ? undefined : json['farcasterFid'],
|
|
20
23
|
};
|
|
21
24
|
}
|
|
22
25
|
function PostAllowlistEntriesRequestToJSON(value) {
|
|
@@ -31,6 +34,9 @@ function PostAllowlistEntriesRequestToJSON(value) {
|
|
|
31
34
|
'email': value.email,
|
|
32
35
|
'phoneNumber': value.phoneNumber,
|
|
33
36
|
'alias': value.alias,
|
|
37
|
+
'discordUsername': value.discordUsername,
|
|
38
|
+
'twitterUsername': value.twitterUsername,
|
|
39
|
+
'farcasterFid': value.farcasterFid,
|
|
34
40
|
};
|
|
35
41
|
}
|
|
36
42
|
|
|
@@ -39,6 +39,24 @@ export interface PostAllowlistEntriesRequest {
|
|
|
39
39
|
* @memberof PostAllowlistEntriesRequest
|
|
40
40
|
*/
|
|
41
41
|
alias?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof PostAllowlistEntriesRequest
|
|
46
|
+
*/
|
|
47
|
+
discordUsername?: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof PostAllowlistEntriesRequest
|
|
52
|
+
*/
|
|
53
|
+
twitterUsername?: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof PostAllowlistEntriesRequest
|
|
58
|
+
*/
|
|
59
|
+
farcasterFid?: number;
|
|
42
60
|
}
|
|
43
61
|
export declare function PostAllowlistEntriesRequestFromJSON(json: any): PostAllowlistEntriesRequest;
|
|
44
62
|
export declare function PostAllowlistEntriesRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PostAllowlistEntriesRequest;
|
|
@@ -13,6 +13,9 @@ function PostAllowlistEntriesRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
13
13
|
'email': !exists(json, 'email') ? undefined : json['email'],
|
|
14
14
|
'phoneNumber': !exists(json, 'phoneNumber') ? undefined : json['phoneNumber'],
|
|
15
15
|
'alias': !exists(json, 'alias') ? undefined : json['alias'],
|
|
16
|
+
'discordUsername': !exists(json, 'discordUsername') ? undefined : json['discordUsername'],
|
|
17
|
+
'twitterUsername': !exists(json, 'twitterUsername') ? undefined : json['twitterUsername'],
|
|
18
|
+
'farcasterFid': !exists(json, 'farcasterFid') ? undefined : json['farcasterFid'],
|
|
16
19
|
};
|
|
17
20
|
}
|
|
18
21
|
function PostAllowlistEntriesRequestToJSON(value) {
|
|
@@ -27,6 +30,9 @@ function PostAllowlistEntriesRequestToJSON(value) {
|
|
|
27
30
|
'email': value.email,
|
|
28
31
|
'phoneNumber': value.phoneNumber,
|
|
29
32
|
'alias': value.alias,
|
|
33
|
+
'discordUsername': value.discordUsername,
|
|
34
|
+
'twitterUsername': value.twitterUsername,
|
|
35
|
+
'farcasterFid': value.farcasterFid,
|
|
30
36
|
};
|
|
31
37
|
}
|
|
32
38
|
|