@dynamic-labs/sdk-api 0.130.0 → 0.131.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.js +1 -0
- package/src/models/ExportCreateRequestFilter.d.ts +7 -0
- package/src/models/ExportCreateRequestFilter.js +3 -0
- package/src/models/ExportCreateRequestFilterWallets.d.ts +33 -0
- package/src/models/ExportCreateRequestFilterWallets.js +29 -0
- package/src/models/ExportModelEnum.d.ts +2 -1
- package/src/models/ExportModelEnum.js +1 -0
- package/src/models/index.d.ts +1 -0
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -343,6 +343,7 @@ export { ExportFromJSON, ExportFromJSONTyped, ExportToJSON } from './models/Expo
|
|
|
343
343
|
export { ExportAleoViewKeyRequestFromJSON, ExportAleoViewKeyRequestFromJSONTyped, ExportAleoViewKeyRequestToJSON } from './models/ExportAleoViewKeyRequest.js';
|
|
344
344
|
export { ExportCreateRequestFromJSON, ExportCreateRequestFromJSONTyped, ExportCreateRequestToJSON } from './models/ExportCreateRequest.js';
|
|
345
345
|
export { ExportCreateRequestFilterFromJSON, ExportCreateRequestFilterFromJSONTyped, ExportCreateRequestFilterToJSON } from './models/ExportCreateRequestFilter.js';
|
|
346
|
+
export { ExportCreateRequestFilterWalletsFromJSON, ExportCreateRequestFilterWalletsFromJSONTyped, ExportCreateRequestFilterWalletsToJSON } from './models/ExportCreateRequestFilterWallets.js';
|
|
346
347
|
export { ExportEmbeddedWalletResponseFromJSON, ExportEmbeddedWalletResponseFromJSONTyped, ExportEmbeddedWalletResponseToJSON } from './models/ExportEmbeddedWalletResponse.js';
|
|
347
348
|
export { ExportFormatEnum, ExportFormatEnumFromJSON, ExportFormatEnumFromJSONTyped, ExportFormatEnumToJSON } from './models/ExportFormatEnum.js';
|
|
348
349
|
export { ExportModelEnum, ExportModelEnumFromJSON, ExportModelEnumFromJSONTyped, ExportModelEnumToJSON } from './models/ExportModelEnum.js';
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { BusinessAccountActionEnum } from './BusinessAccountActionEnum';
|
|
13
|
+
import { ExportCreateRequestFilterWallets } from './ExportCreateRequestFilterWallets';
|
|
13
14
|
/**
|
|
14
15
|
* Model-specific filter criteria. For `businessAccountActivity`: `businessAccountId` (required), `from`/`to` (date-time), and `actions` (array of BusinessAccountActionEnum) are supported.
|
|
15
16
|
* @export
|
|
@@ -32,6 +33,12 @@ export interface ExportCreateRequestFilter {
|
|
|
32
33
|
visits?: {
|
|
33
34
|
[key: string]: object;
|
|
34
35
|
};
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {ExportCreateRequestFilterWallets}
|
|
39
|
+
* @memberof ExportCreateRequestFilter
|
|
40
|
+
*/
|
|
41
|
+
wallets?: ExportCreateRequestFilterWallets;
|
|
35
42
|
/**
|
|
36
43
|
*
|
|
37
44
|
* @type {string}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
2
|
import { BusinessAccountActionEnumFromJSON, BusinessAccountActionEnumToJSON } from './BusinessAccountActionEnum.js';
|
|
3
|
+
import { ExportCreateRequestFilterWalletsFromJSON, ExportCreateRequestFilterWalletsToJSON } from './ExportCreateRequestFilterWallets.js';
|
|
3
4
|
|
|
4
5
|
/* tslint:disable */
|
|
5
6
|
function ExportCreateRequestFilterFromJSON(json) {
|
|
@@ -12,6 +13,7 @@ function ExportCreateRequestFilterFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
12
13
|
return {
|
|
13
14
|
'users': !exists(json, 'users') ? undefined : json['users'],
|
|
14
15
|
'visits': !exists(json, 'visits') ? undefined : json['visits'],
|
|
16
|
+
'wallets': !exists(json, 'wallets') ? undefined : ExportCreateRequestFilterWalletsFromJSON(json['wallets']),
|
|
15
17
|
'businessAccountId': !exists(json, 'businessAccountId') ? undefined : json['businessAccountId'],
|
|
16
18
|
'from': !exists(json, 'from') ? undefined : (new Date(json['from'])),
|
|
17
19
|
'to': !exists(json, 'to') ? undefined : (new Date(json['to'])),
|
|
@@ -28,6 +30,7 @@ function ExportCreateRequestFilterToJSON(value) {
|
|
|
28
30
|
return {
|
|
29
31
|
'users': value.users,
|
|
30
32
|
'visits': value.visits,
|
|
33
|
+
'wallets': ExportCreateRequestFilterWalletsToJSON(value.wallets),
|
|
31
34
|
'businessAccountId': value.businessAccountId,
|
|
32
35
|
'from': value.from === undefined ? undefined : (value.from.toISOString()),
|
|
33
36
|
'to': value.to === undefined ? undefined : (value.to.toISOString()),
|
|
@@ -0,0 +1,33 @@
|
|
|
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
|
+
* Wallet export filters (`userId`, `address`)
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ExportCreateRequestFilterWallets
|
|
16
|
+
*/
|
|
17
|
+
export interface ExportCreateRequestFilterWallets {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ExportCreateRequestFilterWallets
|
|
22
|
+
*/
|
|
23
|
+
userId?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ExportCreateRequestFilterWallets
|
|
28
|
+
*/
|
|
29
|
+
address?: string;
|
|
30
|
+
}
|
|
31
|
+
export declare function ExportCreateRequestFilterWalletsFromJSON(json: any): ExportCreateRequestFilterWallets;
|
|
32
|
+
export declare function ExportCreateRequestFilterWalletsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExportCreateRequestFilterWallets;
|
|
33
|
+
export declare function ExportCreateRequestFilterWalletsToJSON(value?: ExportCreateRequestFilterWallets | null): any;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function ExportCreateRequestFilterWalletsFromJSON(json) {
|
|
5
|
+
return ExportCreateRequestFilterWalletsFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function ExportCreateRequestFilterWalletsFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'userId': !exists(json, 'userId') ? undefined : json['userId'],
|
|
13
|
+
'address': !exists(json, 'address') ? undefined : json['address'],
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
function ExportCreateRequestFilterWalletsToJSON(value) {
|
|
17
|
+
if (value === undefined) {
|
|
18
|
+
return undefined;
|
|
19
|
+
}
|
|
20
|
+
if (value === null) {
|
|
21
|
+
return null;
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
'userId': value.userId,
|
|
25
|
+
'address': value.address,
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export { ExportCreateRequestFilterWalletsFromJSON, ExportCreateRequestFilterWalletsFromJSONTyped, ExportCreateRequestFilterWalletsToJSON };
|
|
@@ -17,7 +17,8 @@
|
|
|
17
17
|
export declare enum ExportModelEnum {
|
|
18
18
|
Users = "users",
|
|
19
19
|
Visits = "visits",
|
|
20
|
-
BusinessAccountActivity = "businessAccountActivity"
|
|
20
|
+
BusinessAccountActivity = "businessAccountActivity",
|
|
21
|
+
Wallets = "wallets"
|
|
21
22
|
}
|
|
22
23
|
export declare function ExportModelEnumFromJSON(json: any): ExportModelEnum;
|
|
23
24
|
export declare function ExportModelEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExportModelEnum;
|
|
@@ -21,6 +21,7 @@ var ExportModelEnum;
|
|
|
21
21
|
ExportModelEnum["Users"] = "users";
|
|
22
22
|
ExportModelEnum["Visits"] = "visits";
|
|
23
23
|
ExportModelEnum["BusinessAccountActivity"] = "businessAccountActivity";
|
|
24
|
+
ExportModelEnum["Wallets"] = "wallets";
|
|
24
25
|
})(ExportModelEnum || (ExportModelEnum = {}));
|
|
25
26
|
function ExportModelEnumFromJSON(json) {
|
|
26
27
|
return ExportModelEnumFromJSONTyped(json);
|
package/src/models/index.d.ts
CHANGED
|
@@ -290,6 +290,7 @@ export * from './Export';
|
|
|
290
290
|
export * from './ExportAleoViewKeyRequest';
|
|
291
291
|
export * from './ExportCreateRequest';
|
|
292
292
|
export * from './ExportCreateRequestFilter';
|
|
293
|
+
export * from './ExportCreateRequestFilterWallets';
|
|
293
294
|
export * from './ExportEmbeddedWalletResponse';
|
|
294
295
|
export * from './ExportFormatEnum';
|
|
295
296
|
export * from './ExportModelEnum';
|