@dynamic-labs/sdk-api 0.0.824 → 0.0.826
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 -0
- package/src/apis/SDKApi.js +3 -0
- package/src/models/AllowlistEntry.cjs +2 -0
- package/src/models/AllowlistEntry.d.ts +6 -0
- package/src/models/AllowlistEntry.js +2 -0
- package/src/models/PostAllowlistEntriesRequest.cjs +2 -0
- package/src/models/PostAllowlistEntriesRequest.d.ts +6 -0
- package/src/models/PostAllowlistEntriesRequest.js +2 -0
package/package.json
CHANGED
package/src/apis/SDKApi.cjs
CHANGED
|
@@ -3575,6 +3575,9 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
3575
3575
|
if (requestParameters.currency !== undefined) {
|
|
3576
3576
|
queryParameters['currency'] = requestParameters.currency;
|
|
3577
3577
|
}
|
|
3578
|
+
if (requestParameters.merchantName !== undefined) {
|
|
3579
|
+
queryParameters['merchantName'] = requestParameters.merchantName;
|
|
3580
|
+
}
|
|
3578
3581
|
const headerParameters = {};
|
|
3579
3582
|
const response = yield this.request({
|
|
3580
3583
|
path: `/sdk/{environmentId}/onramps`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
|
package/src/apis/SDKApi.d.ts
CHANGED
package/src/apis/SDKApi.js
CHANGED
|
@@ -3571,6 +3571,9 @@ class SDKApi extends BaseAPI {
|
|
|
3571
3571
|
if (requestParameters.currency !== undefined) {
|
|
3572
3572
|
queryParameters['currency'] = requestParameters.currency;
|
|
3573
3573
|
}
|
|
3574
|
+
if (requestParameters.merchantName !== undefined) {
|
|
3575
|
+
queryParameters['merchantName'] = requestParameters.merchantName;
|
|
3576
|
+
}
|
|
3574
3577
|
const headerParameters = {};
|
|
3575
3578
|
const response = yield this.request({
|
|
3576
3579
|
path: `/sdk/{environmentId}/onramps`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
|
|
@@ -24,6 +24,7 @@ function AllowlistEntryFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
24
24
|
'farcasterUsername': !runtime.exists(json, 'farcasterUsername') ? undefined : json['farcasterUsername'],
|
|
25
25
|
'farcasterFid': !runtime.exists(json, 'farcasterFid') ? undefined : json['farcasterFid'],
|
|
26
26
|
'alias': !runtime.exists(json, 'alias') ? undefined : json['alias'],
|
|
27
|
+
'externalUserId': !runtime.exists(json, 'externalUserId') ? undefined : json['externalUserId'],
|
|
27
28
|
};
|
|
28
29
|
}
|
|
29
30
|
function AllowlistEntryToJSON(value) {
|
|
@@ -45,6 +46,7 @@ function AllowlistEntryToJSON(value) {
|
|
|
45
46
|
'farcasterUsername': value.farcasterUsername,
|
|
46
47
|
'farcasterFid': value.farcasterFid,
|
|
47
48
|
'alias': value.alias,
|
|
49
|
+
'externalUserId': value.externalUserId,
|
|
48
50
|
};
|
|
49
51
|
}
|
|
50
52
|
|
|
@@ -81,6 +81,12 @@ export interface AllowlistEntry {
|
|
|
81
81
|
* @memberof AllowlistEntry
|
|
82
82
|
*/
|
|
83
83
|
alias?: string;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof AllowlistEntry
|
|
88
|
+
*/
|
|
89
|
+
externalUserId?: string;
|
|
84
90
|
}
|
|
85
91
|
export declare function AllowlistEntryFromJSON(json: any): AllowlistEntry;
|
|
86
92
|
export declare function AllowlistEntryFromJSONTyped(json: any, ignoreDiscriminator: boolean): AllowlistEntry;
|
|
@@ -20,6 +20,7 @@ function AllowlistEntryFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
20
20
|
'farcasterUsername': !exists(json, 'farcasterUsername') ? undefined : json['farcasterUsername'],
|
|
21
21
|
'farcasterFid': !exists(json, 'farcasterFid') ? undefined : json['farcasterFid'],
|
|
22
22
|
'alias': !exists(json, 'alias') ? undefined : json['alias'],
|
|
23
|
+
'externalUserId': !exists(json, 'externalUserId') ? undefined : json['externalUserId'],
|
|
23
24
|
};
|
|
24
25
|
}
|
|
25
26
|
function AllowlistEntryToJSON(value) {
|
|
@@ -41,6 +42,7 @@ function AllowlistEntryToJSON(value) {
|
|
|
41
42
|
'farcasterUsername': value.farcasterUsername,
|
|
42
43
|
'farcasterFid': value.farcasterFid,
|
|
43
44
|
'alias': value.alias,
|
|
45
|
+
'externalUserId': value.externalUserId,
|
|
44
46
|
};
|
|
45
47
|
}
|
|
46
48
|
|
|
@@ -22,6 +22,7 @@ function PostAllowlistEntriesRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
22
22
|
'twitterUsername': !runtime.exists(json, 'twitterUsername') ? undefined : json['twitterUsername'],
|
|
23
23
|
'farcasterUsername': !runtime.exists(json, 'farcasterUsername') ? undefined : json['farcasterUsername'],
|
|
24
24
|
'farcasterFid': !runtime.exists(json, 'farcasterFid') ? undefined : json['farcasterFid'],
|
|
25
|
+
'externalUserId': !runtime.exists(json, 'externalUserId') ? undefined : json['externalUserId'],
|
|
25
26
|
};
|
|
26
27
|
}
|
|
27
28
|
function PostAllowlistEntriesRequestToJSON(value) {
|
|
@@ -41,6 +42,7 @@ function PostAllowlistEntriesRequestToJSON(value) {
|
|
|
41
42
|
'twitterUsername': value.twitterUsername,
|
|
42
43
|
'farcasterUsername': value.farcasterUsername,
|
|
43
44
|
'farcasterFid': value.farcasterFid,
|
|
45
|
+
'externalUserId': value.externalUserId,
|
|
44
46
|
};
|
|
45
47
|
}
|
|
46
48
|
|
|
@@ -69,6 +69,12 @@ export interface PostAllowlistEntriesRequest {
|
|
|
69
69
|
* @memberof PostAllowlistEntriesRequest
|
|
70
70
|
*/
|
|
71
71
|
farcasterFid?: number;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof PostAllowlistEntriesRequest
|
|
76
|
+
*/
|
|
77
|
+
externalUserId?: string;
|
|
72
78
|
}
|
|
73
79
|
export declare function PostAllowlistEntriesRequestFromJSON(json: any): PostAllowlistEntriesRequest;
|
|
74
80
|
export declare function PostAllowlistEntriesRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PostAllowlistEntriesRequest;
|
|
@@ -18,6 +18,7 @@ function PostAllowlistEntriesRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
18
18
|
'twitterUsername': !exists(json, 'twitterUsername') ? undefined : json['twitterUsername'],
|
|
19
19
|
'farcasterUsername': !exists(json, 'farcasterUsername') ? undefined : json['farcasterUsername'],
|
|
20
20
|
'farcasterFid': !exists(json, 'farcasterFid') ? undefined : json['farcasterFid'],
|
|
21
|
+
'externalUserId': !exists(json, 'externalUserId') ? undefined : json['externalUserId'],
|
|
21
22
|
};
|
|
22
23
|
}
|
|
23
24
|
function PostAllowlistEntriesRequestToJSON(value) {
|
|
@@ -37,6 +38,7 @@ function PostAllowlistEntriesRequestToJSON(value) {
|
|
|
37
38
|
'twitterUsername': value.twitterUsername,
|
|
38
39
|
'farcasterUsername': value.farcasterUsername,
|
|
39
40
|
'farcasterFid': value.farcasterFid,
|
|
41
|
+
'externalUserId': value.externalUserId,
|
|
40
42
|
};
|
|
41
43
|
}
|
|
42
44
|
|