@dynamic-labs/sdk-api 0.76.0 → 0.78.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/apis/AdminActionsApi.cjs +1 -0
- package/src/apis/AdminActionsApi.js +1 -0
- package/src/apis/AllowlistsApi.cjs +1 -0
- package/src/apis/AllowlistsApi.js +1 -0
- package/src/apis/AnalyticsApi.cjs +1 -0
- package/src/apis/AnalyticsApi.js +1 -0
- package/src/apis/AuthorizedClientsApi.cjs +1 -0
- package/src/apis/AuthorizedClientsApi.js +1 -0
- package/src/apis/BusinessAccountsApi.cjs +1 -0
- package/src/apis/BusinessAccountsApi.js +1 -0
- package/src/apis/CaptchaApi.cjs +1 -0
- package/src/apis/CaptchaApi.js +1 -0
- package/src/apis/ChainalysisApi.cjs +1 -0
- package/src/apis/ChainalysisApi.js +1 -0
- package/src/apis/ChainsApi.cjs +1 -0
- package/src/apis/ChainsApi.js +1 -0
- package/src/apis/CheckoutApi.cjs +1 -0
- package/src/apis/CheckoutApi.js +1 -0
- package/src/apis/ClientGrantApi.cjs +1 -0
- package/src/apis/ClientGrantApi.js +1 -0
- package/src/apis/CustomFieldsApi.cjs +1 -0
- package/src/apis/CustomFieldsApi.js +1 -0
- package/src/apis/CustomHostnamesApi.cjs +1 -0
- package/src/apis/CustomHostnamesApi.js +1 -0
- package/src/apis/CustomNetworksApi.cjs +1 -0
- package/src/apis/CustomNetworksApi.js +1 -0
- package/src/apis/DeeplinkUrlsApi.cjs +1 -0
- package/src/apis/DeeplinkUrlsApi.js +1 -0
- package/src/apis/EnvironmentsApi.cjs +1 -0
- package/src/apis/EnvironmentsApi.js +1 -0
- package/src/apis/EventsApi.cjs +1 -0
- package/src/apis/EventsApi.js +1 -0
- package/src/apis/ExchangesApi.cjs +1 -0
- package/src/apis/ExchangesApi.js +1 -0
- package/src/apis/ExportsApi.cjs +1 -0
- package/src/apis/ExportsApi.js +1 -0
- package/src/apis/ExternalJwtApi.cjs +1 -0
- package/src/apis/ExternalJwtApi.js +1 -0
- package/src/apis/FlowAnalyticsApi.cjs +1 -0
- package/src/apis/FlowAnalyticsApi.js +1 -0
- package/src/apis/GaslessApi.cjs +1 -0
- package/src/apis/GaslessApi.js +1 -0
- package/src/apis/GatesApi.cjs +1 -0
- package/src/apis/GatesApi.js +1 -0
- package/src/apis/GlobalWalletAccessControlApi.cjs +1 -0
- package/src/apis/GlobalWalletAccessControlApi.js +1 -0
- package/src/apis/GlobalWalletConnectionsApi.cjs +1 -0
- package/src/apis/GlobalWalletConnectionsApi.js +1 -0
- package/src/apis/GlobalWalletsApi.cjs +1 -0
- package/src/apis/GlobalWalletsApi.js +1 -0
- package/src/apis/InvitesApi.cjs +1 -0
- package/src/apis/InvitesApi.js +1 -0
- package/src/apis/KybApi.cjs +1 -0
- package/src/apis/KybApi.js +1 -0
- package/src/apis/MembersApi.cjs +1 -0
- package/src/apis/MembersApi.js +1 -0
- package/src/apis/MfaSettingsApi.cjs +1 -0
- package/src/apis/MfaSettingsApi.js +1 -0
- package/src/apis/NameServicesApi.cjs +1 -0
- package/src/apis/NameServicesApi.js +1 -0
- package/src/apis/OrganizationSettingsApi.cjs +1 -0
- package/src/apis/OrganizationSettingsApi.js +1 -0
- package/src/apis/OrganizationsApi.cjs +1 -0
- package/src/apis/OrganizationsApi.js +1 -0
- package/src/apis/OriginsApi.cjs +1 -0
- package/src/apis/OriginsApi.js +1 -0
- package/src/apis/ProjectsApi.cjs +1 -0
- package/src/apis/ProjectsApi.js +1 -0
- package/src/apis/ProvidersApi.cjs +1 -0
- package/src/apis/ProvidersApi.js +1 -0
- package/src/apis/SDKApi.cjs +281 -4
- package/src/apis/SDKApi.d.ts +122 -5
- package/src/apis/SDKApi.js +281 -4
- package/src/apis/SDKViewsApi.cjs +1 -0
- package/src/apis/SDKViewsApi.js +1 -0
- package/src/apis/ScreeningPoliciesApi.cjs +1 -0
- package/src/apis/ScreeningPoliciesApi.js +1 -0
- package/src/apis/ServerApi.cjs +1 -0
- package/src/apis/ServerApi.js +1 -0
- package/src/apis/SessionsApi.cjs +1 -0
- package/src/apis/SessionsApi.js +1 -0
- package/src/apis/TestAccountApi.cjs +1 -0
- package/src/apis/TestAccountApi.js +1 -0
- package/src/apis/TokensApi.cjs +1 -0
- package/src/apis/TokensApi.js +1 -0
- package/src/apis/UserApiTokensApi.cjs +1 -0
- package/src/apis/UserApiTokensApi.js +1 -0
- package/src/apis/UsersApi.cjs +1 -0
- package/src/apis/UsersApi.js +1 -0
- package/src/apis/VisitsApi.cjs +1 -0
- package/src/apis/VisitsApi.js +1 -0
- package/src/apis/WaasApi.cjs +5 -4
- package/src/apis/WaasApi.d.ts +4 -4
- package/src/apis/WaasApi.js +5 -4
- package/src/apis/WalletConnectApi.cjs +1 -0
- package/src/apis/WalletConnectApi.js +1 -0
- package/src/apis/WalletsApi.cjs +1 -0
- package/src/apis/WalletsApi.js +1 -0
- package/src/apis/WebhooksApi.cjs +1 -0
- package/src/apis/WebhooksApi.js +1 -0
- package/src/apis/YieldApi.cjs +1 -0
- package/src/apis/YieldApi.js +1 -0
- package/src/apis/ZendeskApi.cjs +1 -0
- package/src/apis/ZendeskApi.js +1 -0
- package/src/index.cjs +16 -0
- package/src/index.js +3 -0
- package/src/models/BusinessAccountActivityExport.cjs +53 -0
- package/src/models/BusinessAccountActivityExport.d.ts +66 -0
- package/src/models/BusinessAccountActivityExport.js +47 -0
- package/src/models/BusinessAccountActivityExportRequest.cjs +38 -0
- package/src/models/BusinessAccountActivityExportRequest.d.ts +40 -0
- package/src/models/BusinessAccountActivityExportRequest.js +32 -0
- package/src/models/Export.cjs +2 -0
- package/src/models/Export.d.ts +6 -0
- package/src/models/Export.js +2 -0
- package/src/models/ExportCreateRequest.cjs +4 -0
- package/src/models/ExportCreateRequest.d.ts +7 -0
- package/src/models/ExportCreateRequest.js +4 -0
- package/src/models/ExportCreateRequestFilter.cjs +44 -0
- package/src/models/ExportCreateRequestFilter.d.ts +62 -0
- package/src/models/ExportCreateRequestFilter.js +38 -0
- package/src/models/ExportModelEnum.cjs +1 -0
- package/src/models/ExportModelEnum.d.ts +2 -1
- package/src/models/ExportModelEnum.js +1 -0
- package/src/models/index.d.ts +3 -0
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
var BusinessAccountActionEnum = require('./BusinessAccountActionEnum.cjs');
|
|
7
|
+
|
|
8
|
+
/* tslint:disable */
|
|
9
|
+
function BusinessAccountActivityExportRequestFromJSON(json) {
|
|
10
|
+
return BusinessAccountActivityExportRequestFromJSONTyped(json);
|
|
11
|
+
}
|
|
12
|
+
function BusinessAccountActivityExportRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
13
|
+
if ((json === undefined) || (json === null)) {
|
|
14
|
+
return json;
|
|
15
|
+
}
|
|
16
|
+
return {
|
|
17
|
+
'from': !runtime.exists(json, 'from') ? undefined : (new Date(json['from'])),
|
|
18
|
+
'to': !runtime.exists(json, 'to') ? undefined : (new Date(json['to'])),
|
|
19
|
+
'actions': !runtime.exists(json, 'actions') ? undefined : (json['actions'].map(BusinessAccountActionEnum.BusinessAccountActionEnumFromJSON)),
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
function BusinessAccountActivityExportRequestToJSON(value) {
|
|
23
|
+
if (value === undefined) {
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
26
|
+
if (value === null) {
|
|
27
|
+
return null;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'from': value.from === undefined ? undefined : (value.from.toISOString()),
|
|
31
|
+
'to': value.to === undefined ? undefined : (value.to.toISOString()),
|
|
32
|
+
'actions': value.actions === undefined ? undefined : (value.actions.map(BusinessAccountActionEnum.BusinessAccountActionEnumToJSON)),
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
exports.BusinessAccountActivityExportRequestFromJSON = BusinessAccountActivityExportRequestFromJSON;
|
|
37
|
+
exports.BusinessAccountActivityExportRequestFromJSONTyped = BusinessAccountActivityExportRequestFromJSONTyped;
|
|
38
|
+
exports.BusinessAccountActivityExportRequestToJSON = BusinessAccountActivityExportRequestToJSON;
|
|
@@ -0,0 +1,40 @@
|
|
|
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
|
+
import { BusinessAccountActionEnum } from './BusinessAccountActionEnum';
|
|
13
|
+
/**
|
|
14
|
+
* Filters for a business account activity CSV export. All optional.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface BusinessAccountActivityExportRequest
|
|
17
|
+
*/
|
|
18
|
+
export interface BusinessAccountActivityExportRequest {
|
|
19
|
+
/**
|
|
20
|
+
* Only include entries at or after this timestamp
|
|
21
|
+
* @type {Date}
|
|
22
|
+
* @memberof BusinessAccountActivityExportRequest
|
|
23
|
+
*/
|
|
24
|
+
from?: Date;
|
|
25
|
+
/**
|
|
26
|
+
* Only include entries at or before this timestamp
|
|
27
|
+
* @type {Date}
|
|
28
|
+
* @memberof BusinessAccountActivityExportRequest
|
|
29
|
+
*/
|
|
30
|
+
to?: Date;
|
|
31
|
+
/**
|
|
32
|
+
* Only include these audited actions
|
|
33
|
+
* @type {Array<BusinessAccountActionEnum>}
|
|
34
|
+
* @memberof BusinessAccountActivityExportRequest
|
|
35
|
+
*/
|
|
36
|
+
actions?: Array<BusinessAccountActionEnum>;
|
|
37
|
+
}
|
|
38
|
+
export declare function BusinessAccountActivityExportRequestFromJSON(json: any): BusinessAccountActivityExportRequest;
|
|
39
|
+
export declare function BusinessAccountActivityExportRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): BusinessAccountActivityExportRequest;
|
|
40
|
+
export declare function BusinessAccountActivityExportRequestToJSON(value?: BusinessAccountActivityExportRequest | null): any;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { BusinessAccountActionEnumFromJSON, BusinessAccountActionEnumToJSON } from './BusinessAccountActionEnum.js';
|
|
3
|
+
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
function BusinessAccountActivityExportRequestFromJSON(json) {
|
|
6
|
+
return BusinessAccountActivityExportRequestFromJSONTyped(json);
|
|
7
|
+
}
|
|
8
|
+
function BusinessAccountActivityExportRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
9
|
+
if ((json === undefined) || (json === null)) {
|
|
10
|
+
return json;
|
|
11
|
+
}
|
|
12
|
+
return {
|
|
13
|
+
'from': !exists(json, 'from') ? undefined : (new Date(json['from'])),
|
|
14
|
+
'to': !exists(json, 'to') ? undefined : (new Date(json['to'])),
|
|
15
|
+
'actions': !exists(json, 'actions') ? undefined : (json['actions'].map(BusinessAccountActionEnumFromJSON)),
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
function BusinessAccountActivityExportRequestToJSON(value) {
|
|
19
|
+
if (value === undefined) {
|
|
20
|
+
return undefined;
|
|
21
|
+
}
|
|
22
|
+
if (value === null) {
|
|
23
|
+
return null;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'from': value.from === undefined ? undefined : (value.from.toISOString()),
|
|
27
|
+
'to': value.to === undefined ? undefined : (value.to.toISOString()),
|
|
28
|
+
'actions': value.actions === undefined ? undefined : (value.actions.map(BusinessAccountActionEnumToJSON)),
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export { BusinessAccountActivityExportRequestFromJSON, BusinessAccountActivityExportRequestFromJSONTyped, BusinessAccountActivityExportRequestToJSON };
|
package/src/models/Export.cjs
CHANGED
|
@@ -20,6 +20,7 @@ function ExportFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
20
20
|
'format': ExportFormatEnum.ExportFormatEnumFromJSON(json['format']),
|
|
21
21
|
'model': ExportModelEnum.ExportModelEnumFromJSON(json['model']),
|
|
22
22
|
'status': ExportStatusEnum.ExportStatusEnumFromJSON(json['status']),
|
|
23
|
+
'filter': !runtime.exists(json, 'filter') ? undefined : json['filter'],
|
|
23
24
|
'createdAt': (new Date(json['createdAt'])),
|
|
24
25
|
'startedAt': !runtime.exists(json, 'startedAt') ? undefined : (json['startedAt'] === null ? null : new Date(json['startedAt'])),
|
|
25
26
|
'completedAt': !runtime.exists(json, 'completedAt') ? undefined : (json['completedAt'] === null ? null : new Date(json['completedAt'])),
|
|
@@ -39,6 +40,7 @@ function ExportToJSON(value) {
|
|
|
39
40
|
'format': ExportFormatEnum.ExportFormatEnumToJSON(value.format),
|
|
40
41
|
'model': ExportModelEnum.ExportModelEnumToJSON(value.model),
|
|
41
42
|
'status': ExportStatusEnum.ExportStatusEnumToJSON(value.status),
|
|
43
|
+
'filter': value.filter,
|
|
42
44
|
'createdAt': (value.createdAt.toISOString()),
|
|
43
45
|
'startedAt': value.startedAt === undefined ? undefined : (value.startedAt === null ? null : value.startedAt.toISOString()),
|
|
44
46
|
'completedAt': value.completedAt === undefined ? undefined : (value.completedAt === null ? null : value.completedAt.toISOString()),
|
package/src/models/Export.d.ts
CHANGED
|
@@ -42,6 +42,12 @@ export interface Export {
|
|
|
42
42
|
* @memberof Export
|
|
43
43
|
*/
|
|
44
44
|
status: ExportStatusEnum;
|
|
45
|
+
/**
|
|
46
|
+
* Filter criteria the export was requested with
|
|
47
|
+
* @type {object}
|
|
48
|
+
* @memberof Export
|
|
49
|
+
*/
|
|
50
|
+
filter?: object;
|
|
45
51
|
/**
|
|
46
52
|
* ISO 8601 timestamp of when the export was requested
|
|
47
53
|
* @type {Date}
|
package/src/models/Export.js
CHANGED
|
@@ -16,6 +16,7 @@ function ExportFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
16
16
|
'format': ExportFormatEnumFromJSON(json['format']),
|
|
17
17
|
'model': ExportModelEnumFromJSON(json['model']),
|
|
18
18
|
'status': ExportStatusEnumFromJSON(json['status']),
|
|
19
|
+
'filter': !exists(json, 'filter') ? undefined : json['filter'],
|
|
19
20
|
'createdAt': (new Date(json['createdAt'])),
|
|
20
21
|
'startedAt': !exists(json, 'startedAt') ? undefined : (json['startedAt'] === null ? null : new Date(json['startedAt'])),
|
|
21
22
|
'completedAt': !exists(json, 'completedAt') ? undefined : (json['completedAt'] === null ? null : new Date(json['completedAt'])),
|
|
@@ -35,6 +36,7 @@ function ExportToJSON(value) {
|
|
|
35
36
|
'format': ExportFormatEnumToJSON(value.format),
|
|
36
37
|
'model': ExportModelEnumToJSON(value.model),
|
|
37
38
|
'status': ExportStatusEnumToJSON(value.status),
|
|
39
|
+
'filter': value.filter,
|
|
38
40
|
'createdAt': (value.createdAt.toISOString()),
|
|
39
41
|
'startedAt': value.startedAt === undefined ? undefined : (value.startedAt === null ? null : value.startedAt.toISOString()),
|
|
40
42
|
'completedAt': value.completedAt === undefined ? undefined : (value.completedAt === null ? null : value.completedAt.toISOString()),
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
var ExportCreateRequestFilter = require('./ExportCreateRequestFilter.cjs');
|
|
5
7
|
var ExportFormatEnum = require('./ExportFormatEnum.cjs');
|
|
6
8
|
var ExportModelEnum = require('./ExportModelEnum.cjs');
|
|
7
9
|
|
|
@@ -16,6 +18,7 @@ function ExportCreateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
16
18
|
return {
|
|
17
19
|
'format': ExportFormatEnum.ExportFormatEnumFromJSON(json['format']),
|
|
18
20
|
'model': ExportModelEnum.ExportModelEnumFromJSON(json['model']),
|
|
21
|
+
'filter': !runtime.exists(json, 'filter') ? undefined : ExportCreateRequestFilter.ExportCreateRequestFilterFromJSON(json['filter']),
|
|
19
22
|
};
|
|
20
23
|
}
|
|
21
24
|
function ExportCreateRequestToJSON(value) {
|
|
@@ -28,6 +31,7 @@ function ExportCreateRequestToJSON(value) {
|
|
|
28
31
|
return {
|
|
29
32
|
'format': ExportFormatEnum.ExportFormatEnumToJSON(value.format),
|
|
30
33
|
'model': ExportModelEnum.ExportModelEnumToJSON(value.model),
|
|
34
|
+
'filter': ExportCreateRequestFilter.ExportCreateRequestFilterToJSON(value.filter),
|
|
31
35
|
};
|
|
32
36
|
}
|
|
33
37
|
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { ExportCreateRequestFilter } from './ExportCreateRequestFilter';
|
|
12
13
|
import { ExportFormatEnum } from './ExportFormatEnum';
|
|
13
14
|
import { ExportModelEnum } from './ExportModelEnum';
|
|
14
15
|
/**
|
|
@@ -29,6 +30,12 @@ export interface ExportCreateRequest {
|
|
|
29
30
|
* @memberof ExportCreateRequest
|
|
30
31
|
*/
|
|
31
32
|
model: ExportModelEnum;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {ExportCreateRequestFilter}
|
|
36
|
+
* @memberof ExportCreateRequest
|
|
37
|
+
*/
|
|
38
|
+
filter?: ExportCreateRequestFilter;
|
|
32
39
|
}
|
|
33
40
|
export declare function ExportCreateRequestFromJSON(json: any): ExportCreateRequest;
|
|
34
41
|
export declare function ExportCreateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExportCreateRequest;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { ExportCreateRequestFilterFromJSON, ExportCreateRequestFilterToJSON } from './ExportCreateRequestFilter.js';
|
|
1
3
|
import { ExportFormatEnumFromJSON, ExportFormatEnumToJSON } from './ExportFormatEnum.js';
|
|
2
4
|
import { ExportModelEnumFromJSON, ExportModelEnumToJSON } from './ExportModelEnum.js';
|
|
3
5
|
|
|
@@ -12,6 +14,7 @@ function ExportCreateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
12
14
|
return {
|
|
13
15
|
'format': ExportFormatEnumFromJSON(json['format']),
|
|
14
16
|
'model': ExportModelEnumFromJSON(json['model']),
|
|
17
|
+
'filter': !exists(json, 'filter') ? undefined : ExportCreateRequestFilterFromJSON(json['filter']),
|
|
15
18
|
};
|
|
16
19
|
}
|
|
17
20
|
function ExportCreateRequestToJSON(value) {
|
|
@@ -24,6 +27,7 @@ function ExportCreateRequestToJSON(value) {
|
|
|
24
27
|
return {
|
|
25
28
|
'format': ExportFormatEnumToJSON(value.format),
|
|
26
29
|
'model': ExportModelEnumToJSON(value.model),
|
|
30
|
+
'filter': ExportCreateRequestFilterToJSON(value.filter),
|
|
27
31
|
};
|
|
28
32
|
}
|
|
29
33
|
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
var BusinessAccountActionEnum = require('./BusinessAccountActionEnum.cjs');
|
|
7
|
+
|
|
8
|
+
/* tslint:disable */
|
|
9
|
+
function ExportCreateRequestFilterFromJSON(json) {
|
|
10
|
+
return ExportCreateRequestFilterFromJSONTyped(json);
|
|
11
|
+
}
|
|
12
|
+
function ExportCreateRequestFilterFromJSONTyped(json, ignoreDiscriminator) {
|
|
13
|
+
if ((json === undefined) || (json === null)) {
|
|
14
|
+
return json;
|
|
15
|
+
}
|
|
16
|
+
return {
|
|
17
|
+
'users': !runtime.exists(json, 'users') ? undefined : json['users'],
|
|
18
|
+
'visits': !runtime.exists(json, 'visits') ? undefined : json['visits'],
|
|
19
|
+
'businessAccountId': !runtime.exists(json, 'businessAccountId') ? undefined : json['businessAccountId'],
|
|
20
|
+
'from': !runtime.exists(json, 'from') ? undefined : (new Date(json['from'])),
|
|
21
|
+
'to': !runtime.exists(json, 'to') ? undefined : (new Date(json['to'])),
|
|
22
|
+
'actions': !runtime.exists(json, 'actions') ? undefined : (json['actions'].map(BusinessAccountActionEnum.BusinessAccountActionEnumFromJSON)),
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
function ExportCreateRequestFilterToJSON(value) {
|
|
26
|
+
if (value === undefined) {
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
if (value === null) {
|
|
30
|
+
return null;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'users': value.users,
|
|
34
|
+
'visits': value.visits,
|
|
35
|
+
'businessAccountId': value.businessAccountId,
|
|
36
|
+
'from': value.from === undefined ? undefined : (value.from.toISOString()),
|
|
37
|
+
'to': value.to === undefined ? undefined : (value.to.toISOString()),
|
|
38
|
+
'actions': value.actions === undefined ? undefined : (value.actions.map(BusinessAccountActionEnum.BusinessAccountActionEnumToJSON)),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
exports.ExportCreateRequestFilterFromJSON = ExportCreateRequestFilterFromJSON;
|
|
43
|
+
exports.ExportCreateRequestFilterFromJSONTyped = ExportCreateRequestFilterFromJSONTyped;
|
|
44
|
+
exports.ExportCreateRequestFilterToJSON = ExportCreateRequestFilterToJSON;
|
|
@@ -0,0 +1,62 @@
|
|
|
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
|
+
import { BusinessAccountActionEnum } from './BusinessAccountActionEnum';
|
|
13
|
+
/**
|
|
14
|
+
* Model-specific filter criteria. For `businessAccountActivity`: `businessAccountId` (required), `from`/`to` (date-time), and `actions` (array of BusinessAccountActionEnum) are supported.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ExportCreateRequestFilter
|
|
17
|
+
*/
|
|
18
|
+
export interface ExportCreateRequestFilter {
|
|
19
|
+
/**
|
|
20
|
+
* User export filters
|
|
21
|
+
* @type {{ [key: string]: object; }}
|
|
22
|
+
* @memberof ExportCreateRequestFilter
|
|
23
|
+
*/
|
|
24
|
+
users?: {
|
|
25
|
+
[key: string]: object;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* Visit export filters
|
|
29
|
+
* @type {{ [key: string]: object; }}
|
|
30
|
+
* @memberof ExportCreateRequestFilter
|
|
31
|
+
*/
|
|
32
|
+
visits?: {
|
|
33
|
+
[key: string]: object;
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof ExportCreateRequestFilter
|
|
39
|
+
*/
|
|
40
|
+
businessAccountId?: string;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {Date}
|
|
44
|
+
* @memberof ExportCreateRequestFilter
|
|
45
|
+
*/
|
|
46
|
+
from?: Date;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {Date}
|
|
50
|
+
* @memberof ExportCreateRequestFilter
|
|
51
|
+
*/
|
|
52
|
+
to?: Date;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {Array<BusinessAccountActionEnum>}
|
|
56
|
+
* @memberof ExportCreateRequestFilter
|
|
57
|
+
*/
|
|
58
|
+
actions?: Array<BusinessAccountActionEnum>;
|
|
59
|
+
}
|
|
60
|
+
export declare function ExportCreateRequestFilterFromJSON(json: any): ExportCreateRequestFilter;
|
|
61
|
+
export declare function ExportCreateRequestFilterFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExportCreateRequestFilter;
|
|
62
|
+
export declare function ExportCreateRequestFilterToJSON(value?: ExportCreateRequestFilter | null): any;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { BusinessAccountActionEnumFromJSON, BusinessAccountActionEnumToJSON } from './BusinessAccountActionEnum.js';
|
|
3
|
+
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
function ExportCreateRequestFilterFromJSON(json) {
|
|
6
|
+
return ExportCreateRequestFilterFromJSONTyped(json);
|
|
7
|
+
}
|
|
8
|
+
function ExportCreateRequestFilterFromJSONTyped(json, ignoreDiscriminator) {
|
|
9
|
+
if ((json === undefined) || (json === null)) {
|
|
10
|
+
return json;
|
|
11
|
+
}
|
|
12
|
+
return {
|
|
13
|
+
'users': !exists(json, 'users') ? undefined : json['users'],
|
|
14
|
+
'visits': !exists(json, 'visits') ? undefined : json['visits'],
|
|
15
|
+
'businessAccountId': !exists(json, 'businessAccountId') ? undefined : json['businessAccountId'],
|
|
16
|
+
'from': !exists(json, 'from') ? undefined : (new Date(json['from'])),
|
|
17
|
+
'to': !exists(json, 'to') ? undefined : (new Date(json['to'])),
|
|
18
|
+
'actions': !exists(json, 'actions') ? undefined : (json['actions'].map(BusinessAccountActionEnumFromJSON)),
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
function ExportCreateRequestFilterToJSON(value) {
|
|
22
|
+
if (value === undefined) {
|
|
23
|
+
return undefined;
|
|
24
|
+
}
|
|
25
|
+
if (value === null) {
|
|
26
|
+
return null;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'users': value.users,
|
|
30
|
+
'visits': value.visits,
|
|
31
|
+
'businessAccountId': value.businessAccountId,
|
|
32
|
+
'from': value.from === undefined ? undefined : (value.from.toISOString()),
|
|
33
|
+
'to': value.to === undefined ? undefined : (value.to.toISOString()),
|
|
34
|
+
'actions': value.actions === undefined ? undefined : (value.actions.map(BusinessAccountActionEnumToJSON)),
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export { ExportCreateRequestFilterFromJSON, ExportCreateRequestFilterFromJSONTyped, ExportCreateRequestFilterToJSON };
|
|
@@ -24,6 +24,7 @@ exports.ExportModelEnum = void 0;
|
|
|
24
24
|
(function (ExportModelEnum) {
|
|
25
25
|
ExportModelEnum["Users"] = "users";
|
|
26
26
|
ExportModelEnum["Visits"] = "visits";
|
|
27
|
+
ExportModelEnum["BusinessAccountActivity"] = "businessAccountActivity";
|
|
27
28
|
})(exports.ExportModelEnum || (exports.ExportModelEnum = {}));
|
|
28
29
|
function ExportModelEnumFromJSON(json) {
|
|
29
30
|
return ExportModelEnumFromJSONTyped(json);
|
|
@@ -16,7 +16,8 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export declare enum ExportModelEnum {
|
|
18
18
|
Users = "users",
|
|
19
|
-
Visits = "visits"
|
|
19
|
+
Visits = "visits",
|
|
20
|
+
BusinessAccountActivity = "businessAccountActivity"
|
|
20
21
|
}
|
|
21
22
|
export declare function ExportModelEnumFromJSON(json: any): ExportModelEnum;
|
|
22
23
|
export declare function ExportModelEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExportModelEnum;
|
|
@@ -20,6 +20,7 @@ var ExportModelEnum;
|
|
|
20
20
|
(function (ExportModelEnum) {
|
|
21
21
|
ExportModelEnum["Users"] = "users";
|
|
22
22
|
ExportModelEnum["Visits"] = "visits";
|
|
23
|
+
ExportModelEnum["BusinessAccountActivity"] = "businessAccountActivity";
|
|
23
24
|
})(ExportModelEnum || (ExportModelEnum = {}));
|
|
24
25
|
function ExportModelEnumFromJSON(json) {
|
|
25
26
|
return ExportModelEnumFromJSONTyped(json);
|
package/src/models/index.d.ts
CHANGED
|
@@ -85,6 +85,8 @@ export * from './BulkUserCreateResponseFailed';
|
|
|
85
85
|
export * from './BusinessAccount';
|
|
86
86
|
export * from './BusinessAccountActionEnum';
|
|
87
87
|
export * from './BusinessAccountActivityEntry';
|
|
88
|
+
export * from './BusinessAccountActivityExport';
|
|
89
|
+
export * from './BusinessAccountActivityExportRequest';
|
|
88
90
|
export * from './BusinessAccountActivityResponse';
|
|
89
91
|
export * from './BusinessAccountAdminDetail';
|
|
90
92
|
export * from './BusinessAccountAdminDetailAllOf';
|
|
@@ -274,6 +276,7 @@ export * from './ExchangeUpdateRequest';
|
|
|
274
276
|
export * from './Export';
|
|
275
277
|
export * from './ExportAleoViewKeyRequest';
|
|
276
278
|
export * from './ExportCreateRequest';
|
|
279
|
+
export * from './ExportCreateRequestFilter';
|
|
277
280
|
export * from './ExportEmbeddedWalletResponse';
|
|
278
281
|
export * from './ExportFormatEnum';
|
|
279
282
|
export * from './ExportModelEnum';
|