@dynamic-labs/sdk-api 0.0.357 → 0.0.358
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
|
@@ -13,6 +13,7 @@ function GateRuleFilterFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
13
13
|
return json;
|
|
14
14
|
}
|
|
15
15
|
return {
|
|
16
|
+
'tokenId': !runtime.exists(json, 'tokenId') ? undefined : json['tokenId'],
|
|
16
17
|
'amount': !runtime.exists(json, 'amount') ? undefined : json['amount'],
|
|
17
18
|
};
|
|
18
19
|
}
|
|
@@ -24,6 +25,7 @@ function GateRuleFilterToJSON(value) {
|
|
|
24
25
|
return null;
|
|
25
26
|
}
|
|
26
27
|
return {
|
|
28
|
+
'tokenId': value.tokenId,
|
|
27
29
|
'amount': value.amount,
|
|
28
30
|
};
|
|
29
31
|
}
|
|
@@ -15,6 +15,12 @@
|
|
|
15
15
|
* @interface GateRuleFilter
|
|
16
16
|
*/
|
|
17
17
|
export interface GateRuleFilter {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GateRuleFilter
|
|
22
|
+
*/
|
|
23
|
+
tokenId?: string;
|
|
18
24
|
/**
|
|
19
25
|
* Minimum token or NFT amount held by the user. If this `amount` field is provided, then Dynamic will also check that the user has this minimum amount held by the user of the NFT or Token
|
|
20
26
|
* @type {number}
|
|
@@ -9,6 +9,7 @@ function GateRuleFilterFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
9
9
|
return json;
|
|
10
10
|
}
|
|
11
11
|
return {
|
|
12
|
+
'tokenId': !exists(json, 'tokenId') ? undefined : json['tokenId'],
|
|
12
13
|
'amount': !exists(json, 'amount') ? undefined : json['amount'],
|
|
13
14
|
};
|
|
14
15
|
}
|
|
@@ -20,6 +21,7 @@ function GateRuleFilterToJSON(value) {
|
|
|
20
21
|
return null;
|
|
21
22
|
}
|
|
22
23
|
return {
|
|
24
|
+
'tokenId': value.tokenId,
|
|
23
25
|
'amount': value.amount,
|
|
24
26
|
};
|
|
25
27
|
}
|