@dynamic-labs/sdk-api 0.78.0 → 0.80.0
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/index.cjs +4 -0
- package/src/index.js +1 -0
- package/src/models/AddressScreeningSettings.cjs +33 -0
- package/src/models/AddressScreeningSettings.d.ts +27 -0
- package/src/models/AddressScreeningSettings.js +27 -0
- package/src/models/FlowSettlementData.cjs +7 -0
- package/src/models/FlowSettlementData.d.ts +19 -0
- package/src/models/FlowSettlementData.js +7 -0
- package/src/models/ProjectSettingsSecurity.cjs +3 -0
- package/src/models/ProjectSettingsSecurity.d.ts +7 -0
- package/src/models/ProjectSettingsSecurity.js +3 -0
- package/src/models/index.d.ts +1 -0
package/package.json
CHANGED
package/src/index.cjs
CHANGED
|
@@ -63,6 +63,7 @@ var ActiveWeeklyDaysResult = require('./models/ActiveWeeklyDaysResult.cjs');
|
|
|
63
63
|
var AddBusinessAccountMemberSdkRequest = require('./models/AddBusinessAccountMemberSdkRequest.cjs');
|
|
64
64
|
var AddBusinessAccountSignerSdkRequest = require('./models/AddBusinessAccountSignerSdkRequest.cjs');
|
|
65
65
|
var AddDeeplinkUrlRequest = require('./models/AddDeeplinkUrlRequest.cjs');
|
|
66
|
+
var AddressScreeningSettings = require('./models/AddressScreeningSettings.cjs');
|
|
66
67
|
var AdminActionRequest = require('./models/AdminActionRequest.cjs');
|
|
67
68
|
var AdminActionRequestListResponse = require('./models/AdminActionRequestListResponse.cjs');
|
|
68
69
|
var AdminActionRequestResponse = require('./models/AdminActionRequestResponse.cjs');
|
|
@@ -1184,6 +1185,9 @@ exports.AddBusinessAccountSignerSdkRequestToJSON = AddBusinessAccountSignerSdkRe
|
|
|
1184
1185
|
exports.AddDeeplinkUrlRequestFromJSON = AddDeeplinkUrlRequest.AddDeeplinkUrlRequestFromJSON;
|
|
1185
1186
|
exports.AddDeeplinkUrlRequestFromJSONTyped = AddDeeplinkUrlRequest.AddDeeplinkUrlRequestFromJSONTyped;
|
|
1186
1187
|
exports.AddDeeplinkUrlRequestToJSON = AddDeeplinkUrlRequest.AddDeeplinkUrlRequestToJSON;
|
|
1188
|
+
exports.AddressScreeningSettingsFromJSON = AddressScreeningSettings.AddressScreeningSettingsFromJSON;
|
|
1189
|
+
exports.AddressScreeningSettingsFromJSONTyped = AddressScreeningSettings.AddressScreeningSettingsFromJSONTyped;
|
|
1190
|
+
exports.AddressScreeningSettingsToJSON = AddressScreeningSettings.AddressScreeningSettingsToJSON;
|
|
1187
1191
|
exports.AdminActionRequestFromJSON = AdminActionRequest.AdminActionRequestFromJSON;
|
|
1188
1192
|
exports.AdminActionRequestFromJSONTyped = AdminActionRequest.AdminActionRequestFromJSONTyped;
|
|
1189
1193
|
exports.AdminActionRequestToJSON = AdminActionRequest.AdminActionRequestToJSON;
|
package/src/index.js
CHANGED
|
@@ -59,6 +59,7 @@ export { ActiveWeeklyDaysResultFromJSON, ActiveWeeklyDaysResultFromJSONTyped, Ac
|
|
|
59
59
|
export { AddBusinessAccountMemberSdkRequestFromJSON, AddBusinessAccountMemberSdkRequestFromJSONTyped, AddBusinessAccountMemberSdkRequestToJSON } from './models/AddBusinessAccountMemberSdkRequest.js';
|
|
60
60
|
export { AddBusinessAccountSignerSdkRequestFromJSON, AddBusinessAccountSignerSdkRequestFromJSONTyped, AddBusinessAccountSignerSdkRequestToJSON } from './models/AddBusinessAccountSignerSdkRequest.js';
|
|
61
61
|
export { AddDeeplinkUrlRequestFromJSON, AddDeeplinkUrlRequestFromJSONTyped, AddDeeplinkUrlRequestToJSON } from './models/AddDeeplinkUrlRequest.js';
|
|
62
|
+
export { AddressScreeningSettingsFromJSON, AddressScreeningSettingsFromJSONTyped, AddressScreeningSettingsToJSON } from './models/AddressScreeningSettings.js';
|
|
62
63
|
export { AdminActionRequestFromJSON, AdminActionRequestFromJSONTyped, AdminActionRequestToJSON } from './models/AdminActionRequest.js';
|
|
63
64
|
export { AdminActionRequestListResponseFromJSON, AdminActionRequestListResponseFromJSONTyped, AdminActionRequestListResponseToJSON } from './models/AdminActionRequestListResponse.js';
|
|
64
65
|
export { AdminActionRequestResponseFromJSON, AdminActionRequestResponseFromJSONTyped, AdminActionRequestResponseToJSON } from './models/AdminActionRequestResponse.js';
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function AddressScreeningSettingsFromJSON(json) {
|
|
9
|
+
return AddressScreeningSettingsFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function AddressScreeningSettingsFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'cacheTtlSeconds': !runtime.exists(json, 'cacheTtlSeconds') ? undefined : json['cacheTtlSeconds'],
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
function AddressScreeningSettingsToJSON(value) {
|
|
20
|
+
if (value === undefined) {
|
|
21
|
+
return undefined;
|
|
22
|
+
}
|
|
23
|
+
if (value === null) {
|
|
24
|
+
return null;
|
|
25
|
+
}
|
|
26
|
+
return {
|
|
27
|
+
'cacheTtlSeconds': value.cacheTtlSeconds,
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
exports.AddressScreeningSettingsFromJSON = AddressScreeningSettingsFromJSON;
|
|
32
|
+
exports.AddressScreeningSettingsFromJSONTyped = AddressScreeningSettingsFromJSONTyped;
|
|
33
|
+
exports.AddressScreeningSettingsToJSON = AddressScreeningSettingsToJSON;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Address screening settings for the environment.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface AddressScreeningSettings
|
|
16
|
+
*/
|
|
17
|
+
export interface AddressScreeningSettings {
|
|
18
|
+
/**
|
|
19
|
+
* How long, in seconds, a screening result is reused before the address is screened again. Defaults to 86400 (24 hours).
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof AddressScreeningSettings
|
|
22
|
+
*/
|
|
23
|
+
cacheTtlSeconds?: number;
|
|
24
|
+
}
|
|
25
|
+
export declare function AddressScreeningSettingsFromJSON(json: any): AddressScreeningSettings;
|
|
26
|
+
export declare function AddressScreeningSettingsFromJSONTyped(json: any, ignoreDiscriminator: boolean): AddressScreeningSettings;
|
|
27
|
+
export declare function AddressScreeningSettingsToJSON(value?: AddressScreeningSettings | null): any;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function AddressScreeningSettingsFromJSON(json) {
|
|
5
|
+
return AddressScreeningSettingsFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function AddressScreeningSettingsFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'cacheTtlSeconds': !exists(json, 'cacheTtlSeconds') ? undefined : json['cacheTtlSeconds'],
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
function AddressScreeningSettingsToJSON(value) {
|
|
16
|
+
if (value === undefined) {
|
|
17
|
+
return undefined;
|
|
18
|
+
}
|
|
19
|
+
if (value === null) {
|
|
20
|
+
return null;
|
|
21
|
+
}
|
|
22
|
+
return {
|
|
23
|
+
'cacheTtlSeconds': value.cacheTtlSeconds,
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export { AddressScreeningSettingsFromJSON, AddressScreeningSettingsFromJSONTyped, AddressScreeningSettingsToJSON };
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var runtime = require('../runtime.cjs');
|
|
6
|
+
var FlowTokenInfo = require('./FlowTokenInfo.cjs');
|
|
6
7
|
|
|
7
8
|
/* tslint:disable */
|
|
8
9
|
function FlowSettlementDataFromJSON(json) {
|
|
@@ -17,6 +18,9 @@ function FlowSettlementDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
17
18
|
'toToken': json['toToken'],
|
|
18
19
|
'toAddress': json['toAddress'],
|
|
19
20
|
'completedAt': !runtime.exists(json, 'completedAt') ? undefined : (new Date(json['completedAt'])),
|
|
21
|
+
'amount': !runtime.exists(json, 'amount') ? undefined : json['amount'],
|
|
22
|
+
'amountUsd': !runtime.exists(json, 'amountUsd') ? undefined : json['amountUsd'],
|
|
23
|
+
'toTokenInfo': !runtime.exists(json, 'toTokenInfo') ? undefined : FlowTokenInfo.FlowTokenInfoFromJSON(json['toTokenInfo']),
|
|
20
24
|
};
|
|
21
25
|
}
|
|
22
26
|
function FlowSettlementDataToJSON(value) {
|
|
@@ -31,6 +35,9 @@ function FlowSettlementDataToJSON(value) {
|
|
|
31
35
|
'toToken': value.toToken,
|
|
32
36
|
'toAddress': value.toAddress,
|
|
33
37
|
'completedAt': value.completedAt === undefined ? undefined : (value.completedAt.toISOString()),
|
|
38
|
+
'amount': value.amount,
|
|
39
|
+
'amountUsd': value.amountUsd,
|
|
40
|
+
'toTokenInfo': FlowTokenInfo.FlowTokenInfoToJSON(value.toTokenInfo),
|
|
34
41
|
};
|
|
35
42
|
}
|
|
36
43
|
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { FlowTokenInfo } from './FlowTokenInfo';
|
|
12
13
|
/**
|
|
13
14
|
* Resolved settlement destination and completion time for a flow.
|
|
14
15
|
* @export
|
|
@@ -39,6 +40,24 @@ export interface FlowSettlementData {
|
|
|
39
40
|
* @memberof FlowSettlementData
|
|
40
41
|
*/
|
|
41
42
|
completedAt?: Date;
|
|
43
|
+
/**
|
|
44
|
+
* Amount actually delivered to the destination, in the smallest unit of toToken. Can differ from the quoted amount when a deposit-address flow settles short. Absent when the provider did not report it.
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof FlowSettlementData
|
|
47
|
+
*/
|
|
48
|
+
amount?: string;
|
|
49
|
+
/**
|
|
50
|
+
* USD equivalent of the delivered amount
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof FlowSettlementData
|
|
53
|
+
*/
|
|
54
|
+
amountUsd?: string;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {FlowTokenInfo}
|
|
58
|
+
* @memberof FlowSettlementData
|
|
59
|
+
*/
|
|
60
|
+
toTokenInfo?: FlowTokenInfo;
|
|
42
61
|
}
|
|
43
62
|
export declare function FlowSettlementDataFromJSON(json: any): FlowSettlementData;
|
|
44
63
|
export declare function FlowSettlementDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlowSettlementData;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
|
+
import { FlowTokenInfoFromJSON, FlowTokenInfoToJSON } from './FlowTokenInfo.js';
|
|
2
3
|
|
|
3
4
|
/* tslint:disable */
|
|
4
5
|
function FlowSettlementDataFromJSON(json) {
|
|
@@ -13,6 +14,9 @@ function FlowSettlementDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
13
14
|
'toToken': json['toToken'],
|
|
14
15
|
'toAddress': json['toAddress'],
|
|
15
16
|
'completedAt': !exists(json, 'completedAt') ? undefined : (new Date(json['completedAt'])),
|
|
17
|
+
'amount': !exists(json, 'amount') ? undefined : json['amount'],
|
|
18
|
+
'amountUsd': !exists(json, 'amountUsd') ? undefined : json['amountUsd'],
|
|
19
|
+
'toTokenInfo': !exists(json, 'toTokenInfo') ? undefined : FlowTokenInfoFromJSON(json['toTokenInfo']),
|
|
16
20
|
};
|
|
17
21
|
}
|
|
18
22
|
function FlowSettlementDataToJSON(value) {
|
|
@@ -27,6 +31,9 @@ function FlowSettlementDataToJSON(value) {
|
|
|
27
31
|
'toToken': value.toToken,
|
|
28
32
|
'toAddress': value.toAddress,
|
|
29
33
|
'completedAt': value.completedAt === undefined ? undefined : (value.completedAt.toISOString()),
|
|
34
|
+
'amount': value.amount,
|
|
35
|
+
'amountUsd': value.amountUsd,
|
|
36
|
+
'toTokenInfo': FlowTokenInfoToJSON(value.toTokenInfo),
|
|
30
37
|
};
|
|
31
38
|
}
|
|
32
39
|
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var runtime = require('../runtime.cjs');
|
|
6
|
+
var AddressScreeningSettings = require('./AddressScreeningSettings.cjs');
|
|
6
7
|
var AuthSettings = require('./AuthSettings.cjs');
|
|
7
8
|
var Duration = require('./Duration.cjs');
|
|
8
9
|
var ExternalAuth = require('./ExternalAuth.cjs');
|
|
@@ -20,6 +21,7 @@ function ProjectSettingsSecurityFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
20
21
|
return json;
|
|
21
22
|
}
|
|
22
23
|
return {
|
|
24
|
+
'addressScreening': !runtime.exists(json, 'addressScreening') ? undefined : AddressScreeningSettings.AddressScreeningSettingsFromJSON(json['addressScreening']),
|
|
23
25
|
'jwtDuration': !runtime.exists(json, 'jwtDuration') ? undefined : Duration.DurationFromJSON(json['jwtDuration']),
|
|
24
26
|
'hCaptcha': !runtime.exists(json, 'hCaptcha') ? undefined : HCaptchaSettings.HCaptchaSettingsFromJSON(json['hCaptcha']),
|
|
25
27
|
'captcha': !runtime.exists(json, 'captcha') ? undefined : ProjectSettingsCaptcha.ProjectSettingsCaptchaFromJSON(json['captcha']),
|
|
@@ -39,6 +41,7 @@ function ProjectSettingsSecurityToJSON(value) {
|
|
|
39
41
|
return null;
|
|
40
42
|
}
|
|
41
43
|
return {
|
|
44
|
+
'addressScreening': AddressScreeningSettings.AddressScreeningSettingsToJSON(value.addressScreening),
|
|
42
45
|
'jwtDuration': Duration.DurationToJSON(value.jwtDuration),
|
|
43
46
|
'hCaptcha': HCaptchaSettings.HCaptchaSettingsToJSON(value.hCaptcha),
|
|
44
47
|
'captcha': ProjectSettingsCaptcha.ProjectSettingsCaptchaToJSON(value.captcha),
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { AddressScreeningSettings } from './AddressScreeningSettings';
|
|
12
13
|
import { AuthSettings } from './AuthSettings';
|
|
13
14
|
import { Duration } from './Duration';
|
|
14
15
|
import { ExternalAuth } from './ExternalAuth';
|
|
@@ -22,6 +23,12 @@ import { SecurityNotifications } from './SecurityNotifications';
|
|
|
22
23
|
* @interface ProjectSettingsSecurity
|
|
23
24
|
*/
|
|
24
25
|
export interface ProjectSettingsSecurity {
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {AddressScreeningSettings}
|
|
29
|
+
* @memberof ProjectSettingsSecurity
|
|
30
|
+
*/
|
|
31
|
+
addressScreening?: AddressScreeningSettings;
|
|
25
32
|
/**
|
|
26
33
|
*
|
|
27
34
|
* @type {Duration}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
|
+
import { AddressScreeningSettingsFromJSON, AddressScreeningSettingsToJSON } from './AddressScreeningSettings.js';
|
|
2
3
|
import { AuthSettingsFromJSON, AuthSettingsToJSON } from './AuthSettings.js';
|
|
3
4
|
import { DurationFromJSON, DurationToJSON } from './Duration.js';
|
|
4
5
|
import { ExternalAuthFromJSON, ExternalAuthToJSON } from './ExternalAuth.js';
|
|
@@ -16,6 +17,7 @@ function ProjectSettingsSecurityFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
16
17
|
return json;
|
|
17
18
|
}
|
|
18
19
|
return {
|
|
20
|
+
'addressScreening': !exists(json, 'addressScreening') ? undefined : AddressScreeningSettingsFromJSON(json['addressScreening']),
|
|
19
21
|
'jwtDuration': !exists(json, 'jwtDuration') ? undefined : DurationFromJSON(json['jwtDuration']),
|
|
20
22
|
'hCaptcha': !exists(json, 'hCaptcha') ? undefined : HCaptchaSettingsFromJSON(json['hCaptcha']),
|
|
21
23
|
'captcha': !exists(json, 'captcha') ? undefined : ProjectSettingsCaptchaFromJSON(json['captcha']),
|
|
@@ -35,6 +37,7 @@ function ProjectSettingsSecurityToJSON(value) {
|
|
|
35
37
|
return null;
|
|
36
38
|
}
|
|
37
39
|
return {
|
|
40
|
+
'addressScreening': AddressScreeningSettingsToJSON(value.addressScreening),
|
|
38
41
|
'jwtDuration': DurationToJSON(value.jwtDuration),
|
|
39
42
|
'hCaptcha': HCaptchaSettingsToJSON(value.hCaptcha),
|
|
40
43
|
'captcha': ProjectSettingsCaptchaToJSON(value.captcha),
|
package/src/models/index.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ export * from './ActiveWeeklyDaysResult';
|
|
|
6
6
|
export * from './AddBusinessAccountMemberSdkRequest';
|
|
7
7
|
export * from './AddBusinessAccountSignerSdkRequest';
|
|
8
8
|
export * from './AddDeeplinkUrlRequest';
|
|
9
|
+
export * from './AddressScreeningSettings';
|
|
9
10
|
export * from './AdminActionRequest';
|
|
10
11
|
export * from './AdminActionRequestListResponse';
|
|
11
12
|
export * from './AdminActionRequestResponse';
|